CVE-2025-25196 json
OpenFGA Authorization Bypass
published 2025-02-19 20 mo ago modified 2026-09-10 1 mo ago also EUVD-2025-4651 , GHSA-g4v5-6f5p-m38j , GO-2025-3470
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 37%
- public exploits
- 0
- none known
Summary
OpenFGA is a high-performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. OpenFGA < v1.8.4 (Helm chart < openfga-0.2.22, docker < v.1.8.4) are vulnerable to authorization bypass when certain Check and ListObject calls are executed. Users on OpenFGA v1.8.4 or previous, specifically under the following conditions are affected by this authorization bypass vulnerability: 1. Calling Check API or ListObjects with a model that has a relation directly assignable to both public access AND userset with the same type. 2. A type bound public access tuple is assigned to an object. 3. userset tuple is not assigned to the same object. and 4. Check request's user field is a userset that has the same type as the type bound public access tuple's user type. Users are advised to upgrade to v1.8.5 which is backwards compatible. There are no known workarounds for this vulnerability.
Patch / fix
- go github.com/openfga/openfga 1.8.5
- openfga openfga 1.8.5
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250312T181707-1.1
opensuse advisories openSUSE-SU-2025:14889-1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 20 mo ago
Exploit prediction
0.43% chance of exploitation in the next 30 days, higher than 37% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.8 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H |
| CNA | 4.0 | 5.8 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/openfga/openfga | <1.8.5 |
1.8.5 |
Affected products
- openfga openfga
Classification
- Weakness
-
- CWE-285 Improper Authorization
References
-
github.com
/openfga/openfga/commit/0aee4f47e0c642de78831ceb27bb62b116f49588
web, patch
-
github.com
/openfga/openfga/security/advisories/GHSA-g4v5-6f5p-m38j
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-25196
advisory
-
github.com
/openfga/openfga
package
Sources
- CVE List CVE-2025-25196
- GitHub Advisory GHSA-g4v5-6f5p-m38j
- NVD CVE-2025-25196
- OSV GO-2025-3470
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.