cve.bz

CVE-2022-31259

9.8 criticalEPSS 22%

Critical (9.8) in beego beego. EPSS 22% chance of exploitation in the next 30 days. Fixed in github.com/beego/beego/v2 2.0.3.

The route lookup process in beego before 1.12.9 and 2.x before 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).

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
22% chance of exploitation in the next 30 days; higher than 97% of CVEs (scores of 2026-10-31)
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qx32-f6g6-fcfrGogithub.com/beego/beego/v2<2.0.32.0.3
GHSA-qx32-f6g6-fcfrGogithub.com/beego/beego<1.12.91.12.9
GO-2022-0463Gogithub.com/astaxie/beegoall versionsno fix published
GO-2022-0463Gogithub.com/beego/beego<1.12.91.12.9
GO-2022-0463Gogithub.com/beego/beego/v2<2.0.32.0.3

References

Check your stackJSON