CVE-2024-42473
OpenFGA Authorization Bypass
Also known as GHSA-3f6g-m4hr-59h8, GO-2024-3061
Mitigation
- Upgrade github.com/openfga/openfga to 1.5.9 or later.
Who should check
- Projects that depend on Go package github.com/openfga/openfga (>= 1.5.7, < 1.5.9)
- Anyone running openfga >=1.5.7, <= 1.5.8
Vulnerability facts
- Affected
- github.com/openfga/openfga >= 1.5.7, < 1.5.9
- Fixed in
- 1.5.9
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.80% chance of exploitation in 30 days (percentile 54, 2026-11-26)
- CWE
- CWE-863
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/openfga/openfga | >= 1.5.7, < 1.5.9 | 1.5.9 | osv |
| openfga | >=1.5.7, <= 1.5.8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-42473. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-42473.md Affected: github.com/openfga/openfga >= 1.5.7, < 1.5.9 Fixed in: 1.5.9 Steps: 1. Search this machine and project for github.com/openfga/openfga (Go), openfga: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2024-42473 being exploited?
There is no confirmed exploitation: CVE-2024-42473 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.80% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-42473?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2024-42473?
github.com/openfga/openfga >= 1.5.7, < 1.5.9.
Is there a fix for CVE-2024-42473?
Yes. Fixed in 1.5.9. Upgrade github.com/openfga/openfga to 1.5.9 or later.
How do I check if I'm affected by CVE-2024-42473?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.