# CVE-2026-34972: OpenFGA improper policy enforcement in BatchCheck

Source: https://junglewise.ai/threats/cve-2026-34972-openfga-improper-policy-enforcement-in-batchcheck  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-06. Updated: 2026-07-24  
License: CC BY 4.0 with a link back

CVE-2026-34972 · Severity: medium · CVSS 5 · Published 2026-04-06

OpenFGA is an authorization engine used by developers to manage user permissions and access control within applications. A vulnerability in certain versions could allow improper policy enforcement when processing multiple permission checks simultaneously. This means a user might be granted access they should not have, or denied access they should have, potentially leading to unauthorized data access or service disruption.

Technologies: [github.com/openfga/openfga (Go)](https://junglewise.ai/threats/technologies/github-com-openfga-openfga), [OpenFGA](https://junglewise.ai/threats/technologies/openfga). Vendors: [Go](https://junglewise.ai/threats/vendors/go), [OpenFGA](https://junglewise.ai/threats/vendors/openfga).

## Quick answers

**Is CVE-2026-34972 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-34972 being exploited in the wild.

**How severe is CVE-2026-34972?** Medium severity, with a CVSS score of 5, published 6 April 2026.

**Which products and versions are affected?** github.com/openfga/openfga (Go) SEMVER:introduced=1.8.0,fixed=1.14.0; OpenFGA >= 1.8.0, < 1.14.0.

**Is there a fix for CVE-2026-34972?** Yes. github.com/openfga/openfga (Go): upgrade to 1.14.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-34972 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-34972?** Check whether you run github.com/openfga/openfga (Go) or OpenFGA at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/openfga/openfga (Go): upgrade to 1.14.0 or later

  ```sh
  go get github.com/openfga/openfga@v1.14.0
  ```


## Technical details

An improper authorization vulnerability (CWE-863) exists in OpenFGA's BatchCheck implementation. When multiple checks within a single BatchCheck operation target the same user, object, and relation combination but provide different context data, the engine may fail to enforce policies correctly. This occurs because the engine may incorrectly reuse or mishandle the context across these overlapping checks. An attacker with low privileges could potentially exploit this to bypass intended access restrictions. The issue affects OpenFGA versions 1.8.0 through 1.13.1 and is resolved in version 1.14.0.

## Affected products

- OpenFGA OpenFGA >= 1.8.0, < 1.14.0
- OpenFGA OpenFGA Helm Chart >= 0.2.16, < 0.2.62

## Identifiers

- CVE-2026-34972
- GHSA-jwvj-g8pc-cx45
- GO-2026-5483

## Timeline

- 2026-04-06: disclosed
- 2026-04-06: advisory
- 2026-04-06: patched

## References

- [https://github.com/openfga/openfga/security/advisories/GHSA-jwvj-g8pc-cx45](https://github.com/openfga/openfga/security/advisories/GHSA-jwvj-g8pc-cx45)

## Related threats

- [OpenFGA ListUsers incorrect authorization in intersection exclusions](https://junglewise.ai/threats/cve-2026-61709-openfga-listusers-incorrect-authorization-in-intersection)
- [OpenFGA improper authentication via JWT audience skip in OIDC authenticator](https://junglewise.ai/threats/cve-2026-55689-openfga-improper-authentication-via-jwt-audience-skip-in-oidc)
- [OpenFGA case sensitivity mismatch in MySQL datastore](https://junglewise.ai/threats/cve-2026-55170-openfga-case-sensitivity-mismatch-in-mysql-datastore)
- [OpenFGA cache key collision in iterator caching](https://junglewise.ai/threats/cve-2026-48096-openfga-cache-key-collision-in-iterator-caching)
- [OpenFGA has Improper Policy Enforcement](https://junglewise.ai/threats/cve-2026-41131-openfga-has-improper-policy-enforcement)
