CVE-2025-48371
OpenFGA Authorization Bypass
Reported by github_m · Published May 22, 2025
github.com/openfga/openfga is fixed in 1.8.13 (Go Modules)
OpenFGA is an authorization/permission engine. OpenFGA versions 1.8.0 through 1.8.12 (corresponding to Helm chart openfga-0.2.16 through openfga-0.2.30 and docker 1.8.0 through 1.8.12) are vulnerable to authorization bypass when certain Check and ListObject calls are executed. Users are affected under four specific conditions: First, calling Check API or ListObjects with an authorization model that has a relationship directly assignable by both type bound public access and userset; second, there are check or list object queries with contextual tuples for the relationship that can be directly assignable by both type bound public access and userset; third, those contextual tuples’s user field is an userset; and finally, type bound public access tuples are not assigned to the relationship. Users should upgrade to version 1.8.13 to receive a patch. The upgrade is backwards compatible.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/openfga/openfga | Go Modules | 1.8.13 |
| grafana-11.5 | Wolfi | 11.5.5-r1 |
| grafana-11.1 | Wolfi | 11.2.10-r1 |
| openfga | dhi.docker.com | 1.8.13 |
| grafana-11.4 | Chainguard | 11.4.5-r1 |
| grafana-12.0 | Chainguard | 12.0.1-r2 |
| grafana-fips-12.0 | Chainguard | 12.0.1-r1 |
| helm_charts | openfga | 0.2.32 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| openfga | openfga | >= 1.8.0, < 1.8.13 |
| wolfi | grafana-11.5 | 0 |
| wolfi | grafana-11.1 | 0 |
| chainguard | grafana-11.4 | 0 |
| chainguard | grafana-12.0 | 0 |
| chainguard | grafana-fips-12.0 | 0 |
| chainguard | grafana-fips-11.2 | 0 |
| chainguard | grafana-11.0 | 0 |
| chainguard | grafana-11.6 | 0 |
| chainguard | grafana-fips-11.5 | 0 |
| chainguard | grafana-11.2 | 0 |
| wolfi | grafana-11.2 | 0 |
| github.com | openfga/openfga | 1.8.0 |
| wolfi | grafana-11.3 | 0 |
| openfga | openfga | 1.8.0 |
| wolfi | grafana-11.6 | 0 |
| chainguard | grafana-11.1 | 0 |
| wolfi | grafana-11.4 | 0 |
| chainguard | grafana-11.5 | 0 |
| chainguard | grafana-fips-11.3 | 0 |
…and 4 more
Timeline
- May 22, 2025 CVE Published
- May 22, 2025 PoC Published
- May 23, 2025 EPSS Score (30 in total, the first dated here)
- May 23, 2025 CVE Updated
- Mar 17, 2026 Security Advisory (2 in total, the first dated here)
- Jun 6, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-48371
vulnetix vdb fixes CVE-2025-48371
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-48371/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/openfga/openfga/security/advisories/GHSA-c72g-53hw-82q7 x_refsource_CONFIRM
- https://github.com/openfga/openfga/commit/e5960d4eba92b723de8ff3a5346a07f50c1379ca x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2025-48371 advisory
- https://github.com/advisories/GHSA-c72g-53hw-82q7 advisory
- https://github.com/openfga/openfga url
- https://pkg.go.dev/vuln/GO-2025-3707 url