{"id":"CVE-2024-40465","aliases":["GHSA-wr3p-r5fj-wf97"],"url":"https://o3.security/vulnerability/CVE-2024-40465","summary":"Beego privilege escalation vulnerability","details":"An issue in beego v.2.2.0 and before allows a remote attacker to escalate privileges via the `getCacheFileName` function in the `file.go` file.","published":"2024-07-31T00:00:00Z","modified":"2026-10-28T02:30:28.858596628Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/beego/beego/v2","fixedVersion":"2.2.1"}],"fix":{"url":"https://github.com/beego/beego/commit/5a366cd62b555354a917a2d153e6563fe4d6eb88","label":"beego/beego@5a366cd"},"references":[{"type":"WEB","url":"https://gist.github.com/nyxfqq/a5a2fc5147a1b34538e1ac05a3e56910"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40465.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40465"},{"type":"WEB","url":"https://github.com/beego/beego/security/advisories/GHSA-6g9p-wv47-4fxq"},{"type":"WEB","url":"https://github.com/beego/beego/commit/5a366cd62b555354a917a2d153e6563fe4d6eb88"},{"type":"WEB","url":"https://github.com/beego/beego/commit/8f89e12e6cafb106d5c201dbc3b2a338bfde74e2"},{"type":"PACKAGE","url":"https://github.com/beego/beego"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:30:28.858596628Z"}}