{"id":"GHSA-68m9-983m-f3v5","revision":"19f388cfc1b544a9bfd0987e168a7eae","records":[{"revision":"19f388cfc1b544a9bfd0987e168a7eae","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-68m9-983m-f3v5","aliases":["CVE-2026-40293","GO-2026-5170"],"title":"OpenFGA: Unauthenticated playground endpoint discloses preshared API key in HTML response","description":"### 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.`","state":0,"publishedAt":"2026-04-08T21:51:41+00:00","modifiedAt":"2026-09-10T03:50:43.2290362+00:00","affected":[{"ecosystem":"Go","name":"github.com/openfga/openfga","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.1.4"},{"kind":"fixed","version":"1.14.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/openfga/openfga/security/advisories/GHSA-68m9-983m-f3v5","https://nvd.nist.gov/vuln/detail/CVE-2026-40293","https://github.com/openfga/openfga","https://github.com/openfga/openfga/releases/tag/v1.14.0"],"sourceUrl":"https://github.com/advisories/GHSA-68m9-983m-f3v5","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-68m9-983m-f3v5","identifiers":["GHSA-68m9-983m-f3v5","CVE-2026-40293","GO-2026-5170"]},"retained":false,"historicalAffected":[]}],"coverage":[]}