CVE-2022-39342: openfga Improper Authorization
Vulnerability summary
CVE-2022-39342 is a critical (CVSS 9.8) Improper Authorization vulnerability in openfga. EPSS estimates a 0.95% chance of exploitation in the next 30 days, higher than 60.6% of scored vulnerabilities.
Timeline
- 25-10-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
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 metrics
3 scores · 3 sources · 1 version- CVE.orgCNA5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NDiffers
- OSV · GoEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NDiffers
EPSS trend
Probability
0.95%
Chance of exploitation in the next 30 days
Percentile
61%
Versus all other CVEs
30-day change
+0.02 pp
From 0.93% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Github.com/openfga1 product
- openfga< 0.2.4
Openfga1 product
- openfga< 0.2.4
2 vendors · 2 products
References
5 links- github.com/openfga/openfga/commit/c8db1ee3d2a366f18e585dd33236340e76e784c4WEBFIXPatchThird Party Advisory
- github.com/openfga/openfgaPACKAGE