CVE-2024-40465
HIGH 8.8CVSS 3.1Beego privilege escalation vulnerability
An issue in beego v.2.2.0 and before allows a remote attacker to escalate privileges via the getCacheFileName function in file.go file
- Published
- 31 Jul 2024
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-327CWE-328
- Also known as
- GHSA-wr3p-r5fj-wf97
- Sources
- NVDJSONOSV GHSA-wr3p-r5fj-wf97JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | beego | beegocpe:2.3:a:beego:beego:*:*:*:*:*:*:*:* |
< 2.2.1 | 2.2.1 |
| OSV | Go | github.com/beego/beego/v2 | < 2.2.1 | 2.2.1 |
References
- https://gist.github.com/nyxfqq/a5a2fc5147a1b34538e1ac05a3e56910 · Third Party Advisory, WEB
- https://github.com/beego/beego/security/advisories/GHSA-6g9p-wv47-4fxq · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-40465 · ADVISORY
- https://github.com/beego/beego/commit/5a366cd62b555354a917a2d153e6563fe4d6eb88 · WEB
- https://github.com/beego/beego/commit/8f89e12e6cafb106d5c201dbc3b2a338bfde74e2 · WEB
- https://github.com/beego/beego · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 31 Jul 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 31 Jul 2024)