
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-40293 is an information disclosure vulnerability in OpenFGA, an open-source authorization/permission engine, where the built-in /playground endpoint exposes preshared API keys in its HTML response. It affects OpenFGA versions 0.1.4 through 1.13.1 when configured with preshared-key authentication and the playground enabled. The vulnerability was published on April 17, 2026, with the security advisory authored by justincoh and credited to reporter bugbunny-research. It carries a CVSS v3.1 base score of 6.5 (Medium) (GitHub Advisory).
The root cause is classified as CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor): when OpenFGA is started with --authn-method preshared, the server embeds the preshared API key directly into the HTML response served by the /playground endpoint (GitHub Advisory). The /playground endpoint is enabled by default and requires no authentication, meaning any network-accessible attacker can retrieve the key with a simple unauthenticated HTTP GET request. Exploitation requires three preconditions: preshared-key authentication must be configured, the playground must be enabled (default), and the /playground endpoint must be reachable beyond localhost or trusted networks. As of v1.14.0, the playground no longer supports preshared-key authentication — the server will refuse to start if this combination is detected (OpenFGA v1.14.0 Release).
An unauthenticated remote attacker who can reach the /playground endpoint can retrieve the preshared API key from the HTML response without any user interaction. With this key, the attacker can impersonate legitimate API clients, bypass authorization controls enforced by the OpenFGA instance, and gain unauthorized access to all resources and permission checks managed by that server. This effectively undermines the entire authorization layer for any application relying on the compromised OpenFGA instance (GitHub Advisory).
There is no public proof-of-concept exploit code and no evidence of in-the-wild exploitation at this time (Feedly). The EPSS score is approximately 0.056%, reflecting a low probability of near-term exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Despite the low exploitation evidence, the attack requires no authentication and no user interaction, making it trivially exploitable for any attacker with network access to an exposed playground endpoint.
/playground path.http://<target>:<port>/playground and check whether the endpoint returns an HTML page (indicating the playground is enabled).Authorization header (e.g., Authorization: Bearer <extracted-key>) to make authenticated API calls to the OpenFGA server.Check, Write, ListObjects) using the stolen key to query or manipulate authorization policies and access protected resources (GitHub Advisory)./playground endpoint from external or untrusted IP addresses; outbound connections from the OpenFGA server to unknown hosts following playground access./playground from IPs outside localhost or trusted subnets; subsequent authenticated API calls (e.g., Check, Write) from IP addresses that previously accessed /playground but are not recognized application clients.The primary remediation is to upgrade to OpenFGA v1.14.0, which removes support for running the playground with preshared-key authentication — the server will now refuse to start if this combination is detected (OpenFGA v1.14.0 Release). As an immediate workaround for those unable to upgrade, disable the playground by launching OpenFGA with ./openfga run --playground-enabled=false (GitHub Advisory). Additionally, ensure the /playground endpoint is never exposed beyond localhost or trusted internal networks via firewall rules or network segmentation. After patching, rotate any preshared API keys that may have been exposed to invalidate potentially compromised credentials and audit access logs for unauthorized access.
The vulnerability was reported by security researcher bugbunny-research and published by the OpenFGA maintainer justincoh via GitHub Security Advisories on April 8, 2026 (GitHub Advisory). A brief post was noted on Bluesky via the CVE tracking account shortly after disclosure. Coverage has been limited to automated vulnerability databases and a technical write-up on infinitsec.net, reflecting the moderate severity and narrow exploitation conditions of the issue.
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."