GitHub Advisoryadvisory · Go
GHSA-68m9-983m-f3v5 OpenFGA: Unauthenticated playground endpoint discloses preshared API key in HTML response
MEDIUM
Official page ↗
- Aliases
- CVE-2026-40293
- Ecosystem
- Go
- Packages
- github.com/openfga/openfga
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-200
- Reviewed
- 2026-04-08
Affected packages
• Go github.com/openfga/openfga: >= 0.1.4, < 1.14.0 → fixed in 1.14.0
Description
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:
• You are running OpenFGA with --authn-method preshared, and
• The playground is enabled, and
• The playground endpoint is accessible beyond localhost or trusted networks.
Fix
Upgrade to OpenFGA v1.14.0, or disable the playground by running `./openfga run --playground-enabled=false.`
Related
Alias · CVE (1)
- CVE-2026-40293 OpenFGA is an authorization/permission engine built for developers. vulnerability
Weakness · CWE (1)
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness