{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.4.0"
                  },
                  {
                    "last_affected": "2.4.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.4.1"
                  },
                  {
                    "last_affected": "2.4.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.4.2"
                  },
                  {
                    "last_affected": "2.4.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.4.3"
                  },
                  {
                    "last_affected": "2.4.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "3.0.0-alpha.1"
                  },
                  {
                    "last_affected": "3.0.0-alpha.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "3.0.0-alpha.2"
                  },
                  {
                    "last_affected": "3.0.0-alpha.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "3.0.0-alpha.3"
                  },
                  {
                    "last_affected": "3.0.0-alpha.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "fixed": "c798b513c3ab6e672a1678774720fbb282f4d0c6"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "3.0.0-alpha.4",
                "range": [
                  {
                    "fixed": "ee457a525431b7e56c5668cf34048cea96e040ea"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "e3ab12ad773749668dc64e029d265a8440e21477"
            },
            {
              "fixed": "c798b513c3ab6e672a1678774720fbb282f4d0c6"
            },
            {
              "fixed": "ee457a525431b7e56c5668cf34048cea96e040ea"
            }
          ],
          "repo": "https://github.com/invoiceshelf/invoiceshelf",
          "type": "GIT"
        }
      ],
      "versions": [
        "2.4.0",
        "2.4.1",
        "2.4.2",
        "2.4.3",
        "3.0.0-alpha.1",
        "3.0.0-alpha.2",
        "3.0.0-alpha.3"
      ]
    }
  ],
  "aliases": [
    "GHSA-c9cx-7r7m-264v"
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-266",
      "CWE-284"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122158.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "3.0.0-alpha.0"
              },
              {
                "last_affected": "3.0.0-alpha.0"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandaloneSingleVersion"
          }
        ]
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2026-122158",
  "modified": "2026-11-07T02:30:46.163437552Z",
  "published": "2026-11-05T02:00:29.677Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/InvoiceShelf/InvoiceShelf/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122158.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/InvoiceShelf/InvoiceShelf/security/advisories/GHSA-c9cx-7r7m-264v"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-122158"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/cve/CVE-2026-122158"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/1028117"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/431158"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/431158/cti"
    },
    {
      "type": "FIX",
      "url": "https://github.com/InvoiceShelf/InvoiceShelf/commit/c798b513c3ab6e672a1678774720fbb282f4d0c6"
    },
    {
      "type": "FIX",
      "url": "https://github.com/InvoiceShelf/InvoiceShelf/pull/822"
    },
    {
      "type": "FIX",
      "url": "https://github.com/InvoiceShelf/InvoiceShelf/releases/tag/3.0.0-alpha.4"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/capivara-research/GHSA-c9cx-7r7m-264v"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "InvoiceShelf MemberService.php create access control"
}