CVE-2026-40293: OpenFGA Playground Preshared Key Exposure
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
OpenFGAto a version that resolves this vulnerability.Fixed in 1.14.0 - Configuration
Disable the OpenFGA Playground by running ./openfga run --playground-enabled=false.
OpenFGA playground playground-enabled = false
Event History
Frequently Asked Questions
What is the severity of CVE-2026-40293?
CVE-2026-40293 is considered a critical vulnerability due to the exposure of sensitive preshared API keys.
How do I fix CVE-2026-40293?
To fix CVE-2026-40293, upgrade OpenFGA to version 1.14.0 or later to eliminate the preshared key exposure.
Which versions of OpenFGA are affected by CVE-2026-40293?
CVE-2026-40293 affects OpenFGA versions from 0.1.4 to 1.13.1.
What is the impact of CVE-2026-40293?
The impact of CVE-2026-40293 includes unauthorized access to the OpenFGA API through exposed preshared keys.
Is there a workaround for CVE-2026-40293?
Currently, the recommended workaround for CVE-2026-40293 is to disable the playground feature if upgrading is not immediately possible.