# CVE-2021-27117: Privilege escalation in beego

- Severity: High 7.8 (CVSS:3.1, scored by mitre) `CVSS:3.1/AC:L/AV:L/A:H/C:H/I:H/PR:L/S:U/UI:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-04-05T15:36:37.000Z
- Modified: 2026-06-17T03:44:18.900Z
- Also known as: GHSA-2v6v-q994-xvxx
- Weaknesses: CWE-59
- Assigned by: mitre

## Description

An issue was discovered in file profile.go in function GetCPUProfile in beego through 2.0.2, allows attackers to launch symlink attacks locally.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/beego/beego/v2 (Go): from 2.0.0 before 2.0.2
- github.com/beego/beego (Go): all versions
- beego beego: up to 2.0.2

## Every score

- mitre: CVSS:3.1 7.8 High `CVSS:3.1/AC:L/AV:L/A:H/C:H/I:H/PR:L/S:U/UI:N`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.2 High `AV:L/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://github.com/beego/beego/issues/4484> (exploit, issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-27117> (advisory)
- <https://github.com/beego/beego> (package)

## Sources

- CVE List: [CVE-2021-27117](https://www.cve.org/CVERecord?id=CVE-2021-27117), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-2v6v-q994-xvxx](https://github.com/advisories/GHSA-2v6v-q994-xvxx), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-27117](https://nvd.nist.gov/vuln/detail/CVE-2021-27117), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-27117 · Whole record: https://cve.day/CVE-2021-27117.json · Rebuilt by cve.day 2026-11-25T22:58:07.344Z
