CVE-2025-25196
MEDIUM 5.8CVSS 4.0OpenFGA Authorization Bypass
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.
- Published
- 19 Feb 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-285
- Also known as
- GHSA-g4v5-6f5p-m38jGO-2025-3470
- Sources
- NVDJSONOSV GHSA-g4v5-6f5p-m38jJSONOSV GO-2025-3470JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openfga | helm_chartscpe:2.3:a:openfga:helm_charts:*:*:*:*:*:*:*:* |
< 0.2.22 | 0.2.22 |
| NVD | openfga | openfgacpe:2.3:a:openfga:openfga:*:*:*:*:*:*:*:* |
< 1.8.5 | 1.8.5 |
| OSV | Go | github.com/openfga/openfga | < 1.8.5 | 1.8.5 |
References
- https://github.com/openfga/openfga/commit/0aee4f47e0c642de78831ceb27bb62b116f49588 · Patch, WEB, FIX
- https://github.com/openfga/openfga/security/advisories/GHSA-g4v5-6f5p-m38j · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-25196 · ADVISORY
- https://github.com/openfga/openfga · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 19 Feb 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 3 Mar 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 19 Feb 2025)