Cloudanix VulnDB

CVE-2026-55170

Medium · 5.4

CVSS

5.4

EPSS

0.3%

Published

Jul 9, 2026

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

Some systems using OpenFGA with MySQL may confuse users whose names differ only by capitalization, potentially giving one person another person’s access.

Exploitation
Remote Authenticated
Attacker needs
Low Privilege
Complexity
Moderate
Impact
Privilege Gain
Component
Application
Class
Authorization Bypass
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

OpenFGA versions before 1.18.0 can make incorrect authorization decisions when backed by MySQL and when an authorization model treats user identifiers as case-sensitive. Because MySQL comparisons for stored authorization data may treat case-distinct strings as equivalent, identities such as `user:Alice` and `user:alice` can collide during tuple, changelog, or authorization-model lookups. The result is an authorization bypass or denial scenario where two distinct principals may receive the same access decision even though the model intended different permissions.

Why it matters to the business

Applications that depend on OpenFGA for access control may grant a user access intended for a different case-distinct identity, or incorrectly deny legitimate access. The main operational risk is unauthorized viewing or modification of protected resources in systems where identity casing is meaningful. The issue is not currently in CISA KEV, has low EPSS, and has no known public exploit maturity, but it should still be prioritized for deployments using MySQL because authorization flaws can directly undermine application trust boundaries.

How an attack unfolds

An attacker first needs access to an application or API path that ultimately asks OpenFGA to authorize requests using a user string the attacker can influence, or the attacker must be able to cause authorization tuples to be written using a case-variant identity. In a vulnerable deployment using MySQL, the attacker identifies that the application treats `user:Alice` and `user:alice` as separate identities. If one case variant has access to a protected object and the other does not, the attacker attempts requests using a strategically cased identity value. Because the underlying datastore comparison may collapse the two values, OpenFGA can return the same authorization result for both identities. This can allow the attacker to inherit permissions associated with another case-distinct principal, depending on how the application maps authenticated identities into OpenFGA user strings.

How to fix it

Upgrade OpenFGA to version 1.18.0 or later. Ensure Helm deployments use an image/app version that includes OpenFGA 1.18.0 or later rather than only updating chart metadata. If immediate upgrade is not possible, reduce risk by avoiding case-sensitive authorization semantics for user strings, normalizing identity strings consistently before writing tuples and before checks, and preventing creation of identities that differ only by case where business requirements allow. For high-risk applications, consider temporarily reviewing or disabling workflows that allow user-controlled identity strings to be written into authorization relationships. Do not rely solely on application-side checks if OpenFGA remains vulnerable and MySQL-backed.

How to confirm the fix worked

Confirm the running OpenFGA binary or container image reports version 1.18.0 or later. For Helm-based deployments, verify the rendered workload image tag and running pod image, not just the chart version. Confirm the OpenFGA datastore is not an affected MySQL-backed configuration, or if it is, run a regression test: create two case-distinct user identifiers, grant access to only one of them, and verify that authorization checks for each identity return distinct expected results. Review application identity normalization behavior to ensure the same canonical user string is used consistently for tuple writes, checks, and authorization-model references.

Typical attack path

  1. Identify an application that relies on OpenFGA for authorization and uses MySQL as the OpenFGA datastore.
  2. Determine whether user identifiers are case-sensitive in the application or identity-mapping layer.
  3. Create, control, or submit a user identifier that differs from another authorized identity only by letter casing.
  4. Trigger authorization checks against protected objects where the differently cased identity should not have access.
  5. Abuse the datastore comparison behavior so OpenFGA returns the same decision for both case variants.
  6. Use the incorrect allow decision to access data or functionality intended for another identity.

How to detect it

There is no reliable universal network or file indicator for this issue because exploitation occurs through legitimate authorization requests and depends on application-specific identity values. To assess possible prior exploitation, review OpenFGA application logs, API gateway logs, application authorization audit logs, identity-provider audit logs, and MySQL audit/query logs if available. Look for authorization checks, tuple writes, or access events where the same object and relation are associated with user identifiers that differ only by letter casing. Focus on denied-then-allowed or unexpected-allowed access patterns involving case variants of the same identity string. Also compare application access logs with OpenFGA decisions to identify cases where a lower-privileged or newly created account accessed resources normally associated with a differently cased identity. If audit logs include request bodies, search for repeated OpenFGA Check, BatchCheck, Write, Read, Expand, or ListObjects activity involving case-variant user strings around sensitive objects.

What your security team should do

  • Inventory OpenFGA deployments and identify which ones use MySQL as the datastore.
  • Prioritize upgrading MySQL-backed OpenFGA deployments to 1.18.0 or later.
  • Review applications that rely on case-sensitive user identifiers or allow identities that differ only by case.
  • Add regression tests for case-distinct principals in authorization checks before and after the upgrade.
  • Search recent authorization logs for repeated checks involving the same object and relation with user identifiers that differ only by case.
  • If exploitation is suspected, review access to sensitive objects where authorization was granted to case-variant identities unexpectedly.
  • Document and enforce an organization-wide identity canonicalization policy for OpenFGA user strings.

The record

OpenFGA is an authorization/permission engine built for developers. Prior to 1.18.0, when MySQL is being used as the datastore and authorization decisions rely on case-sensitive user strings, the tuple, changelog, and authorization_model identifier columns can compare case-distinct values such as user:Alice and user:alice as equivalent, causing two distinct check requests to return the same response. This issue is fixed in 1.18.0.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities