All reports
Critical

Access control bypass in beego

Affected versions

Version ranges need review.

Affected versions
*
Fixed version
Not reported
Affected versions
<2.0.3
Fixed version
2.0.3
Affected versions
< 2.0.3
Fixed version
2.0.3
Affected versions
< 1.12.9
Fixed version
1.12.9
Affected versions
<1.12.9
Fixed version
1.12.9

Exploitation

CVE-2022-31259

Probability of exploitation in the next 30 days: 22.16%

FIRST EPSS · 2026-11-23

Description

The route lookup process in beego prior to 1.12.9 and 2.x prior to 2.0.3 allows attackers to bypass access control. When a /p1/p2/:name route is configured, attackers can access it by appending .xml in various places (e.g., p1.xml instead of p1).

Links