Skip to main content

Openfga CVE-2026-40293

MEDIUM
Information Exposure (CWE-200)
2026-04-17 GitHub_M
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker on accessible network
  2. Delivery
    Send HTTP GET /playground
  3. Exploit
    Receive HTML response with embedded preshared key
  4. Execution
    Extract plaintext credential from HTML
  5. Persist
    Authenticate to OpenFGA API with retrieved key
  6. Impact
    Modify or read authorization policies

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK

2 techniques across 2 tactics: Collection, Discovery

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

OpenFGA must be configured with --authn-method preshared (preshared-key authentication enabled). The playground endpoint must be enabled (default behavior; --playground-enabled=true). The /playground endpoint must be accessible over the network beyond localhost or trusted networks (e.g., exposed to internal corporate networks, DMZs, or the internet without reverse proxy authentication). No user interaction is required; the API key is exposed in the initial HTTP response. Exploitation is blocked if playground is disabled, if unauthenticated access to /playground is restricted via firewall/proxy, or if OpenFGA is configured with non-preshared authentication methods (e.g., OIDC, API token-based).

Impact

CVSS 6.5 (AV:N/AC:L/PR:N/UI:N) indicates network-accessible, low-complexity exploitation with no authentication required, yielding low confidentiality and integrity impact without availability risk. EPSS data not provided, limiting probabilistic exploitation assessment. The vulnerability requires multiple non-default configuration choices (preshared auth mode + playground enabled + exposed beyond localhost), significantly reducing real-world attack surface compared to a default-vulnerable scenario. However, organizations that intentionally expose playground for remote debugging or misplace it behind insufficient network segmentation face genuine credential compromise. The lack of user interaction requirement (UI:N) and straightforward HTTP retrieval method mean exploitation, once conditions are met, is trivial. Risk is medium in production environments with exposed playgrounds, low in properly segmented development environments. No KEV or POC status confirmed from provided data, so active exploitation is unconfirmed.

Exploit ScenarioDerived

An attacker on a network segment with access to an OpenFGA instance runs a simple HTTP GET request to http://target-openfga:8080/playground and parses the HTML response to extract the preshared API key embedded in plaintext. With the retrieved key, the attacker can authenticate to the OpenFGA API and manipulate authorization policies or exfiltrate sensitive access control data.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 17, 2026

OpenFGA 0.1.4 through 1.13.1 discloses preshared API authentication keys in plaintext HTML responses from the unauthenticated /playground endpoint when configured with preshared-key authentication. Remote attackers on accessible networks can retrieve credentials without authentication, compromising authorization service security. The vulnerability requires non-default configuration (preshared auth enabled, playground accessible beyond localhost), limiting but not eliminating real-world risk.

RemediationAI

Upgrade to OpenFGA v1.14.0 or later, where the vulnerability is fixed. For users unable to upgrade immediately, disable the playground endpoint by running OpenFGA with the flag --playground-enabled=false, which eliminates the attack surface while preserving authentication functionality. This workaround is operationally safe for production deployments where playground access is not required, though it removes local debugging capabilities. Alternatively, enforce strict network segmentation to restrict /playground access to trusted localhost-only or whitelisted internal networks, using firewall rules or reverse proxy ACLs; this requires ongoing verification that playground remains unexposed and is less reliable than disabling the feature. Vendor-released patch: v1.14.0. References: https://github.com/openfga/openfga/releases/tag/v1.14.0

Affected Packages

go github.com/openfga/openfga fix: 1.14.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OpenFGA is a developer-focused authorization engine using fine-grained access control policies. The /playground endpoint is an unauthenticated debugging interface enabled by default, intended only for local development on localhost. When OpenFGA runs with --authn-method preshared (a pre-shared API key authentication scheme), the server incorrectly embeds the plaintext preshared key directly into the HTML response served by /playground. This occurs at the HTTP application layer (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor), where credentials are transmitted without encryption or redaction in a public-facing endpoint. The vulnerability affects all versions from 0.1.4 through 1.13.1 per the CPE cpe:2.3:a:openfga:openfga:*:*:*:*:*:*:*:*.

Know when Openfga gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
SUSE HIGH
Red Hat 7.5 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch released
Apr 18, 2026 - 02:30 nvd
Patch available
CVE Published
Apr 17, 2026 - 20:47 nvd
MEDIUM 6.5

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 82% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

52
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:openfga:openfga:*:*:*:*:*:*:*:*
CVE-2023-35933 HIGH POC
7.5 Jun 26

OPenFGA is an open source authorization/permission engine built for developers. Rated high severity (CVSS 7.5), this vul

CVE-2024-42473 CRITICAL
9.8 Aug 12

OpenFGA is an authorization/permission engine. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploi

CVE-2024-31452 CRITICAL
9.8 Apr 16

OpenFGA is a high-performance and flexible authorization/permission engine. Rated critical severity (CVSS 9.8), this vul

CVE-2022-23542 CRITICAL
9.8 Dec 20

OpenFGA is an authorization/permission engine built for developers and inspired by Google Zanzibar. Rated critical sever

CVE-2022-39352 CRITICAL
9.8 Nov 08

OpenFGA is a high-performance authorization/permission engine inspired by Google Zanzibar. Rated critical severity (CVSS

CVE-2022-39342 CRITICAL
9.8 Oct 25

OpenFGA is an authorization/permission engine. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploi

CVE-2022-39341 CRITICAL
9.8 Oct 25

OpenFGA is an authorization/permission engine. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploi

CVE-2026-61709 MEDIUM POC
5.3 Sep 16

OpenFGA releases prior to 1.18.1 can have their ListUsers API return a user who should have been excluded by the authori

CVE-2026-24851 HIGH
8.8 Feb 06

Improper policy enforcement in OpenFGA versions 1.8.5 through 1.11.2 (and corresponding Helm Chart and Docker releases)

CVE-2026-34972 HIGH
8.8 Apr 06

BatchCheck API calls in OpenFGA 1.8.0 through 1.13.1 can bypass authorization policies when multiple permission checks t

CVE-2023-45810 HIGH
7.5 Oct 17

OpenFGA is a flexible authorization/permission engine built for developers and inspired by Google Zanzibar. Rated high s

CVE-2024-23820 MEDIUM
6.5 Jan 26

OpenFGA, an authorization/permission engine, is vulnerable to a denial of service attack in versions prior to 1.4.3. Rat

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy