{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "5.30.3"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "bf3b5c2ba713e533014927141b64948c82c8f32e"
            },
            {
              "fixed": "f5ff30ad175bd2edf02cd28872653c1cda5867b7"
            },
            {
              "fixed": "0d00e29608491e75c9262a0e6a8022e419ac1d8a"
            }
          ],
          "repo": "https://github.com/prowler-cloud/prowler",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-h8m9-jgf8-vwvp"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-287"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59151.json"
  },
  "details": "Prowler is a cloud security platform. Prior to 5.30.3, Prowler's SAML authentication flow trusted the email domain asserted in a SAMLResponse when deciding which tenant should receive the final token, and the ACS finish logic in api/src/backend/api/v1/views.py recalculated the tenant from user.email instead of binding token issuance to the validated SAML configuration. An authenticated attacker with a controlled SAML IdP could complete a valid SAML flow for an attacker-controlled domain while asserting an email address from another configured domain, causing a SAMLToken and tenant-scoped JWT to be issued for the wrong tenant and enabling cross-tenant account takeover. This issue is fixed in version 5.30.3.",
  "id": "CVE-2026-59151",
  "modified": "2026-07-16T03:31:16.090581552Z",
  "published": "2026-07-10T17:50:07.303Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/prowler-cloud/prowler/releases/tag/5.30.3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59151.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/prowler-cloud/prowler/security/advisories/GHSA-h8m9-jgf8-vwvp"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-59151"
    },
    {
      "type": "FIX",
      "url": "https://github.com/prowler-cloud/prowler/commit/bf3b5c2ba713e533014927141b64948c82c8f32e"
    },
    {
      "type": "FIX",
      "url": "https://github.com/prowler-cloud/prowler/commit/f5ff30ad175bd2edf02cd28872653c1cda5867b7"
    },
    {
      "type": "FIX",
      "url": "https://github.com/prowler-cloud/prowler/pull/11650"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Prowler: SAML Domain Claiming Enables Cross-Tenant Account Takeover"
}