{"id":"CVE-2024-42473","aliases":["CVE-2024-42473","GHSA-3f6g-m4hr-59h8","GO-2024-3061"],"related":[],"kind":"vulnerability","state":"published","title":"OpenFGA Authorization Bypass","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Overview\n\nOpenFGA 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. \n\n## Fix\n\n- If you are using OpenFGA within Docker or as a Go library, as a binary, or through Docker, upgrade to v1.5.9 as soon as possible\n- If using Helm chart, upgrade to 0.2.12 as soon as possible. \n\nThis fix is backward compatible.","format":"markdown","source":"ghsa"},{"lang":"en","text":"OpenFGA Authorization Bypass in github.com/openfga/openfga","format":"markdown","source":"go"},{"lang":"es","text":"OpenFGA es un motor de autorización/permiso. OpenFGA v1.5.7 y v1.5.8 son vulnerables a la omisión de autorización al llamar a Check API con un modelo que usa expresiones \"pero no\" y \"de\" y un conjunto de usuarios. Los usuarios deben cambiar a la versión 1.5.6 lo antes posible. Esta degradación es compatible con versiones anteriores. Al momento de la publicación, no hay ningún parche disponible, pero los encargados de mantenimiento de OpenFGA están planeando incluirlo en una versión futura.","source":"nvd"}],"published":"2024-08-09T21:16:17.683Z","modified":"2026-06-17T07:49:31.137Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-285","CWE-863"],"affected":[{"ranges":[{"version":">=1.5.7, <= 1.5.8","status":"affected"}],"vendor":"openfga","product":"openfga","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"1.5.7","lastAffected":"1.5.8","status":"affected"}],"vendor":"openfga","product":"openfga","cpe":"cpe:2.3:a:openfga:openfga:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.5.7","status":"affected","fixed":"1.5.9"}],"ecosystem":"Go","package":"github.com/openfga/openfga","purl":"pkg:golang/github.com/openfga/openfga","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.5.7","status":"affected","fixed":"1.5.9"}],"ecosystem":"Go","package":"github.com/openfga/openfga","purl":"pkg:golang/github.com/openfga/openfga","source":"go"},{"ranges":[{"status":"affected","version":"1.5.7"},{"status":"affected","version":"1.5.8"}],"vendor":"openfga","product":"openfga","cpe":"cpe:2.3:a:openfga:openfga:1.5.7:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/openfga/openfga/security/advisories/GHSA-3f6g-m4hr-59h8","tags":["advisory","third-party-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42473","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/openfga/openfga","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-08-10T14:18:27.056Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-42473","url":"https://www.cve.org/CVERecord?id=CVE-2024-42473","licence":"CVE Terms of Use","modified":"2024-08-10T14:21:04.103Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3f6g-m4hr-59h8","url":"https://github.com/advisories/GHSA-3f6g-m4hr-59h8","licence":"CC-BY-4.0","modified":"2024-08-14T17:18:24.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-3061","url":"https://pkg.go.dev/vuln/GO-2024-3061","licence":"CC-BY-4.0","modified":"2026-03-03T04:55:41.726Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-42473","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42473","licence":"Public domain","modified":"2026-06-17T07:49:31.137Z"}],"updatedAt":"2026-11-25T22:58:44.180Z","epss":{"score":0.00527,"percentile":0.46058,"date":"2026-12-01T12:00:22.000Z"}}