CVE-2026-33729

OpenFGA has an Authorization Bypass through cached keys

Published Mar 27, 2026 CVSS 4.0 · 5.8 Medium EPSS < 1% KEV · Not listed
Description
OpenFGA is a high-performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. In versions prior to 1.13.1, under specific conditions, models using conditions with caching enabled can result in two different check requests producing the same cache key. This can result in OpenFGA reusing an earlier cached result for a different request. Users are affected if the model has relations which rely on condition evaluation andncaching is enabled. OpenFGA v1.13.1 contains a patch.

Analysis

AI-generated

Technical impact

OpenFGA is an authorization engine that relies on cached evaluations of condition logic to improve performance. In versions prior to 1.13.1, when caching is enabled for models that use condition evaluation, two distinct authorization check requests can produce the same cache key. The engine may then return a cached result belonging to a different request, allowing an attacker to gain permissions they should not have. This flaw effectively bypasses the authorization intended by the model, matching the weaknesses listed as CWE‑1289, CWE‑20, and CWE‑345.

Affected Systems

Installations of the OpenFGA authorization service running a version older than 1.13.1 that enable condition evaluation caching are affected. The vulnerability applies to all OpenFGA products, as reflected in the CPE string for the openfga:openfga package. Users whose models include relations that depend on condition evaluation with caching should consider an update.

Risk and Exploitability

With a CVSS score of 5.8, the flaw is classified as medium severity, and an EPSS score below 1% indicates low current exploit likelihood. It is not listed in the CISA KEV catalog, suggesting limited widespread exploitation. The likely attack vector involves sending crafted authorization requests through the OpenFGA API to trigger the cache key collision; this is inferred from the description and not explicitly documented. If successful, the attacker may read a cached authorization result that applies to a different user or action, effectively bypassing intended access controls.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenFGA to version 1.13.1 or newer.
  • If an upgrade cannot be performed immediately, disable caching for condition evaluations in the model configuration.
  • Verify that the service no longer returns duplicate cache results by testing with distinct authorization requests.
  • Monitor logs for anomalous authorization and observe usage after applying the fix for any unintended access patterns.

Generated by OpenCVE AI on April 14, 2026 at 02:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-h6c8-cww8-35hf OpenFGA has an Authorization Bypass through cached keys
History
Type Values Removed Values Added
CPEs cpe:2.3:a:openfga:openfga:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Openfga
Openfga openfga
Vendors & Products Openfga
Openfga openfga
Type Values Removed Values Added
Description OpenFGA is a high-performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar. In versions prior to 1.13.1, under specific conditions, models using conditions with caching enabled can result in two different check requests producing the same cache key. This can result in OpenFGA reusing an earlier cached result for a different request. Users are affected if the model has relations which rely on condition evaluation andncaching is enabled. OpenFGA v1.13.1 contains a patch.
Title OpenFGA has an Authorization Bypass through cached keys
Weaknesses CWE-1289
CWE-20
CWE-345
References
Metrics cvssV4_0

{'score': 5.8, 'vector': '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'}

Weaknesses
  • CWE-1289

    Improper Validation of Unsafe Equivalence in Input

  • CWE-20

    Improper Input Validation

  • CWE-345

    Insufficient Verification of Data Authenticity

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 30, 2026, 11:53 AM
Reserved
Mar 23, 2026, 5:34 PM
Status
Analyzed
Published
Mar 27, 2026, 1:16 AM
Modified
Jun 17, 2026, 10:38 AM