An issue was discovered in the route lookup process in beego before 1.12.11 that allows attackers to bypass access control.
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.