{"id":"CVE-2022-31836","aliases":["GHSA-95f9-94vc-665h","GO-2022-0569"],"url":"https://o3.security/vulnerability/CVE-2022-31836","summary":"Path Traversal in Beego","details":"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.","published":"2022-07-05T00:00:00Z","modified":"2026-08-12T03:51:22.238729855Z","cvss":{"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"},"epss":{"score":0.01615,"percentile":0.74786,"asOf":"2026-09-16"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Go","name":"github.com/beego/beego","fixedVersion":"1.12.11"},{"ecosystem":"Go","name":"github.com/beego/beego/v2","fixedVersion":"2.0.4"}],"fix":{"url":"https://github.com/beego/beego/pull/5025","label":"beego/beego#5025"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31836.json"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-95f9-94vc-665h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31836"},{"type":"REPORT","url":"https://github.com/beego/beego/issues/4961"},{"type":"WEB","url":"https://github.com/beego/beego/pull/5025"},{"type":"WEB","url":"https://github.com/beego/beego/pull/5025/commits/ea5ae58d40589d249cf577a053e490509de2bf57"},{"type":"PACKAGE","url":"https://github.com/beego/beego"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2022-0569"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:22.238729855Z"}}