{"id":"CVE-2026-59151","summary":"Prowler: SAML Domain Claiming Enables Cross-Tenant Account Takeover","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.","aliases":["GHSA-h8m9-jgf8-vwvp"],"modified":"2026-07-16T03:31:16.090581552Z","published":"2026-07-10T17:50:07.303Z","database_specific":{"cwe_ids":["CWE-287"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59151.json","cna_assigner":"GitHub_M"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/prowler-cloud/prowler","events":[{"introduced":"0"},{"fixed":"bf3b5c2ba713e533014927141b64948c82c8f32e"},{"fixed":"f5ff30ad175bd2edf02cd28872653c1cda5867b7"},{"fixed":"0d00e29608491e75c9262a0e6a8022e419ac1d8a"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"5.30.3"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["5.30.2","5.30.1","5.30.0","5.1.0","5.0.0","4.0.0","3.2.0","3.1.4","3.1.2","3.1.1","3.1.0","3.0.2","3.0.1","3.0.0","2.10.0","2.9.0","2.8.1","2.8.0","2.4.1","2.4.0","2.3.0-18122020","2.3.0RC","2.2.0","2.0","1.6","1.5","1.4","1.3","1.2","1.1.1","1.1","1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59151.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N"}]}