{"id":"CVE-2021-30080","aliases":["EUVD-2022-1592","GHSA-28r6-jm5h-mrgg","GO-2022-0572"],"status":"published","title":"Access control bypass in Beego","description":"An issue was discovered in the route lookup process in beego before 1.12.11 that allows attackers to bypass access control.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.01259,"percentile":0.69968,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2022-04-05T15:37:04Z","modified":"2026-10-24T10:50:07Z","fixes":[{"ecosystem":"Go","package":"github.com/beego/beego/v2","fixed_in":["2.0.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/beego/beego/v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.3"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/beego/beego","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.12.11"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/beego/beego/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.0.3"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/beego/beego","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.12.11"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/astaxie/beego","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/beego/beego","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/beego/beego/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.0.3"}]}]}],"products":[{"vendor":"beego","product":"beego"}],"references":[{"url":"https://github.com/beego/beego/commit/d5df5e470d0a8ed291930ae802fd7e6b95226519","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/beego/beego/releases/tag/v1.12.11","tags":["x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-30080","tags":["advisory"]},{"url":"https://github.com/beego/beego/pull/4459","tags":["web","fix"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0572","tags":["web"]},{"url":"https://github.com/advisories/GHSA-28r6-jm5h-mrgg"},{"url":"https://github.com/beego/beego","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-30080","description":"An issue was discovered in the route lookup process in beego before 1.12.11 that allows attackers to bypass access control.","status":"published","published":"2022-04-05T15:37:04Z","modified":"2024-08-03T22:24:59.406Z","updated_at":"2026-11-02T14:33:02.20241Z"}],"euvd":[{"id":"EUVD-2022-1592","description":"An issue was discovered in the route lookup process in beego before 1.12.11 that allows attackers to bypass access control.","status":"published","published":"2022-04-05T15:37:04Z","modified":"2024-08-03T22:24:59Z","updated_at":"2026-11-03T03:24:42.48986Z"}],"ghsa":[{"id":"GHSA-28r6-jm5h-mrgg","title":"Access control bypass in Beego","description":"An issue was discovered in the route lookup process in beego through 2.0.1, allows attackers to bypass access control.","status":"published","published":"2022-04-06T00:01:30Z","modified":"2023-02-14T18:16:57Z","updated_at":"2026-11-02T14:36:45.67005Z"}],"nvd":[{"id":"CVE-2021-30080","description":"An issue was discovered in the route lookup process in beego before 1.12.11 that allows attackers to bypass access control.","status":"published","published":"2022-04-05T16:15:12.123Z","modified":"2026-06-17T03:49:40.17Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:07:05.581807Z"}],"osv":[{"id":"CVE-2021-30080","description":"An issue was discovered in the route lookup process in beego before 1.12.11 that allows attackers to bypass access control.","status":"published","published":"2022-04-05T16:15:12.123Z","modified":"2026-10-24T10:50:07.767308774Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:19.483607Z"},{"id":"GHSA-28r6-jm5h-mrgg","title":"Access control bypass in Beego","description":"An issue was discovered in the route lookup process in beego through 2.0.1, allows attackers to bypass access control.","status":"published","published":"2022-04-06T00:01:30Z","modified":"2023-11-08T04:05:44.494897Z","updated_at":"2026-11-02T15:46:33.956911Z"},{"id":"GO-2022-0572","title":"Access control bypass via incorrect route lookup in github.com/beego/beego and beego/v2","description":"An issue was discovered in the route lookup process in beego which attackers to bypass access control.","status":"published","published":"2022-08-22T17:56:17Z","modified":"2024-05-20T16:03:47Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
