Read the docs
TI-2022-13292 Aliases CVE-2022-31259GHSA-qx32-f6g6-fcfr

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

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—github.com/beego/beego/v2 (Go)before 2.0.32.0.3Patch availableGHSA-qx32-f6g6-fcfr
—github.com/beego/beego (Go)before 1.12.91.12.9Patch availableGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:beego:beego:*:*:*:*:*:*:*:*up to 1.12.4; 2.0.0 – 2.0.2Vulnerablebeego
  • cpe:2.3:a:beego:beego:*:*:*:*:*:*:*:* Versions up to 1.12.4; 2.0.0 – 2.0.2 Vulnerable ·beego

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

  1. 2026-10-02 Threatist record created from CVE-2022-31259
  2. 2026-10-03 Alias added: GHSA-qx32-f6g6-fcfr

References

  • 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
See all 11 →

Sources