{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-40464","id":"CVE-2024-40464","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 beego/core/logs/smtp.go file","descriptionLong":"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","published":"2024-07-31T00:00:00.000Z","updated":"2026-10-28T02:31:00.480819190Z","reserved":"2024-07-05T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"4.0","score":null,"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","rating":"high","source":"GitHub"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/beego/beego/v2","purl":"pkg:golang/github.com/beego/beego/v2","ranges":["<2.2.1"],"fixed":["2.2.1"],"advisory":"GHSA-r6qh-j42j-pw64"}],"cwes":["CWE-599","CWE-295"],"aliases":["GHSA-r6qh-j42j-pw64","GO-2024-3016"],"references":[{"url":"https://gist.github.com/nyxfqq/b53b0148b9aa040de63f58a68fd11445","tags":["Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40464.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40464","tags":["advisory"]},{"url":"https://github.com/beego/beego/security/advisories/GHSA-6g9p-wv47-4fxq","tags":["web"]},{"url":"https://github.com/beego/beego/commit/8f89e12e6cafb106d5c201dbc3b2a338bfde74e2","tags":["web","fix"]},{"url":"https://github.com/beego/beego","tags":["package"]},{"url":"https://github.com/advisories/GHSA-r6qh-j42j-pw64","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00569,"epssPercentile":0.47827,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-40464","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40464","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-40464","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-r6qh-j42j-pw64","ok":true,"note":"GHSA-r6qh-j42j-pw64"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-40464","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}