CVE-2022-31836
highpriority · track · 40EPSS 0.017 · 77 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-95f9-94vc-665hPath Traversal in Beego2022-07-06ghsa · osvUS
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.
- GO-2022-0569Path traversal in github.com/beego/beego and beego/v22022-08-23vendor · osvUS
The leafInfo.match() function uses path.join() to deal with wildcard values which can lead to cross directory risk.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-31836/cnnvd
- https://github.com/advisories/GHSA-95f9-94vc-665hcnnvd
- https://github.com/beego/beegoPatchcnnvd
- https://github.com/beego/beego/issues/4961cnnvd
- https://github.com/advisories/GHSA-95f9-94vc-665henisa_euvd
- https://github.com/beego/beego/issues/4961enisa_euvd
- https://github.com/advisories/GHSA-95f9-94vc-665hnvd
- https://github.com/beego/beego/issues/4961ExploitIssue TrackingPatchThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan