{"id":"CVE-2024-40464","aliases":["GHSA-r6qh-j42j-pw64","GO-2024-3016"],"url":"https://o3.security/vulnerability/CVE-2024-40464","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 `sendMail` function located in the `beego/core/logs/smtp.go` file.","published":"2024-07-31T00:00:00Z","modified":"2026-10-28T02:31:00.480819190Z","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/8f89e12e6cafb106d5c201dbc3b2a338bfde74e2","label":"beego/beego@8f89e12"},"references":[{"type":"WEB","url":"https://gist.github.com/nyxfqq/b53b0148b9aa040de63f58a68fd11445"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40464.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40464"},{"type":"WEB","url":"https://github.com/beego/beego/security/advisories/GHSA-6g9p-wv47-4fxq"},{"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:31:00.480819190Z"}}