CVE-2022-39340Openfga
Medium 5.3 No auth needed
Follow: this CVE · Openfga · Openfga We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 60
- Auth required
- No
- Published
- Oct 25, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
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.
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.2.4 |
0.2.4 |
go get github.com/openfga/openfga@v0.2.4 |
| Go | github.com/openfga/openfga |
< 0.2.4 |
0.2.4 |
go get github.com/openfga/openfga@v0.2.4 |
Per OSV / GitHub Advisories (GHSA-95x7-mh78-7w2r, GO-2022-1079). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| openfga | openfga | < 0.2.4 |
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