CVE-2022-31259: Beego

Critical severity, CVSS 9.8. EPSS: 22.2% chance of exploitation in the next 30 days.

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).

Affected products

  • Beego Beego: up to and including 1.12.4; from 2.0.0, up to and including 2.0.2

Published 2022-05-21. Last modified 2026-06-17.