{"id":"CVE-2022-39340","aliases":["CVE-2022-39340","GHSA-95x7-mh78-7w2r","GO-2022-1079"],"related":[],"kind":"vulnerability","state":"published","title":"OpenFGA Information Disclosure","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Overview\nDuring our internal security assessment, it was discovered that `streamed-list-objects` endpoint was not validating the authorization header resulting in the disclosure of objects in the store.\n\n### Am I Affected?\nYou are affected by this vulnerability if you are using `openfga/openfga` version `v0.2.3` or prior and you are exposing the OpenFGA service to the internet.\n\n### How to fix that?\nUpgrade to version `v0.2.4`.\n\n### Backward Compatibility\nThis update is backward compatible.","format":"markdown","source":"ghsa"},{"lang":"en","text":"OpenFGA subject to Information Disclosure via streamed-list-objects endpoint in github.com/openfga/openfga","format":"markdown","source":"go"},{"lang":"es","text":"OpenFGA es un motor de autorización/permiso. versiones anteriores a 0.2.4, el endpoint \"streamed-list-objects\" no estaba comprendiendo el encabezado de autorización, resultando en una divulgación de objetos en el almacén. Los usuarios de versiones 0.2.3 y anteriores de \"openfga/openfga\" que exponen el servicio OpenFGA a Internet son vulnerables. La versión 0.2.4 contiene un parche para este problema","source":"nvd"}],"published":"2022-10-25T00:00:00.000Z","modified":"2026-06-17T04:58:10.447Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-285","CWE-862","CWE-863"],"affected":[{"ranges":[{"version":"< 0.2.4","status":"affected"}],"vendor":"openfga","product":"openfga","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.2.4"}],"ecosystem":"Go","package":"github.com/openfga/openfga","purl":"pkg:golang/github.com/openfga/openfga","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.2.4"}],"ecosystem":"Go","package":"github.com/openfga/openfga","purl":"pkg:golang/github.com/openfga/openfga","source":"go"},{"ranges":[{"status":"affected","fixed":"0.2.4"}],"vendor":"openfga","product":"openfga","cpe":"cpe:2.3:a:openfga:openfga:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/openfga/openfga/releases/tag/v0.2.4","tags":["release-notes","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/openfga/openfga/security/advisories/GHSA-95x7-mh78-7w2r","tags":["advisory","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/openfga/openfga/commit/779d73d4b6d067ee042ec9b59fec707eed71e42f","tags":["fix","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39340","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/openfga/openfga","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-04-23T15:49:46.394Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-39340","url":"https://www.cve.org/CVERecord?id=CVE-2022-39340","licence":"CVE Terms of Use","modified":"2025-04-23T16:44:22.229Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-95x7-mh78-7w2r","url":"https://github.com/advisories/GHSA-95x7-mh78-7w2r","licence":"CC-BY-4.0","modified":"2024-08-21T16:28:43.570Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-1079","url":"https://pkg.go.dev/vuln/GO-2022-1079","licence":"CC-BY-4.0","modified":"2026-03-03T04:52:43.427Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-39340","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39340","licence":"Public domain","modified":"2026-06-17T04:58:10.447Z"}],"updatedAt":"2026-11-25T22:58:15.996Z","epss":{"score":0.00929,"percentile":0.61618,"date":"2026-12-01T12:00:22.000Z"}}