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.
{
"cwe_ids": [
"CWE-22"
],
"github_reviewed": true,
"github_reviewed_at": "2022-07-06T20:01:19Z",
"nvd_published_at": "2022-07-05T15:15:00Z",
"severity": "CRITICAL"
}