All reports
Critical

Path Traversal in Beego

Affected versions

Version ranges need review.

Affected versions
*
Fixed version
Not reported
Affected versions
>= 2.0.0, < 2.0.4
Fixed version
2.0.4
Affected versions
>=2.0.0 <2.0.4
Fixed version
2.0.4
Affected versions
<1.12.11
Fixed version
1.12.11
Affected versions
< 1.12.11
Fixed version
1.12.11

Exploitation

CVE-2022-31836

Probability of exploitation in the next 30 days: 1.69%

FIRST EPSS · 2026-11-24

Description

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.

Links