CVE-2026-40293 OpenFGA Playground Preshared Key Exposure

Medium 6.5 Published Updated

Attackers can read the preshared API key from the playground endpoint if exposed, allowing unauthorized access to the authorization service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-40293?

CVE-2026-40293 is a medium-severity vulnerability in openfga, published on 17 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.`

Weakness: CWE-201, CWE-200

Which versions are affected by CVE-2026-40293?

3 open source packages ship an affected version, including github.com/openfga/openfga. It affects 1 product.

PackageAffectedFixed in
github.com/openfga/openfga GoFrom 0.1.41.14.0
github.com/openfga/openfga GoFrom 0.1.41.14.0
github.com/openfga/openfga GoFrom 0.1.41.14.0

Products include Openfga Openfga.

How do I fix CVE-2026-40293?

Upgrade github.com/openfga/openfga to 1.14.0 or later.

Is CVE-2026-40293 being exploited?

There is no known exploitation of CVE-2026-40293 in the wild and no public exploit code.

Sources

Also known as CLEANSTART-2026-CB09897, GHSA-68m9-983m-f3v5, GO-2026-5170, MINI-29f3-pwmh-57q9, MINI-3fj4-pj3g-fg3m, MINI-4842-93m8-pm74 and 15 more.

Is CVE-2026-40293 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free