{"api_version":"1","generated_at":"2026-04-22T23:09:16+00:00","cve":"CVE-2022-39342","urls":{"html":"https://cve.report/CVE-2022-39342","api":"https://cve.report/api/cve/CVE-2022-39342.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-39342","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-39342"},"summary":{"title":"CVE-2022-39342","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-10-25 17:15:00","updated_at":"2023-11-07 03:50:00"},"problem_types":["NVD-CWE-Other"],"metrics":[],"references":[{"url":"https://github.com/openfga/openfga/releases/tag/v0.2.4","name":"https://github.com/openfga/openfga/releases/tag/v0.2.4","refsource":"MISC","tags":[],"title":"Release v0.2.4 · openfga/openfga · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/openfga/openfga/commit/c8db1ee3d2a366f18e585dd33236340e76e784c4","name":"https://github.com/openfga/openfga/commit/c8db1ee3d2a366f18e585dd33236340e76e784c4","refsource":"MISC","tags":[],"title":"Merge pull request from GHSA-f4mm-2r69-mg5f · openfga/openfga@c8db1ee · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/openfga/openfga/security/advisories/GHSA-f4mm-2r69-mg5f","name":"https://github.com/openfga/openfga/security/advisories/GHSA-f4mm-2r69-mg5f","refsource":"CONFIRM","tags":[],"title":"OpenFGA Authorization Bypass · Advisory · openfga/openfga · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-39342","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39342","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"39342","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"openfga","cpe5":"openfga","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-39342","STATE":"PUBLIC","TITLE":"OpenFGA Authorization Bypass"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"openfga","version":{"version_data":[{"version_value":"< 0.2.4"}]}}]},"vendor_name":"openfga"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-285: Improper Authorization"}]}]},"references":{"reference_data":[{"name":"https://github.com/openfga/openfga/security/advisories/GHSA-f4mm-2r69-mg5f","refsource":"CONFIRM","url":"https://github.com/openfga/openfga/security/advisories/GHSA-f4mm-2r69-mg5f"},{"name":"https://github.com/openfga/openfga/commit/c8db1ee3d2a366f18e585dd33236340e76e784c4","refsource":"MISC","url":"https://github.com/openfga/openfga/commit/c8db1ee3d2a366f18e585dd33236340e76e784c4"},{"name":"https://github.com/openfga/openfga/releases/tag/v0.2.4","refsource":"MISC","url":"https://github.com/openfga/openfga/releases/tag/v0.2.4"}]},"source":{"advisory":"GHSA-f4mm-2r69-mg5f","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-10-25 17:15:00","lastModifiedDate":"2023-11-07 03:50:00","problem_types":["NVD-CWE-Other"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:openfga:openfga:*:*:*:*:*:*:*:*","versionEndExcluding":"0.2.4","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}