OpenFGA: Unauthenticated playground endpoint discloses preshared API key in HTML response
Package
Affected versions
>= 0.1.4, <= 1.13.1
Patched versions
1.14.0
Description
Published to the GitHub Advisory Database
Apr 8, 2026
Reviewed
Apr 8, 2026
Published by the National Vulnerability Database
Apr 17, 2026
Last updated
Apr 24, 2026
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.References