CVE-2026-122158InvoiceShelf MemberService.php create access control
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- InvoiceShelf: affected: 2.4.0, 2.4.1, 2.4.2, 2.4.3, 3.0.0-alpha.0, 3.0.0-alpha.1
Vendor advisories:
- https://github.com/InvoiceShelf/InvoiceShelf/pull/822 (patch)
- https://github.com/InvoiceShelf/InvoiceShelf/commit/c798b513c3ab6e672a1678774720fbb282f4d… (patch)
- https://github.com/InvoiceShelf/InvoiceShelf/releases/tag/3.0.0-alpha.4 (patch)
References
- https://vuldb.com/vuln/431158
- https://vuldb.com/vuln/431158/cti
- https://vuldb.com/cve/CVE-2026-122158
- https://vuldb.com/submit/1028117
- https://github.com/InvoiceShelf/InvoiceShelf/security/advisories/GHSA-c9cx-7r7m-264v
- https://github.com/InvoiceShelf/InvoiceShelf/pull/822
- https://github.com/capivara-research/GHSA-c9cx-7r7m-264v
- https://github.com/InvoiceShelf/InvoiceShelf/commit/c798b513c3ab6e672a1678774720fbb282f4d0c6
- https://github.com/InvoiceShelf/InvoiceShelf/releases/tag/3.0.0-alpha.4
- https://github.com/InvoiceShelf/InvoiceShelf/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.