CVE-2022-31259: beego
Vulnerability summary
CVE-2022-31259 is a critical (CVSS 9.8) vulnerability in beego. EPSS estimates a 22.16% chance of exploitation in the next 30 days, higher than 97.7% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 21-05-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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 metrics
3 scores · 2 sources · 2 versions- OSV · GoEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
22.16%
Chance of exploitation in the next 30 days
Percentile
98%
Versus all other CVEs
30-day change
No change 0.00 pp
From 22.16% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundBeego
Maturity: poc
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Beego1 product
- beego≤ 1.12.4 | ≥ 2.0.0, ≤ 2.0.2
Github.com/astaxie1 product
- beegoAll versions (No fix recorded)
Github.com/beego1 product
- beego< 1.12.9
Github.com/beego/beego1 product
- v2< 2.0.3
4 vendors · 4 products
References
11 links- beego.vipProduct
- github.com/beego/beegoPACKAGE