# CVE-2022-39342: 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-02)
- Published: 2022-10-25T00:00:00.000Z
- Modified: 2026-06-17T04:58:10.670Z
- Also known as: GHSA-f4mm-2r69-mg5f, GO-2022-1081
- 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 whose model has a relation defined as a tupleset (the right hand side of a ‘from’ statement) that involves anything other than a direct relationship (e.g. ‘as self’) 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/security/advisories/GHSA-f4mm-2r69-mg5f> (advisory, third-party-advisory, web)
- <https://github.com/openfga/openfga/commit/c8db1ee3d2a366f18e585dd33236340e76e784c4> (fix, patch, third-party-advisory, web)
- <https://github.com/openfga/openfga/releases/tag/v0.2.4> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-39342> (advisory)
- <https://github.com/openfga/openfga> (package)

## Sources

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

---

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