# CVE-2022-31836

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-07-05 · Modified: 2024-08-03
- Aliases: GHSA-95f9-94vc-665h, GO-2022-0569
- Record: https://cvemate.com/vulnerability/CVE-2022-31836 · JSON: https://cvemate.com/vulnerability/CVE-2022-31836/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.689%, percentile 77.884%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- beego beego: ≤ 2.0.3
- github.com/astaxie beego (Go): All versions (No fix recorded)
- github.com/beego beego (Go): \< 1.12.11
- github.com/beego/beego v2 (Go): ≥ 2.0.0, \< 2.0.4

## References

- <https://github.com/beego/beego/issues/4961>
- <https://github.com/advisories/GHSA-95f9-94vc-665h>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31836>
- <https://github.com/beego/beego/pull/5025>
- <https://github.com/beego/beego/pull/5025/commits/ea5ae58d40589d249cf577a053e490509de2bf57>
- <https://github.com/beego/beego>
- <https://pkg.go.dev/vuln/GO-2022-0569>

---

Data as of 2026-12-05T18:29:38.291Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
