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 beego/core/logs/smtp.go file
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
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
- Record
CVE-2024-40464- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-295, CWE-599
- Updated
- 2026-11-02
CVE List
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
- Record
CVE-2024-40464- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-599
- Updated
- 2026-11-02
EUVDEUVD-2024-2410
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
- Record
EUVD-2024-2410- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-r6qh-j42j-pw64
8.7
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.
- Record
GHSA-r6qh-j42j-pw64- CVSS 4.0
- 8.7 High
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 - CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-295, CWE-599
- Updated
- 2026-11-02
OSV
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
- Record
CVE-2024-40464- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-r6qh-j42j-pw64
8.7
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.
- Record
GHSA-r6qh-j42j-pw64- CVSS 4.0
- 8.7 High
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 - CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-295, CWE-599
- Updated
- 2026-11-02
OSVGO-2024-3016 No score
Beego privilege escalation vulnerability via sendMail in github.com/beego/beego/v2
Beego privilege escalation vulnerability via sendMail in github.com/beego/beego/v2
- Record
GO-2024-3016- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/beego/beego/v2Go |
before 2.2.1 | 2.2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-40464 is a high vulnerability (CVSS 8.8) in Beego, published July 31, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.57%, the 47th percentile. Fixed in github.com/beego/beego/v2 2.2.1.
References
gist.github.com/nyxfqq/b53b0148b9aa040de63f58a68fd11445
nvd.nist.gov/vuln/detail/CVE-2024-40464
github.com/beego/beego/security/advisories/GHSA-6g9p-wv47-4fxq
github.com/beego/beego/commit/8f89e12e6cafb106d5c201dbc3b2a338bfde74e2
github.com/advisories/GHSA-r6qh-j42j-pw64
github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40464.json
github.com/beego/beego