# CVE-2022-23542: OpenFGA Authorization Bypass

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L`
- 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.01%, higher than 64% of CVEs (2026-12-01)
- Published: 2022-12-20T19:33:27.000Z
- Modified: 2026-06-17T04:30:19.517Z
- Also known as: GHSA-m3q4-7qmj-657m, GO-2022-1179
- Weaknesses: CWE-285
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

OpenFGA is an authorization/permission engine built for developers and inspired by Google Zanzibar. During an internal security assessment, it was discovered that OpenFGA version 0.3.0 is vulnerable to authorization bypass under certain conditions. This issue has been patched in version 0.3.1 and is backward compatible.

(As written by CVE List.)

## Affected

- openfga openfga: = 0.3.0; before 0.3.1
- github.com/openfga/openfga (Go): from 0.3.0 before 0.3.1

## Every score

- GitHub_M: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L`
- GitHub: rating High
- 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-m3q4-7qmj-657m> (advisory, third-party-advisory, web)
- <https://github.com/openfga/openfga/pull/422> (fix, patch, third-party-advisory, web)
- <https://github.com/openfga/openfga/releases/tag/v0.3.1> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-23542> (advisory)
- <https://github.com/openfga/openfga> (package)

## Sources

- CVE List: [CVE-2022-23542](https://www.cve.org/CVERecord?id=CVE-2022-23542), CVE Terms of Use, modified 2025-04-16
- GitHub Advisory Database: [GHSA-m3q4-7qmj-657m](https://github.com/advisories/GHSA-m3q4-7qmj-657m), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-1179](https://pkg.go.dev/vuln/GO-2022-1179), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2022-23542](https://nvd.nist.gov/vuln/detail/CVE-2022-23542), Public domain, modified 2026-06-17

---

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