{"id":"CVE-2026-40293","published":"2026-04-17T20:47:06Z","modified":"2026-09-09T12:04:43Z","title":"OpenFGA Playground Preshared Key Exposure","vendor":"openfga","product":"openfga","tier":"tail","description":{"text":"OpenFGA is an authorization/permission engine built for developers. In versions 0.1.4 through 1.13.1, 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. Only those who run OpenFGA with `--authn-method` preshared, with the playground enabled, and with the playground endpoint accessible beyond localhost or trusted networks are vulnerable. To remediate the issue, users should upgrade to OpenFGA v1.14.0, or disable the playground by running `./openfga run --playground-enabled=false.`","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00292,"percentile":0.22294,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-201","name":"Insertion of Sensitive Information Into Sent Data"}],"references":[{"url":"https://github.com/openfga/openfga/security/advisories/GHSA-68m9-983m-f3v5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/openfga/openfga/releases/tag/v1.14.0","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-40293","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2459341","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40293.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:24503","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:36882","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:24539","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":9.0,"factors":[{"name":"EPSS percentile","points":4.46},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"openfga","affectedVersions":[{"vendor":"openfga","product":"openfga","versions":[">= 0.1.4, < 1.14.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-20T16:19:32.851531Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/openfga/openfga","vulnerableRanges":[">=0.1.4, <1.14.0"],"patched":["1.14.0"],"from":["GHSA-68m9-983m-f3v5","GO-2026-5170"],"provenance":"source"}],"summary":{"text":"OpenFGA, an authorization engine, leaks its preshared API key in the HTML response served by its built-in playground at the /playground endpoint. This affects the openfga product in versions 0.1.4 through 1.13.1 when preshared-key authentication is in use and the playground is enabled and reachable beyond localhost or trusted networks. An unauthenticated attacker with network access to that endpoint can retrieve the preshared key from the page, which requires no authentication or user interaction. The key would then allow them to act against the OpenFGA API as an authorized client.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:08:53Z"},"euvd":{"id":"EUVD-2026-23542","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-24851","published":"2026-02-06","fixed":"1.11.3","kev":false},{"cve":"CVE-2026-33729","published":"2026-03-27","fixed":"1.13.1","kev":false,"link":{"from":"CVE-2026-33729","to":"CVE-2026-40293","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/openfga/openfga","fromFixed":"1.13.1","toFixed":"1.14.0","daysApart":21}]}},{"cve":"CVE-2026-34972","published":"2026-04-06","fixed":"1.14.0","kev":false},{"cve":"CVE-2026-40293","published":"2026-04-17","fixed":"1.14.0","kev":false},{"cve":"CVE-2026-41131","published":"2026-04-21","fixed":"1.14.1","kev":false,"link":{"from":"CVE-2026-40293","to":"CVE-2026-41131","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/openfga/openfga","fromFixed":"1.14.0","toFixed":"1.14.1","daysApart":4}]}},{"cve":"CVE-2026-48096","published":"2026-06-10","fixed":"1.16.0","kev":false},{"cve":"CVE-2026-55170","published":"2026-07-09","fixed":"1.18.0","kev":false}],"package":"Go:github.com/openfga/openfga"}}