CVE-2024-42473
CRITICAL 9.8CVSS 3.1OpenFGA Authorization Bypass
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.
- Published
- 12 Aug 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-285CWE-863
- Also known as
- GHSA-3f6g-m4hr-59h8GO-2024-3061
- Sources
- NVDJSONOSV GHSA-3f6g-m4hr-59h8JSONOSV GO-2024-3061JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openfga | openfgacpe:2.3:a:openfga:openfga:1.5.7:*:*:*:*:*:*:* |
= 1.5.7 | |
| NVD | openfga | openfgacpe:2.3:a:openfga:openfga:1.5.8:*:*:*:*:*:*:* |
= 1.5.8 | |
| OSV | Go | github.com/openfga/openfga | >= 1.5.7, < 1.5.9 | 1.5.9 |
References
- https://github.com/openfga/openfga/security/advisories/GHSA-3f6g-m4hr-59h8 · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-42473 · ADVISORY
- https://github.com/openfga/openfga · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 12 Aug 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Aug 2024)