CVE-2024-40464
HIGH8.8EPSS 0.75%Beego privilege escalation vulnerability
Published: 7/31/2024Modified: 2/4/2026
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.
Affected packages (2)
- Go/github.com/beego/beego/v2from 0, < 2.2.1
- Go/github.com/beego/beego/v2from 0, < 2.2.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
References (6)
- ADVISORYhttps://github.com/advisories/GHSA-r6qh-j42j-pw64
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-40464
- PATCHhttps://github.com/beego/beego
- WEBhttps://gist.github.com/nyxfqq/b53b0148b9aa040de63f58a68fd11445
- WEBhttps://github.com/beego/beego/commit/8f89e12e6cafb106d5c201dbc3b2a338bfde74e2
- WEBhttps://github.com/beego/beego/security/advisories/GHSA-6g9p-wv47-4fxq