CVE-2022-31259

CRITICAL
Published May 21, 20224y ago · Modified Jun 17, 20262w ago
9.8 CVSS 3.1
Critical
Find Similar
Published May 21, 2022 4y ago
Last Modified Jun 17, 2026 2w ago

Description

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

CVSS Details

Base Score
9.8
Exploitability
3.9
Impact
5.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

No active exploitation signals — not in CISA KEV and no EPSS score yet.

Exploit & Patch Status
Public Exploit Known
Patch Available

Affected Products 2

VendorProductVersionRange
beegobeego* ≤1.12.4
beegobeego*≥2.0.0  –  ≤2.0.2

References 4

  • beego.vip https://beego.vip
    Product
  • github.com https://github.com/advisories/GHSA-qx32-f6g6-fcfr
  • github.com https://github.com/beego/beego/issues/4946
    ExploitIssue TrackingPatchThird Party Advisory
  • github.com https://github.com/beego/beego/tree/v2.0.2
    Release NotesThird Party Advisory

Remediation

  • github.com https://github.com/beego/beego/issues/4946
    ExploitIssue TrackingPatchThird Party Advisory