Advisory record · GHSA-r6qh-j42j-pw64

Beego privilege escalation vulnerability

CVSS 8.8 HighEPSS 0.0057 · 47th percentile

Published by the GitHub Advisory Database at 31 Jul 2024, 21:32 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/beego/beego/v2Go<2.2.12.2.1
Identifiers
GHSA-r6qh-j42j-pw64 · CVE-2024-40464 · GO-2024-3016
Weakness (CWE)
CWE-295 · CWE-599
Published
31 Jul 2024
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Beego github.com/beego/beego/v2 versions before 2.2.1 are affected. A remote attacker may be able to escalate privileges through the sendMail function in the logs SMTP code, according to the description, which gives few further details. Upgrade to version 2.2.1 or later.

Written 2 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.8 High 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0057, the 47th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:15 UTC First seen by agentprime
  2. 31 Oct 2026, 14:15 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.