Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/openfga/openfga
  4. ›
  5. CVE-2022-39341

CVE-2022-39341: Incorrect Authorization

October 25, 2022

OpenFGA is an authorization/permission engine. Versions prior to version 0.2.4 is vulnerable to authorization bypass under certain conditions. Users who have wildcard (*) defined on tupleset relations in their authorization model is vulnerable. Version 0.2.4 contains a patch for this issue.

References

  • github.com/advisories/GHSA-vj4m-83m8-xpw5
  • github.com/openfga/openfga/commit/b466769cc100b2065047786578718d313f52695b
  • github.com/openfga/openfga/releases/tag/v0.2.4
  • github.com/openfga/openfga/security/advisories/GHSA-vj4m-83m8-xpw5
  • nvd.nist.gov/vuln/detail/CVE-2022-39341

Code Behaviors & Features

Detect and mitigate CVE-2022-39341 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 0.2.3

Fixed versions

  • v0.2.4

Solution

Upgrade to version 0.2.4 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

go/github.com/openfga/openfga/CVE-2022-39341.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 18 Nov 2026 12:17:51 +0000.