{"id":"CVE-2024-40464","aliases":["EUVD-2024-2410","GHSA-r6qh-j42j-pw64","GO-2024-3016"],"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 sendMail function located in beego/core/logs/smtp.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.00569,"percentile":0.47394,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-295","CWE-599"],"published":"2024-07-31T00:00:00Z","modified":"2026-10-28T02:31:00Z","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"}]}]},{"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/b53b0148b9aa040de63f58a68fd11445","tags":["Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40464","tags":["advisory"]},{"url":"https://github.com/beego/beego/security/advisories/GHSA-6g9p-wv47-4fxq","tags":["web"]},{"url":"https://github.com/beego/beego/commit/8f89e12e6cafb106d5c201dbc3b2a338bfde74e2","tags":["web","fix"]},{"url":"https://github.com/advisories/GHSA-r6qh-j42j-pw64","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40464.json","tags":["advisory"]},{"url":"https://github.com/beego/beego","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-40464","description":"An issue in beego v.2.2.0 and before allows a remote attacker to escalate privileges via the sendMail function located in beego/core/logs/smtp.go file","status":"published","published":"2024-07-31T00:00:00Z","modified":"2024-08-06T17:58:28.66Z","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-599"],"updated_at":"2026-11-02T14:34:07.152829Z"}],"euvd":[{"id":"EUVD-2024-2410","description":"An issue in beego v.2.2.0 and before allows a remote attacker to escalate privileges via the sendMail function located in beego/core/logs/smtp.go file","status":"published","published":"2024-07-31T00:00:00Z","modified":"2024-08-06T17:58:28Z","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-03T01:56:24.379982Z"}],"ghsa":[{"id":"GHSA-r6qh-j42j-pw64","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 `sendMail` function located in the `beego/core/logs/smtp.go` file.","status":"published","published":"2024-07-31T21:32:38Z","modified":"2024-08-06T21:57:15Z","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-295","CWE-599"],"updated_at":"2026-11-02T14:37:58.427757Z"}],"nvd":[{"id":"CVE-2024-40464","description":"An issue in beego v.2.2.0 and before allows a remote attacker to escalate privileges via the sendMail function located in beego/core/logs/smtp.go file","status":"published","published":"2024-07-31T21:15:17.64Z","modified":"2026-06-17T07:45:55.143Z","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-295","CWE-599"],"updated_at":"2026-11-02T14:10:15.933769Z"}],"osv":[{"id":"CVE-2024-40464","description":"An issue in beego v.2.2.0 and before allows a remote attacker to escalate privileges via the sendMail function located in beego/core/logs/smtp.go file","status":"published","published":"2024-07-31T00:00:00Z","modified":"2026-10-28T02:31:00.48081919Z","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-r6qh-j42j-pw64","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 `sendMail` function located in the `beego/core/logs/smtp.go` file.","status":"published","published":"2024-07-31T21:32:38Z","modified":"2026-09-10T03:50:16.895354065Z","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-295","CWE-599"],"updated_at":"2026-11-02T15:46:55.480549Z"},{"id":"GO-2024-3016","title":"Beego privilege escalation vulnerability via sendMail in github.com/beego/beego/v2","description":"Beego privilege escalation vulnerability via sendMail in github.com/beego/beego/v2","status":"published","published":"2024-08-19T17:26:34Z","modified":"2026-02-04T02:16:01.522946Z","updated_at":"2026-11-02T15:47:01.453823Z"}]}}
