{"id":"CVE-2024-40465","aliases":["EUVD-2024-2441","GHSA-wr3p-r5fj-wf97"],"status":"published","title":"Beego privilege escalation vulnerability","description":"An issue in beego v.2.2.0 and before allows a remote attacker to escalate privileges via the getCacheFileName function in file.go file","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00431,"percentile":0.37619,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-327","CWE-328"],"published":"2024-07-31T00:00:00Z","modified":"2026-10-28T02:30:28Z","fixes":[{"ecosystem":"Go","package":"github.com/beego/beego/v2","fixed_in":["2.2.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/beego/beego/v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/beego/beego/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.2.1"}]}]}],"products":[{"vendor":"beego","product":"beego"}],"references":[{"url":"https://gist.github.com/nyxfqq/a5a2fc5147a1b34538e1ac05a3e56910","tags":["Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40465","tags":["advisory"]},{"url":"https://github.com/beego/beego/security/advisories/GHSA-6g9p-wv47-4fxq","tags":["web"]},{"url":"https://github.com/beego/beego/commit/5a366cd62b555354a917a2d153e6563fe4d6eb88","tags":["web"]},{"url":"https://github.com/beego/beego/commit/8f89e12e6cafb106d5c201dbc3b2a338bfde74e2","tags":["web"]},{"url":"https://github.com/advisories/GHSA-wr3p-r5fj-wf97"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40465.json","tags":["advisory"]},{"url":"https://github.com/beego/beego","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-40465","description":"An issue in beego v.2.2.0 and before allows a remote attacker to escalate privileges via the getCacheFileName function in file.go file","status":"published","published":"2024-07-31T00:00:00Z","modified":"2024-08-02T18:17:18.236Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-327","CWE-328"],"updated_at":"2026-11-02T14:34:06.811965Z"}],"euvd":[{"id":"EUVD-2024-2441","description":"An issue in beego v.2.2.0 and before allows a remote attacker to escalate privileges via the getCacheFileName function in file.go file","status":"published","published":"2024-07-31T00:00:00Z","modified":"2024-08-02T18:17:18Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T03:50:02.143491Z"}],"ghsa":[{"id":"GHSA-wr3p-r5fj-wf97","title":"Beego privilege escalation vulnerability","description":"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.","status":"published","published":"2024-07-31T21:32:38Z","modified":"2024-08-01T13:24:07Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-327","CWE-328"],"updated_at":"2026-11-02T14:37:57.422393Z"}],"nvd":[{"id":"CVE-2024-40465","description":"An issue in beego v.2.2.0 and before allows a remote attacker to escalate privileges via the getCacheFileName function in file.go file","status":"published","published":"2024-07-31T21:15:17.733Z","modified":"2026-06-17T07:45:55.303Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-327","CWE-328"],"updated_at":"2026-11-02T14:10:15.933769Z"}],"osv":[{"id":"CVE-2024-40465","description":"An issue in beego v.2.2.0 and before allows a remote attacker to escalate privileges via the getCacheFileName function in file.go file","status":"published","published":"2024-07-31T00:00:00Z","modified":"2026-10-28T02:30:28.858596628Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:41.618074Z"},{"id":"GHSA-wr3p-r5fj-wf97","title":"Beego privilege escalation vulnerability","description":"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.","status":"published","published":"2024-07-31T21:32:38Z","modified":"2026-09-10T03:50:17.107496785Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"},{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-327","CWE-328"],"updated_at":"2026-11-02T15:46:59.131095Z"}]}}
