github.com/openfga/openfga
Affected
- introduced
0.1.4, fixed1.14.0(semver)
Fixed versions
1.14.0
Fix
- Fixed version
1.14.0go get github.com/openfga/[email protected]
Advisory
Also known as: CVE-2026-40293, GO-2026-5170
OpenFGA: Unauthenticated playground endpoint discloses preshared API key in HTML response
Description
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.
Am I Affected?
You are affected if you meet each of the following preconditions:
Fix
Upgrade to OpenFGA v1.14.0, or disable the playground by running ./openfga run --playground-enabled=false.
Medium Basis: The source's own band: MODERATE
0.1.4, fixed 1.14.0 (semver)1.14.0
1.14.0go get github.com/openfga/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0