CVE-2026-122158: InvoiceShelf improper access control in member company assignment

CVE-2026-122158 · Severity: medium · CVSS 4.7 · Published 2026-11-05

InvoiceShelf is an open-source invoicing solution used by individuals and businesses to manage financial documents. A flaw in the member creation function allows an attacker to manipulate company assignments and roles, potentially gaining unauthorized access to companies they do not own. This could lead to unauthorized financial data exposure or modification.

Technologies: Invoiceshelf. Vendors: Invoiceshelf.

Quick answers

Is CVE-2026-122158 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-122158 being exploited in the wild.
How severe is CVE-2026-122158?
Medium severity, with a CVSS score of 4.7, published 5 November 2026.
Which products and versions are affected?
Invoiceshelf up to 2.4.3 and 3.0.0-alpha.3.
Is there a fix for CVE-2026-122158?
Yes: fixed in 2.4.4, 3.0.0-alpha.4. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-122158 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-122158?
Check whether you run Invoiceshelf at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: 2.4.4, 3.0.0-alpha.4

Technical details

The MemberService::create function in app/Domains/Accounts/Application/MemberService.php improperly validates the companies[].id and companies[].role parameters, allowing an authenticated attacker to assign members to arbitrary companies or modify roles without proper authorization checks. The vulnerability requires remote network access and can be exploited by a user with member creation privileges to escalate access across company boundaries.

Affected products

  • InvoiceShelf InvoiceShelf up to 2.4.3 and 3.0.0-alpha.3

Timeline

  • 2026-11-05: disclosed
  • 2026-09-23: patched: Commit c798b513c3ab6e672a1678774720fbb282f4d0c6 merged

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.