CVE-2022-23542Openfga
Critical 9.8 No auth needed
Follow: this CVE · Openfga · Openfga We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 67
- Auth required
- No
- Published
- Dec 20, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-285
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Openfga.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/openfga/openfga |
≥ 0.3.0 < 0.3.1 |
0.3.1 |
go get github.com/openfga/openfga@v0.3.1 |
| Go | github.com/openfga/openfga |
≥ 0.3.0 < 0.3.1 |
0.3.1 |
go get github.com/openfga/openfga@v0.3.1 |
Per OSV / GitHub Advisories (GHSA-m3q4-7qmj-657m, GO-2022-1179). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| openfga | openfga | < 0.3.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Third Party Advisory