# CVE-2022-39342: OpenFGA Authorization Bypass

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-10-25 · Modified: 2025-04-23
- Aliases: GHSA-f4mm-2r69-mg5f, GO-2022-1081
- Record: https://cvemate.com/vulnerability/CVE-2022-39342 · JSON: https://cvemate.com/vulnerability/CVE-2022-39342/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.169%, percentile 68.457%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

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

## References

- <https://github.com/openfga/openfga/security/advisories/GHSA-f4mm-2r69-mg5f>
- <https://github.com/openfga/openfga/commit/c8db1ee3d2a366f18e585dd33236340e76e784c4>
- <https://github.com/openfga/openfga/releases/tag/v0.2.4>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-39342>
- <https://github.com/openfga/openfga>

---

Data as of 2026-12-05T11:10:47.380Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
