{"id":"GHSA-wr3p-r5fj-wf97","revision":"e47e5e5866054ecf93e7524f708f0bad","records":[{"revision":"e47e5e5866054ecf93e7524f708f0bad","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-wr3p-r5fj-wf97","aliases":["CVE-2024-40465"],"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.","state":0,"publishedAt":"2024-07-31T21:32:38+00:00","modifiedAt":"2026-09-10T03:50:17.1074968+00:00","affected":[{"ecosystem":"Go","name":"github.com/beego/beego/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.2.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"CVSS_V4","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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/beego/beego/security/advisories/GHSA-6g9p-wv47-4fxq","https://nvd.nist.gov/vuln/detail/CVE-2024-40465","https://github.com/beego/beego/commit/5a366cd62b555354a917a2d153e6563fe4d6eb88","https://github.com/beego/beego/commit/8f89e12e6cafb106d5c201dbc3b2a338bfde74e2","https://gist.github.com/nyxfqq/a5a2fc5147a1b34538e1ac05a3e56910","https://github.com/beego/beego"],"sourceUrl":"https://github.com/advisories/GHSA-wr3p-r5fj-wf97","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-wr3p-r5fj-wf97","identifiers":["GHSA-wr3p-r5fj-wf97","CVE-2024-40465"]},"retained":false,"historicalAffected":[]}],"coverage":[]}