CVE-2025-25196CWE-285

OpenFGA Authorization Bypass

Medium · published February 19, 2025

CVSS v4.0
5.8
EPSS
0%
Percentile
36.7
In the wild
Unconfirmed
What it is

⚠️ An authorization bypass is hiding in OpenFGA versions before 1.8.4! When certain API calls meet specific conditions, it’s like letting someone into a VIP area without checking their ID! Think of OpenFGA like a café where certain tables are reserved for specific groups. If a server mistakenly allows anyone to sit at a reserved table because they weren’t paying attention, that's what can happen here behind the scenes — unauthorized access that shouldn't be granted. An attacker could exploit this vulnerability to gain unauthorized access to resources, potentially exposing sensitive information or manipulating data without proper permissions. This can lead to a loss of trust in the system and security breaches that could compromise user data.

Put simply

Think of OpenFGA like a café where certain tables are reserved for specific groups. If a server mistakenly allows anyone to sit at a reserved table because they weren’t paying attention, that's what can happen here behind the scenes — unauthorized access that shouldn't be granted. This vulnerability occurs when the Check API or ListObjects method is called with conditions that allow a relationship to bypass the intended authorization checks, granting access where it shouldn’t be. Specifically, this happens when public access is assigned without proper restrictions based on user types.

What to do

An attacker could exploit this vulnerability to gain unauthorized access to resources, potentially exposing sensitive information or manipulating data without proper permissions. This can lead to a loss of trust in the system and security breaches that could compromise user data. To mitigate this vulnerability, upgrade OpenFGA to version 1.8.5 or later. Make sure to review your access policies to ensure they are correctly configured to prevent unauthorized access. As there are no known workarounds, immediate action is critical! You've got this! 🛡️ With a quick upgrade, you'll be back to securing your application like a pro!

The record
Technical detail
CVSS v4.0
5.8 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
EPSS
0.00434 · 36.7th percentile
Weakness
CWE-285 · Improper Authorization
Published
2025-02-19T20:18Z
EPSS history
Timeline
  • 19 FEB 20:18Z
    OpenFGA Authorization Bypass
    cvelistv5