CVE-2026-122158 · Other
NO FIX YET · SEE WHAT TO DO
InvoiceShelf, an open-source invoicing application, has an improper access control flaw in its member creation logic that accepts manipulated company IDs and roles. A remote attacker may be able to grant themselves access to companies they should not control.
first public Sep 23, 2026 · 1 source
Check it with your coding agent
It checks your repository and tells you if you’re affected, with the fix.
Teams that self-host InvoiceShelf and let users or administrators create company members can be affected, since the flaw is in how member creation handles the companies' IDs and roles. The sources do not say whether default configurations or authenticated access are required, so treat any exposed instance as in scope. Teams using managed hosting should confirm with their provider.
Not affected if managed-hosting
Who cares invoiceshelf, laravel, php, self-hosted
2.4.3 and 3.0.0-alpha.3 are listed as affected.app/Domains/Accounts/Application/MemberService.php for the MemberService::create function.2.4.4 (2.x line).3.0.0-alpha.4 (3.x alpha line).A security flaw has been discovered in InvoiceShelf up to 2.4.3/3.0.0-alpha.3. Affected by this issue is the function MemberService::create of the file app/Domains/Accounts/Application/MemberService.php. Performing a manipulation of the argument companies[].id/companies[].role results in improper access controls. The attack is possible to be carried out remotely. The exploit has been released to the public and may be used for attacks. Upgrading to version 2.4.4 and 3.0.0-alpha.4 can resolve this issue. The patch is named c798b513c3ab6e672a1678774720fbb282f4d0c6. It is recommended to upgrade the affected component.
This page as ·
Are you affected?
Tell InfraStack what you run. It checks this one, and every next one, against your stack.
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.