CVE-2022-39340: openfga Improper Authorization
Vulnerability summary
CVE-2022-39340 is a medium (CVSS 5.3) Improper Authorization vulnerability in openfga. EPSS estimates a 0.76% chance of exploitation in the next 30 days, higher than 54.3% of scored vulnerabilities.
Timeline
- 25-10-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
OpenFGA is an authorization/permission engine. Prior to version 0.2.4, the `streamed-list-objects` endpoint was not validating the authorization header, resulting in disclosure of objects in the store. Users `openfga/openfga` versions 0.2.3 and prior who are exposing the OpenFGA service to the internet are vulnerable. Version 0.2.4 contains a patch for this issue.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
0.76%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
+0.03 pp
From 0.73% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-285Improper AuthorizationThe product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.
- CWE-862Missing AuthorizationThe product does not perform an authorization check when an actor attempts to access a resource or perform an action.
Affected 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/779d73d4b6d067ee042ec9b59fec707eed71e42fWEBFIXPatchThird Party Advisory
- github.com/openfga/openfgaPACKAGE