Openfga
CVE-2026-40293
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker on accessible network
-
DeliverySend HTTP GET /playground
-
ExploitReceive HTML response with embedded preshared key
-
ExecutionExtract plaintext credential from HTML
-
PersistAuthenticate to OpenFGA API with retrieved key
-
ImpactModify or read authorization policies
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | OpenFGA must be configured with --authn-method preshared (preshared-key authentication enabled). The playground endpoint must be enabled (default behavior; --playground-enabled=true). The /playground endpoint must be accessible over the network beyond localhost or trusted networks (e.g., exposed to internal corporate networks, DMZs, or the internet without reverse proxy authentication). No user interaction is required; the API key is exposed in the initial HTTP response. Exploitation is blocked if playground is disabled, if unauthenticated access to /playground is restricted via firewall/proxy, or if OpenFGA is configured with non-preshared authentication methods (e.g., OIDC, API token-based). |
| Impact | CVSS 6.5 (AV:N/AC:L/PR:N/UI:N) indicates network-accessible, low-complexity exploitation with no authentication required, yielding low confidentiality and integrity impact without availability risk. EPSS data not provided, limiting probabilistic exploitation assessment. The vulnerability requires multiple non-default configuration choices (preshared auth mode + playground enabled + exposed beyond localhost), significantly reducing real-world attack surface compared to a default-vulnerable scenario. However, organizations that intentionally expose playground for remote debugging or misplace it behind insufficient network segmentation face genuine credential compromise. The lack of user interaction requirement (UI:N) and straightforward HTTP retrieval method mean exploitation, once conditions are met, is trivial. Risk is medium in production environments with exposed playgrounds, low in properly segmented development environments. No KEV or POC status confirmed from provided data, so active exploitation is unconfirmed. |
| Exploit ScenarioDerived | An attacker on a network segment with access to an OpenFGA instance runs a simple HTTP GET request to http://target-openfga:8080/playground and parses the HTML response to extract the preshared API key embedded in plaintext. With the retrieved key, the attacker can authenticate to the OpenFGA API and manipulate authorization policies or exfiltrate sensitive access control data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 17, 2026
OpenFGA 0.1.4 through 1.13.1 discloses preshared API authentication keys in plaintext HTML responses from the unauthenticated /playground endpoint when configured with preshared-key authentication. Remote attackers on accessible networks can retrieve credentials without authentication, compromising authorization service security. The vulnerability requires non-default configuration (preshared auth enabled, playground accessible beyond localhost), limiting but not eliminating real-world risk.
RemediationAI
Upgrade to OpenFGA v1.14.0 or later, where the vulnerability is fixed. For users unable to upgrade immediately, disable the playground endpoint by running OpenFGA with the flag --playground-enabled=false, which eliminates the attack surface while preserving authentication functionality. This workaround is operationally safe for production deployments where playground access is not required, though it removes local debugging capabilities. Alternatively, enforce strict network segmentation to restrict /playground access to trusted localhost-only or whitelisted internal networks, using firewall rules or reverse proxy ACLs; this requires ongoing verification that playground remains unexposed and is less reliable than disabling the feature. Vendor-released patch: v1.14.0. References: https://github.com/openfga/openfga/releases/tag/v1.14.0
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in go
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OpenFGA is a developer-focused authorization engine using fine-grained access control policies. The /playground endpoint is an unauthenticated debugging interface enabled by default, intended only for local development on localhost. When OpenFGA runs with --authn-method preshared (a pre-shared API key authentication scheme), the server incorrectly embeds the plaintext preshared key directly into the HTML response served by /playground. This occurs at the HTTP application layer (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor), where credentials are transmitted without encryption or redaction in a public-facing endpoint. The vulnerability affects all versions from 0.1.4 through 1.13.1 per the CPE cpe:2.3:a:openfga:openfga:*:*:*:*:*:*:*:*.
Know when Openfga gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
OpenFGA is an authorization/permission engine built for developers. In versions 0.1.4 through 1.13.1, when OpenFGA is configured to use preshared-key authentication with the built-in playground enabled, the local server includes the preshared API key in the HTML response of the /playground endpoint. The /playground endpoint is enabled by default and does not require authentication. It is intended for local development and debugging and is not designed to be exposed to production environments. Only those who run OpenFGA with --authn-method preshared, with the playground enabled, and with the playground endpoint accessible beyond localhost or trusted networks are vulnerable. To remediate the issue, users should upgrade to OpenFGA v1.14.0, or disable the playground by running ./openfga run --playground-enabled=false.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)CVE.org
OPenFGA is an open source authorization/permission engine built for developers. Rated high severity (CVSS 7.5), this vul
OpenFGA is an authorization/permission engine. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploi
OpenFGA is a high-performance and flexible authorization/permission engine. Rated critical severity (CVSS 9.8), this vul
OpenFGA is an authorization/permission engine built for developers and inspired by Google Zanzibar. Rated critical sever
OpenFGA is a high-performance authorization/permission engine inspired by Google Zanzibar. Rated critical severity (CVSS
OpenFGA is an authorization/permission engine. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploi
OpenFGA is an authorization/permission engine. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploi
OpenFGA releases prior to 1.18.1 can have their ListUsers API return a user who should have been excluded by the authori
Improper policy enforcement in OpenFGA versions 1.8.5 through 1.11.2 (and corresponding Helm Chart and Docker releases)
BatchCheck API calls in OpenFGA 1.8.0 through 1.13.1 can bypass authorization policies when multiple permission checks t
OpenFGA is a flexible authorization/permission engine built for developers and inspired by Google Zanzibar. Rated high s
OpenFGA, an authorization/permission engine, is vulnerable to a denial of service attack in versions prior to 1.4.3. Rat
Same weakness CWE-200 – Information Exposure
View allSame technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB