CVE-2025-25196 — Vulnerability in github.com/openfga/openfga
OpenFGA Authorization Bypass
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.81%). Schedule for your next planned update.
Does your project use an affected github.com/openfga/openfga version?
Paste your go.sum to check it for CVE-2025-25196 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Overview OpenFGA v1.8.4 or previous (Helm chart < openfga-0.2.22, docker < v.1.8.5) are vulnerable to authorization bypass when certain Check and ListObject calls are executed.
Am I Affected? If you are using OpenFGA v1.8.4 or previous, specifically under the following conditions, you are affected by this authorization bypass vulnerability:
- Calling Check API or ListObjects with a model that has a relation directly assignable to both public access AND userset with the same type, and
- A type bound public access tuple is assigned to an object, and
- userset tuple is not assigned to the same object, and
- Check request's user field is a userset that has the same type as the type bound public access tuple's user type
Fix Upgrade to v1.8.5. This upgrade is backwards compatible.
Advisory Timeline
- First published February 19, 2025 (645 days ago).
- Last revised September 10, 2026 — 567 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/openfga/openfga@v1.8.5
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: Go (1).
| Package | Fixed In |
|---|---|
| github.com/openfga/openfga Go · Affected: All versions | 1.8.5 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-285Improper AuthorizationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.5 score means for each attack dimension.
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
References
Frequently Asked Questions
- What is CVE-2025-25196?
- OpenFGA Authorization Bypass. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 9.5/10).
- How do I check if my project is affected by CVE-2025-25196?
- CVE-2025-25196 affects github.com/openfga/openfga. It has a 0.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-25196 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 53.7% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2025-64751MEDIUM
OpenFGA Improper Policy Enforcement
- CVE-2024-56323MEDIUM
OpenFGA Authorization Bypass
- CVE-2025-48371MEDIUM
OpenFGA Authorization Bypass
- CVE-2026-33729MEDIUM
OpenFGA has an Authorization Bypass through cached keys
- CVE-2026-24851MEDIUM
OpenFGA Improper Policy Enforcement
- CVE-2025-55213MEDIUM
OpenFGA Authorization Bypass
- CVE-2026-88011MEDIUM
Traefik: ForwardAuth identity spoofing via dot-form header alias
- CVE-2025-46331MEDIUM
OpenFGA Authorization Bypass