CVE-2026-61709

OpenFGA: ListUsers returns a deliberately-excluded user (authorization-decision over-inclusion) when a `but not` exclusion under a type-bound wildcard is intersected (`and`) with another relation that also grants that user

Published Sep 16, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
OpenFGA is an authorization and permission engine built for developers. Prior to 1.18.1, the ListUsers API could return a user that should have been excluded when an authorization relation used an intersection containing a base but not excluded operand, the base was granted through a type-bound public wildcard, and the excluded user also had a concrete tuple through another intersection operand. In pkg/server/commands/listusers/list_users_rpc.go, expandIntersection counted the concrete tuple and wildcard without first rejecting entries in excludedUsersMap. Applications that used ListUsers to enumerate or enforce access could therefore treat an excluded user as authorized. This issue is fixed in version 1.18.1.

Analysis

AI-generated

Technical impact

The ListUsers API in OpenFGA contains a logical flaw that allows a user who should be excluded by a "but not" rule to be returned when the rule includes an intersection between a type‑bound public wildcard and another relation that grants that user. The code path responsible for rejecting excluded users is bypassed during tuple expansion, so the caller receives a user that is not authorized. This mis‑classification can expose the existence of users or allow an application to treat the returned user as having valid access, potentially enabling further enumeration or misuse of resources.

Affected Systems

The vulnerability exists in the OpenFGA authorization engine provided by the vendor OpenFGA. Any deployment using a version older than 1.18.1 is affected, regardless of the operating environment or hosting platform.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity, and the EPSS score of < 1% signifies a low likelihood of exploitation at present. The issue is not listed in the CISA KEV catalog. An attacker must be able to invoke the ListUsers API, which typically requires either exposure of the endpoint or compromise of a client with permission to call it. No privilege escalation or remote code execution is necessary; the risk lies in unauthorized disclosure or enumeration of users.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenFGA to version 1.18.1 or later.
  • Restrict or secure the ListUsers API endpoint so that only trusted clients or internal services can call it, disabling or protecting the interface if it is not required publicly.
  • Validate that excluded users are not returned by running integration tests that query ListUsers for known excluded users and confirm they are omitted from the response.
  • Review and audit logs of ListUsers calls to detect any unintended exposure of excluded users.

Generated by OpenCVE AI on September 18, 2026 at 03:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-g3pg-frfm-pr2m OpenFGA: ListUsers returns a deliberately-excluded user when a `but not` exclusion under a type-bound wildcard is intersected (`and`) with another relation that also grants that user
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Openfga
Openfga openfga
Vendors & Products Openfga
Openfga openfga
Type Values Removed Values Added
Description OpenFGA is an authorization and permission engine built for developers. Prior to 1.18.1, the ListUsers API could return a user that should have been excluded when an authorization relation used an intersection containing a base but not excluded operand, the base was granted through a type-bound public wildcard, and the excluded user also had a concrete tuple through another intersection operand. In pkg/server/commands/listusers/list_users_rpc.go, expandIntersection counted the concrete tuple and wildcard without first rejecting entries in excludedUsersMap. Applications that used ListUsers to enumerate or enforce access could therefore treat an excluded user as authorized. This issue is fixed in version 1.18.1.
Title OpenFGA: ListUsers returns a deliberately-excluded user (authorization-decision over-inclusion) when a `but not` exclusion under a type-bound wildcard is intersected (`and`) with another relation that also grants that user
Weaknesses CWE-281
CWE-863
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-281

    Improper Preservation of Permissions

  • CWE-783

    Operator Precedence Logic Error

  • CWE-863

    Incorrect Authorization

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 18, 2026, 5:52 PM
Reserved
Jul 10, 2026, 6:51 PM
Status
Deferred
Published
Sep 16, 2026, 3:17 PM
Modified
Sep 24, 2026, 9:25 PM
Severity
Moderate
Public date
Sep 16, 2026, 2:05 PM