CVE-2024-40464: An issue in beego v.2.2.0 and before allows a remote attacker to escalate privileges via the sendMail function
CVE-2024-40464 is a high-severity flaw (CVSS 8.8) affecting beego. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-40464?
beego: upgrade to 2.2.1. Exact commands for each OS are on this page.
Is CVE-2024-40464 being exploited?
CVE-2024-40464 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-40464 affect?
CVE-2024-40464 affects beego. Severity is high (CVSS 8.8). 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
How urgent is CVE-2024-40464?
Priority 43/100. High severity
Related CVEs
- CVE-2025-30223 CRITICAL 9.3 UPGRADE Beego is an open-source web framework for the Go programming language
- CVE-2024-55885 HIGH 7.5 UPGRADE beego is an open-source web framework for the Go programming language
- CVE-2024-40465 HIGH 8.8 UPGRADE An issue in beego v.2.2.0 and before allows a remote attacker to escalate privileges via the getCacheFileName