{"id":"CVE-2021-27116","aliases":["GHSA-ffjp-66mx-3qpj"],"url":"https://o3.security/vulnerability/CVE-2021-27116","summary":"Privilege escalation in beego","details":"An issue was discovered in file profile.go. The MemProf and GetCPUProfile functions do not correctly check whether the created file exists. As a result attackers can launch attacks symlink attacks locally. Attackers can use this vulnerability to escalate privileges.","published":"2022-04-05T16:15:11.157Z","modified":"2026-07-08T21:27:20.870162Z","cvss":{"score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Go","name":"github.com/beego/beego/v2","fixedVersion":"2.0.2"},{"ecosystem":"Go","name":"github.com/beego/beego","fixedVersion":null}],"fix":null,"references":[{"type":"REPORT","url":"https://github.com/beego/beego/issues/4484"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27116"},{"type":"PACKAGE","url":"https://github.com/beego/beego"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T21:27:20.870162Z"}}