The route lookup process in beego before 1.12.9 and 2.x before 2.0.3 allows attackers to…
Priority MEDIUM 62CWE-284Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-284.
Summary
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).
Why it matters now
EPSS 0.22158 97th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed github.com/beego/beego/v2 (Go): 2.0.3github.com/beego/beego (Go): 1.12.9
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | github.com/beego/beego/v2 (Go) | before 2.0.3 | 2.0.3 | Patch available | GHSA-qx32-f6g6-fcfr |
| — | github.com/beego/beego (Go) | before 1.12.9 | 1.12.9 | Patch available | GHSA-qx32-f6g6-fcfr |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- github.com/beego/beego/v2 (Go) Vendor— Affected before 2.0.3 Fixed in 2.0.3 Patch available GHSA-qx32-f6g6-fcfr
- github.com/beego/beego (Go) Vendor— Affected before 1.12.9 Fixed in 1.12.9 Patch available GHSA-qx32-f6g6-fcfr
Remediation
- Fix · GHSA-qx32-f6g6-fcfr github.com/beego/beego/v2 (Go) Fixed in 2.0.3 Advisory →
- Fix · GHSA-qx32-f6g6-fcfr github.com/beego/beego (Go) Fixed in 1.12.9 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-31259
- 2026-10-03 Alias added: GHSA-qx32-f6g6-fcfr
References
Advisory 3
Other 7
- https://beego.vip
- https://github.com/beego/beego/pull/4954
- https://github.com/beego/beego/pull/4958
- https://github.com/beego/beego/commit/228576173a236c81a2122923fcf8099ad294e009
- https://github.com/beego/beego/commit/64cf44d725c8cc35d782327d333df9cbeb1bf2dd
- https://github.com/beego/beego
- https://pkg.go.dev/vuln/GO-2022-0463
More Beego vulnerabilities
- TI-2025-21559 Beego allows Reflected/Stored XSS in Beego's RenderForm() Function Due to Unescaped User Input CVSS 3.1CRITICAL 9.6
- TI-2022-13707 The leafInfo.match() function in Beego v2.0.3 and below uses path.join() to deal with… CVSS 3.1CRITICAL 9.8
- TI-2021-10653 An issue was discovered in the route lookup process in beego before 1.12.11 that allows… CVSS 3.1CRITICAL 9.8
- TI-2024-26936 An issue in beego v.2.2.0 and before allows a remote attacker to escalate privileges via… CVSS 3.1HIGH 8.8
- TI-2024-26937 An issue in beego v.2.2.0 and before allows a remote attacker to escalate privileges via… CVSS 3.1HIGH 8.8
- TI-2024-36951 Beego Vulnerable to Collision Hazards of MD5 in Cache Key Filenames CVSS 4.0MEDIUM 6.9
Sources
- CVE-2022-31259 · CVE Program
- CVE-2022-31259 · NVD
- FIRST EPSS
- GHSA-qx32-f6g6-fcfr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences