{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-31836","published":"2022-07-05T15:15:08.750000Z","last_modified":"2026-06-17T04:46:22.427000Z","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-22"],"cpes":[{"criteria":"cpe:2.3:a:beego:beego:*:*:*:*:*:*:*:*","part":"a","vendor":"beego","product":"beego","version_end_including":"2.0.3"}],"cpes_truncated":false,"vendors":["beego"],"products":["beego/beego"],"epss":{"score":0.01379,"percentile":0.72302,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GO-2022-0569","ecosystem":"Go","name":"github.com/astaxie/beego","purl":"pkg:golang/github.com/astaxie/beego","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-95f9-94vc-665h","ecosystem":"Go","name":"github.com/beego/beego","purl":"pkg:golang/github.com/beego/beego","ranges":[{"introduced":"0","fixed":"1.12.11"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2022-0569","ecosystem":"Go","name":"github.com/beego/beego","purl":"pkg:golang/github.com/beego/beego","ranges":[{"introduced":"0","fixed":"1.12.11"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-95f9-94vc-665h","ecosystem":"Go","name":"github.com/beego/beego/v2","purl":"pkg:golang/github.com/beego/beego/v2","ranges":[{"introduced":"2.0.0","fixed":"2.0.4"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2022-0569","ecosystem":"Go","name":"github.com/beego/beego/v2","purl":"pkg:golang/github.com/beego/beego/v2","ranges":[{"introduced":"2.0.0","fixed":"2.0.4"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2022-31836/","html_en":"/en/cve/CVE-2022-31836/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-31836","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-31836"},"untrusted":{"vendor_name":"Beego","product_name":"Beego","desc_en":"The leafInfo.match() function in Beego v2.0.3 and below uses path.join() to deal with wildcardvalues which can lead to cross directory risk.","affected":[],"references":[{"url":"https://github.com/advisories/GHSA-95f9-94vc-665h","tags":[]},{"url":"https://github.com/beego/beego/issues/4961","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory"]}]}}