Vulnerabilities · 2022 · Beego
CVE-2022-31259
Beego vulnerability
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).
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Beego. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Beego runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Beego products
CVE-2025-30223CVE-2024-55885CVE-2024-40465CVE-2024-40464CVE-2022-31836CVE-2021-39391CVE-2021-30080CVE-2021-27117All 12
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.