{"id":"CVE-2022-31259","aliases":["GHSA-qx32-f6g6-fcfr","GO-2022-0463"],"url":"https://o3.security/vulnerability/CVE-2022-31259","summary":"Access control bypass in beego","details":"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).","published":"2022-05-21T00:00:00Z","modified":"2026-07-15T01:49:04.393565433Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Go","name":"github.com/beego/beego/v2","fixedVersion":"2.0.3"},{"ecosystem":"Go","name":"github.com/beego/beego","fixedVersion":"1.12.9"}],"fix":null,"references":[{"type":"WEB","url":"https://beego.vip"},{"type":"WEB","url":"https://github.com/beego/beego/tree/v2.0.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31259.json"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-qx32-f6g6-fcfr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31259"},{"type":"REPORT","url":"https://github.com/beego/beego/issues/4946"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:04.393565433Z"}}