Security mailing lists by PureSourceCode

CVE-2022-31836

CRITICAL 9.8CVSS 3.1

Path Traversal in Beego

The leafInfo.match() function in Beego v2.0.3 and below uses path.join() to deal with wildcardvalues which can lead to cross directory risk.

Published
5 Jul 2022
Last modified
8 Jul 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-22
Also known as
GHSA-95f9-94vc-665hGO-2022-0569
Sources
NVDJSONOSV GHSA-95f9-94vc-665hJSONOSV GO-2022-0569JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD beego beego
cpe:2.3:a:beego:beego:*:*:*:*:*:*:*:*
<= 2.0.3
OSV Go github.com/beego/beego < 1.12.11 1.12.11
OSV Go github.com/beego/beego/v2 >= 2.0.0, < 2.0.4 2.0.4
OSV Go github.com/astaxie/beego all versions

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 5 Jul 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Aug 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 6 Jul 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.