CVE-2026-40293

MEDIUM6.5EPSS 0.09%

OpenFGA: Unauthenticated playground endpoint discloses preshared API key in HTML response

Published: 4/8/2026Modified: 5/5/2026

Description

### 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: * You are running OpenFGA with --authn-method preshared, and * The playground is enabled, and * The playground endpoint is accessible beyond localhost or trusted networks. ### Fix Upgrade to OpenFGA v1.14.0, or disable the playground by running `./openfga run --playground-enabled=false.`

Affected packages (1)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1MEDIUM6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

References (4)