Skip to content
Fencer Vulns
critical 9.8

CVE-2022-31259 in the critical feed json

Access control bypass in beego

published 2022-05-21 4 y ago modified 2026-07-08 4 mo ago also GHSA-qx32-f6g6-fcfr , GO-2022-0463 , EUVD-2022-5053

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
22.2%
EPSS 22.2% chance of exploitation in 30 days, percentile 97%
public exploits
0
none known

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

Patch / fix

  • go github.com/beego/beego/v2 2.0.3
  • go github.com/beego/beego 1.12.9

Exploit prediction

22.16% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/beego/beego/issues/4946 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P
GitHub 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
go github.com/beego/beego/v2
<2.0.3
2.0.3
go github.com/beego/beego
<1.12.9
1.12.9
go github.com/astaxie/beego
all versions
no fix listed

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.