# CVE-2021-31154: Permissions bypass in pleaser

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.47%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-05-27T12:00:00.000Z
- Modified: 2026-06-17T03:51:20.807Z
- Also known as: GHSA-pp74-39w2-v4w9, RUSTSEC-2021-0102
- Weaknesses: CWE-59, CWE-340, CWE-668
- Assigned by: mitre

## Description

pleaseedit in please before 0.4 uses predictable temporary filenames in /tmp and the target directory. This allows a local attacker to gain full root privileges by staging a symlink attack.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- pleaser (crates.io): before 0.4.0; from 0.0.0-0 before 0.4.0
- pleaseedit_project pleaseedit: before 0.4

## Every score

- 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`
- RustSec Advisory Database: 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://www.openwall.com/lists/oss-security/2021/05/18/1> (exploit, mailing-list, third-party-advisory, web)
- <https://gitlab.com/edneville/please/-/tree/master/src/bin> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-31154> (advisory, web)
- <https://crates.io/crates/pleaser> (package, web)
- <https://gitlab.com/edneville/please> (web)
- <https://rustsec.org/advisories/RUSTSEC-2021-0102.html> (advisory, web)

## Sources

- CVE List: [CVE-2021-31154](https://www.cve.org/CVERecord?id=CVE-2021-31154), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-pp74-39w2-v4w9](https://github.com/advisories/GHSA-pp74-39w2-v4w9), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2021-0102](https://rustsec.org/advisories/RUSTSEC-2021-0102.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2021-31154](https://nvd.nist.gov/vuln/detail/CVE-2021-31154), Public domain, modified 2026-06-17

---

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