{"id":"GHSA-68m9-983m-f3v5","summary":"OpenFGA: Unauthenticated playground endpoint discloses preshared API key in HTML response","details":"### Description\nWhen 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.\n\n\n### Am I Affected?\nYou are affected if you meet each of the following preconditions:\n* You are running OpenFGA with --authn-method preshared, and\n* The playground is enabled, and\n* The playground endpoint is accessible beyond localhost or trusted networks.\n\n### Fix\nUpgrade to OpenFGA v1.14.0, or disable the playground by running `./openfga run --playground-enabled=false.`","aliases":["CVE-2026-40293","GO-2026-5170"],"modified":"2026-07-17T21:10:24.730580259Z","published":"2026-04-08T21:51:41Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-04-08T21:51:41Z","nvd_published_at":"2026-04-17T21:16:34Z","cwe_ids":["CWE-200"]},"references":[{"type":"WEB","url":"https://github.com/openfga/openfga/security/advisories/GHSA-68m9-983m-f3v5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40293"},{"type":"PACKAGE","url":"https://github.com/openfga/openfga"},{"type":"WEB","url":"https://github.com/openfga/openfga/releases/tag/v1.14.0"}],"affected":[{"package":{"name":"github.com/openfga/openfga","ecosystem":"Go","purl":"pkg:golang/github.com/openfga/openfga"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.4"},{"fixed":"1.14.0"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 1.13.1","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-68m9-983m-f3v5/GHSA-68m9-983m-f3v5.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"}]}