{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-122158 exists.","exposure":"","fix":"No fix has been published for CVE-2026-122158 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-122158 is a medium-severity vulnerability in InvoiceShelf, published on 5 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-122158 and fix it if it is affected.\n\nWhat it is: CVE-2026-122158 is a medium-severity vulnerability in InvoiceShelf, published on 5 Nov 2026. \nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-122158 exists.\n\nAffected product: InvoiceShelf. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-122158/ (Markdown: https://insights.sbomify.com/CVE-2026-122158/index.md)","id":"CVE-2026-122158","markdown":"https://insights.sbomify.com/CVE-2026-122158/index.md","name":"CVE-2026-122158","record":{"aliases":["GHSA-c9cx-7r7m-264v","GHSA-m3f2-9g2h-fgj9"],"analysis":null,"analysis_generated_by":null,"assigner":"VulDB","cpe":[],"cvss":{"score":5.1,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"},{"id":"CWE-266","name":"Incorrect Privilege Assignment"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-11-06","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-11-06T00:17:57Z","kind":"github_poc","ref":"https://github.com/capivara-research/CVE-2026-122158","stars":0,"title":"CVE-2026-122158: InvoiceShelf cross-tenant privilege escalation analysis and safe local-lab PoC"}],"tier":"weaponised"},"has_fix":false,"headline":"InvoiceShelf MemberService.php create access control","id":"CVE-2026-122158","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2026"},"n_packages":0,"n_references":10,"next":{"headline":"Edge0-AI Audio8_TTS Model Path Resolution runtime.py ArkTtsRuntime.__init__ path traversal","id":"CVE-2026-122159"},"nickname":null,"packages":[],"prev":{"headline":"Purocean Yank Note Terminal index.ts checkPermission os command injection","id":"CVE-2026-122157"},"products":["InvoiceShelf"],"published":"2026-11-05","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-11-05","vendors":["n/a"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-122158/"}