CVE-2022-39342
criticalpriority · track · 39OT risk · elevatedEPSS 0.011 · 67 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 5.9–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-f4mm-2r69-mg5fOpenFGA Authorization Bypass2022-10-25ghsa · osvUS
### Overview During our internal security assessment, it was discovered that OpenFGA versions `v0.2.3` and prior are vulnerable to authorization bypass under certain conditions. ### Am I Affected? You are affected by this vulnerability if you are using `openfga/openfga` version `v0.2.3` or prior, and your 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’) ### How to fix that? Upgrade to version `v0.2.4`. ### Backward Compatibility This update is not backward compatible. Any model involving rewritten tupleset relations will no longer be acceptable and has to be modified.
- GO-2022-1081OpenFGA 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-39342/cnnvd
- https://github.com/openfga/openfga/commit/c8db1ee3d2a366f18e585dd33236340e76e784c4cnnvd
- https://github.com/openfga/openfga/releases/tag/v0.2.4cnnvd
- https://github.com/openfga/openfga/security/advisories/GHSA-f4mm-2r69-mg5fcnnvd
- https://github.com/openfga/openfga/commit/c8db1ee3d2a366f18e585dd33236340e76e784c4enisa_euvd
- https://github.com/openfga/openfga/releases/tag/v0.2.4enisa_euvd
- https://github.com/openfga/openfga/security/advisories/GHSA-f4mm-2r69-mg5fenisa_euvd
- https://github.com/openfga/openfga/commit/c8db1ee3d2a366f18e585dd33236340e76e784c4PatchThird 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