Live threats

All CVEs / Openfga

CVE-2024-42473Openfga

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Openfga.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
openfgaopenfga1.5.7
openfgaopenfga1.5.8

Official sources

References

Links published by the sources. Open them with care.