{"id":"GHSA-r6qh-j42j-pw64","revision":"7d42bdeb44534120947da89c6973cad5","records":[{"revision":"7d42bdeb44534120947da89c6973cad5","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-r6qh-j42j-pw64","aliases":["CVE-2024-40464","GO-2024-3016"],"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.","state":0,"publishedAt":"2024-07-31T21:32:38+00:00","modifiedAt":"2026-09-10T03:50:16.8953541+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-40464","https://github.com/beego/beego/commit/8f89e12e6cafb106d5c201dbc3b2a338bfde74e2","https://gist.github.com/nyxfqq/b53b0148b9aa040de63f58a68fd11445","https://github.com/beego/beego"],"sourceUrl":"https://github.com/advisories/GHSA-r6qh-j42j-pw64","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-r6qh-j42j-pw64","identifiers":["GHSA-r6qh-j42j-pw64","CVE-2024-40464","GO-2024-3016"]},"retained":false,"historicalAffected":[]}],"coverage":[]}