{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-39342","published":"2022-10-25T17:15:56.333000Z","last_modified":"2026-06-17T04:58:10.670000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-285"],"cpes":[{"criteria":"cpe:2.3:a:openfga:openfga:*:*:*:*:*:*:*:*","part":"a","vendor":"openfga","product":"openfga","version_end_excluding":"0.2.4"}],"cpes_truncated":false,"vendors":["openfga"],"products":["openfga/openfga"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.01222,"percentile":0.68685,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-f4mm-2r69-mg5f","ecosystem":"Go","name":"github.com/openfga/openfga","purl":"pkg:golang/github.com/openfga/openfga","ranges":[{"introduced":"0","fixed":"0.2.4"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2022-1081","ecosystem":"Go","name":"github.com/openfga/openfga","purl":"pkg:golang/github.com/openfga/openfga","ranges":[{"introduced":"0","fixed":"0.2.4"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2022-39342/","html_en":"/en/cve/CVE-2022-39342/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-39342","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-39342"},"untrusted":{"vendor_name":"Openfga","product_name":"Openfga","desc_en":"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.","affected":[{"untrusted_vendor":"openfga","untrusted_product":"openfga","versions":[]}],"references":[{"url":"https://github.com/openfga/openfga/commit/c8db1ee3d2a366f18e585dd33236340e76e784c4","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/openfga/openfga/releases/tag/v0.2.4","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/openfga/openfga/security/advisories/GHSA-f4mm-2r69-mg5f","tags":["Third Party Advisory"]}]}}