# CVE-2022-39341: OpenFGA Authorization Bypass

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.17%, higher than 68% of CVEs (2026-12-01)
- Published: 2022-10-25T00:00:00.000Z
- Modified: 2026-06-17T04:58:10.557Z
- Also known as: GHSA-vj4m-83m8-xpw5, GO-2022-1080
- Weaknesses: CWE-285, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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

(As written by CVE List.)

## Affected

- openfga openfga: < 0.2.4; before 0.2.4
- github.com/openfga/openfga (Go): before 0.2.4

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/openfga/openfga/releases/tag/v0.2.4> (release-notes, third-party-advisory, web)
- <https://github.com/openfga/openfga/security/advisories/GHSA-vj4m-83m8-xpw5> (advisory, third-party-advisory, web)
- <https://github.com/openfga/openfga/commit/b466769cc100b2065047786578718d313f52695b> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-39341> (advisory)
- <https://github.com/openfga/openfga> (package)

## Sources

- CVE List: [CVE-2022-39341](https://www.cve.org/CVERecord?id=CVE-2022-39341), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-vj4m-83m8-xpw5](https://github.com/advisories/GHSA-vj4m-83m8-xpw5), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-1080](https://pkg.go.dev/vuln/GO-2022-1080), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2022-39341](https://nvd.nist.gov/vuln/detail/CVE-2022-39341), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-39341 · Whole record: https://cve.day/CVE-2022-39341.json · Rebuilt by cve.day 2026-11-25T22:58:15.996Z
