Incorrect Authorization Affecting github.com/openfga/openfga/pkg/storage/storagewrappers package, versions >=1.8.0 <1.8.13


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMOPENFGAOPENFGAPKGSTORAGESTORAGEWRAPPERS-10245163
  • published25 May 2025
  • disclosed22 May 2025
  • creditUdaykiran R

Introduced: 22 May 2025

NewCVE-2025-48371  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade github.com/openfga/openfga/pkg/storage/storagewrappers to version 1.8.13 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization due to the improper handling of Check and ListObject API calls under specific conditions. An attacker can bypass authorization controls by exploiting the conditions where both type-bound public access and userset can assign relationships directly, especially when contextual tuples for the relationship are present and the user field of these tuples is a userset. This is only exploitable if the type bound public access tuples are not assigned to the relationship.

CVSS Base Scores

version 4.0
version 3.1