{"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-07-15T01:48:56.337772779Z","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":null,"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":null,"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:48:56.337772779Z"}}