Skip to content
Heist/ feed
Back to feed
Medium

OpenFGA Playground Preshared Key Exposure

Type: advisorySources: OSV

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-40293
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 18:14 UTC · Revision 1

Source evidence

OpenFGA Playground Preshared Key Exposure

core-osv · Original source

Published 17 Apr 2026, 20:47 UTC

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

osv:CVE-2026-40293
Complete source record
{
  "id": "4ca63ca23f45761f56668cfb53d182c1e3e2244ccd2ad6b1cd4f5c53d7a0ba86",
  "url": "https://osv.dev/vulnerability/CVE-2026-40293",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "OpenFGA Playground Preshared Key Exposure",
    "summary": "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.`",
    "evidence": "osv:CVE-2026-40293",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-40293",
      "aliases": [
        "CVE-2026-40293",
        "GHSA-68m9-983m-f3v5",
        "GO-2026-5170"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/openfga/openfga",
              "type": "GIT",
              "events": [
                {
                  "introduced": "226299f267219b7e36c3449270ee00d4b1234693"
                },
                {
                  "fixed": "40e6b410825813d1d394d7371c5ca31cad17f517"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0.1.4"
                      },
                      {
                        "fixed": "1.14.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "40e6b410825813d1d394d7371c5ca31cad17f517"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.14.0"
                  },
                  {
                    "cpe": "cpe:2.3:a:openfga:openfga:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.1.4"
                      },
                      {
                        "fixed": "1.14.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.13.1",
            "v1.11.5",
            "v1.13.0",
            "v1.12.1",
            "v1.12.0",
            "v1.11.6",
            "v1.11.4",
            "v1.11.3",
            "v1.11.2",
            "v1.11.1",
            "v1.11.0",
            "v1.10.5",
            "v1.10.4",
            "v1.10.3",
            "v1.10.2",
            "v1.10.1",
            "v1.10.0",
            "v1.9.5",
            "v1.9.4",
            "v1.9.3",
            "v1.9.2",
            "v1.9.0",
            "v1.8.15",
            "v1.8.14",
            "v1.8.13",
            "v1.8.12",
            "v1.8.11",
            "v1.8.10",
            "v1.8.9",
            "v1.8.8",
            "v1.8.7",
            "v1.8.6",
            "v1.8.5",
            "v1.8.4",
            "v1.8.3",
            "v1.8.2",
            "v1.8.1",
            "v1.8.0",
            "v1.7.0",
            "v1.6.2",
            "v1.6.1",
            "v1.6.0",
            "v1.5.9",
            "v1.5.8",
            "v1.5.7",
            "v1.5.6",
            "v1.5.5",
            "v1.5.4",
            "v1.5.3",
            "v1.5.2",
            "v1.5.1",
            "v1.5.0",
            "v1.4.3",
            "v1.4.1",
            "v1.4.0",
            "v1.3.10",
            "v1.3.9",
            "v1.3.8",
            "v1.3.7",
            "v1.3.6",
            "v1.3.5",
            "v1.3.4",
            "v1.3.3",
            "v1.3.2",
            "v1.3.1",
            "v1.3.0",
            "v1.2.0",
            "v1.1.1",
            "v1.1.0",
            "v1.0.1",
            "v1.0.0",
            "v0.4.3",
            "v0.4.2",
            "v0.4.1",
            "v0.4.0",
            "v0.3.7",
            "v0.3.6",
            "v0.3.5",
            "v0.3.4",
            "v0.3.3",
            "v0.3.2",
            "v0.3.1",
            "v0.3.0",
            "v0.2.5",
            "v0.2.4",
            "v0.2.3",
            "v0.2.2",
            "v0.2.1",
            "v0.2.0",
            "v0.1.7",
            "v0.1.6",
            "v0.1.5",
            "v0.1.4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40293.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.151831944Z",
      "provider": "osv",
      "references": [
        "https://github.com/openfga/openfga/releases/tag/v1.14.0",
        "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40293.json",
        "https://access.redhat.com/errata/RHSA-2026:24503",
        "https://access.redhat.com/errata/RHSA-2026:24539",
        "https://access.redhat.com/errata/RHSA-2026:36882",
        "https://access.redhat.com/security/cve/CVE-2026-40293",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40293.json",
        "https://github.com/openfga/openfga/security/advisories/GHSA-68m9-983m-f3v5",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-40293",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2459341"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-200"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40293.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-40293",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 488200,
  "published_at": "2026-04-17T20:47:06.804+00:00"
}