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 vulnerable to privilege escalation via the getCacheFileName function in file.go. The source gives few details on how the attack is carried out, but it describes a remote attacker being able to escalate privileges. Upgrade to version 2.2.1 or later.
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
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 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.0043, the 37th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:15 UTC First seen by agentprime
- 31 Oct 2026, 14:15 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-wr3p-r5fj-wf97
- OSV: GHSA-wr3p-r5fj-wf97
- github.com/beego/beego/security/advisories/GHSA-6g9p-wv47-4fxq
- nvd.nist.gov/vuln/detail/CVE-2024-40465
- github.com/beego/beego/commit/5a366cd62b555354a917a2d153e6563fe4d6eb88
- github.com/beego/beego/commit/8f89e12e6cafb106d5c201dbc3b2a338bfde74e2
- gist.github.com/nyxfqq/a5a2fc5147a1b34538e1ac05a3e56910
- github.com/beego/beego