Privilege escalation in Invoiceshelf
CVE-2026-122158
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.7 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.003 (19.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 20th percentile — 19.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
The 30-day trend appears once there are two daily scores.
Affected products
- Invoiceshelf — versions 2.4.0, 2.4.1, 2.4.2
Weakness classification (CWE)
References
- github.com/InvoiceShelf/InvoiceShelf/ (product)
- github.com/InvoiceShelf/InvoiceShelf/commit/c798b513c3ab6e672a1678774720fbb282f… (patch)
- github.com/InvoiceShelf/InvoiceShelf/pull/822 (issue-tracking, patch)
- github.com/InvoiceShelf/InvoiceShelf/releases/tag/3.0.0-alpha.4 (patch)
- github.com/InvoiceShelf/InvoiceShelf/security/advisories/GHSA-c9cx-7r7m-264v (related)
- github.com/capivara-research/GHSA-c9cx-7r7m-264v (exploit)
- vuldb.com/cve/CVE-2026-122158 (third-party-advisory)
- vuldb.com/submit/1028117 (third-party-advisory)
- vuldb.com/vuln/431158 (technical-description, vdb-entry)
- vuldb.com/vuln/431158/cti (signature, permissions-required)
Frequently asked questions
- What is CVE-2026-122158?
- CVE-2026-122158 is a medium-severity vulnerability in Invoiceshelf, classified under Incorrect Privilege Assignment. CVSS score: 4.7/10. Published 2026-11-05.
- How severe is CVE-2026-122158?
- Medium severity. CVSS v3 base score is 4.7 out of 10.