CVE-2024-40464: Beego privilege escalation vulnerability
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 Jul 31, 2024 · Updated Aug 6, 2024
Affected packages
github.com/beego/beego/v2
- Ecosystem
- Go
- Affected
- < 2.2.1
- Fixed in
- 2.2.1
- Check
go list -m github.com/beego/beego/v2
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-40464
- https://gist.github.com/nyxfqq/b53b0148b9aa040de63f58a68fd11445
- https://github.com/beego/beego/security/advisories/GHSA-6g9p-wv47-4fxq
- https://github.com/beego/beego/commit/8f89e12e6cafb106d5c201dbc3b2a338bfde74e2
- https://github.com/advisories/GHSA-r6qh-j42j-pw64
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2025-30223
Beego allows Reflected/Stored XSS in Beego's RenderForm() Function Due to Unescaped User Input
critical9.3No fixMar 31, 2025CVE-2024-55885
Beego has Collision Hazards of MD5 in Cache Key Filenames
medium6.9No fixDec 12, 2024CVE-2024-40465
Beego privilege escalation vulnerability
high8.8Jul 31, 2024
