CVE-2022-23542
criticalpriority · track · 39EPSS 0.010 · 62 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.7–9.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-m3q4-7qmj-657mOpenFGA Authorization Bypass2022-12-20ghsa · osvUS
### Overview During our internal security assessment, it was discovered that OpenFGA versions v0.3.0 is vulnerable to authorization bypass under certain conditions. ### Am I Affected? You are affected by this vulnerability if **all** of the following applies: 1. You are using OpenFGA v0.3.0 2. You created a model using modeling language v1.1 that applies a type restriction to an object e.g. `define viewer: [user]` 3. You created tuples based on the aforementioned model, e.g. `document:1#viewer@user:jon` 4. You updated the previous model by adding a new type and replacing the previous restriction with the newly added type e.g. `define viewer: [employee]` 5. You use the tuples created against the first model (step 3) and issue checks against the updated model e.g. `user=user:jon, relation=viewer, object:document:1` ### How to fix that? Upgrade to version v0.3.1 ### Backward Compatibility This update is backward compatible.
- GO-2022-1179OpenFGA Authorization Bypass in github.com/openfga/openfga2024-08-21vendor · osvUS
OpenFGA Authorization Bypass in github.com/openfga/openfga
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-23542/cnnvd
- https://github.com/openfga/openfga/pull/422cnnvd
- https://github.com/openfga/openfga/releases/tag/v0.3.1cnnvd
- https://github.com/openfga/openfga/security/advisories/GHSA-m3q4-7qmj-657mcnnvd
- https://github.com/openfga/openfga/pull/422enisa_euvd
- https://github.com/openfga/openfga/releases/tag/v0.3.1enisa_euvd
- https://github.com/openfga/openfga/security/advisories/GHSA-m3q4-7qmj-657menisa_euvd
- https://github.com/openfga/openfga/pull/422PatchThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan