Information Exposure Affecting openfga package, versions <1.14.2-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Information Exposure vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-WOLFILATEST-OPENFGA-16096294
  • published17 Apr 2026
  • disclosed17 Apr 2026

Introduced: 17 Apr 2026

NewCVE-2026-40293  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade Wolfi openfga to version 1.14.2-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openfga package and not the openfga package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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.