{"id":"CVE-2024-42473","summary":"OpenFGA Authorization Bypass","details":"OpenFGA is an authorization/permission engine. OpenFGA v1.5.7 and v1.5.8 are vulnerable to authorization bypass when calling Check API with a model that uses `but not` and `from` expressions and a userset. Users should downgrade to v1.5.6 as soon as possible. This downgrade is backward compatible. As of time of publication, a patch is not available but OpenFGA's maintainers are planning a patch for inclusion in a future release.","aliases":["GHSA-3f6g-m4hr-59h8","GO-2024-3061"],"modified":"2026-08-12T03:51:26.123646032Z","published":"2024-08-09T21:16:17.683Z","database_specific":{"cwe_ids":["CWE-863"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42473.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42473.json"},{"type":"ADVISORY","url":"https://github.com/openfga/openfga/security/advisories/GHSA-3f6g-m4hr-59h8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42473"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openfga/openfga","events":[{"introduced":"b57290210f0ab46b4ab7dbcdde10206ec9f32c8e"},{"last_affected":"496c72d91f7a98ee74845dd7751fcdd7c29f7c4d"}],"database_specific":{"cpe":["cpe:2.3:a:openfga:openfga:1.5.7:*:*:*:*:*:*:*","cpe:2.3:a:openfga:openfga:1.5.8:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"1.5.7"},{"last_affected":"1.5.8"},{"last_affected":"1.5.7"},{"introduced":"1.5.8"}],"source":["AFFECTED_FIELD","CPE_STRING"]}}],"versions":["1.5.7","1.5.8","v1.5.8","v1.5.7"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42473.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}