CVE-2024-42473Openfga
Critical 9.8 No auth needed
Follow: this CVE · Openfga · Openfga We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 54
- Auth required
- No
- Published
- Aug 12, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-863
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Openfga.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/openfga/openfga |
≥ 1.5.7 < 1.5.9 |
1.5.9 |
go get github.com/openfga/openfga@v1.5.9 |
| Go | github.com/openfga/openfga |
≥ 1.5.7 < 1.5.9 |
1.5.9 |
go get github.com/openfga/openfga@v1.5.9 |
Per OSV / GitHub Advisories (GHSA-3f6g-m4hr-59h8, GO-2024-3061). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| openfga | openfga | 1.5.7 |
| openfga | openfga | 1.5.8 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory