ADVISORIES

Vulnerability

CVE-2022-31259

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

2 advisories report this vulnerability, across 1 ecosystem.

Critical severity Go 2

Advisories

  • GHSA-qx32-f6g6-fcfr

    Access control bypass in beego

    Critical CVE-2022-31259 Go Updated 8 July 2026
  • GO-2022-0463

    Access control bypass due to broad route matching in github.com/beego/beego and beego/v2

    CVE-2022-31259 Go Updated 3 June 2024

References