CVE-2021-31154
Permissions bypass in pleaser
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
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.
- Record
CVE-2021-31154- 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 - CVSS 2.0
- 7.2 High
AV:L/AC:L/Au:N/C:C/I:C/A:C - Weakness
- CWE-668
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-31154- Updated
- 2026-11-02
EUVDEUVD-2021-1822 No score
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.
- Record
EUVD-2021-1822- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-pp74-39w2-v4w9
7.8
Permissions bypass in pleaser
pleaseedit in pleaser before 0.4.0 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.
- Record
GHSA-pp74-39w2-v4w9- 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 - Weakness
- CWE-59, CWE-340
- Updated
- 2026-11-02
OSV
7.8
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.
- Record
CVE-2021-31154- 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 - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-31154
7.8
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.
- Record
DEBIAN-CVE-2021-31154- 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 - Updated
- 2026-11-02
OSVGHSA-pp74-39w2-v4w9
7.8
Permissions bypass in pleaser
pleaseedit in pleaser before 0.4.0 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.
- Record
GHSA-pp74-39w2-v4w9- 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 - Weakness
- CWE-340, CWE-59
- Updated
- 2026-11-02
OSVRUSTSEC-2021-0102
7.8
Permissions bypass in pleaser
pleaseedit in pleaser 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.
- Record
RUSTSEC-2021-0102- 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 - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
pleasercrates.io |
before 0.4.0 | 0.4.0 |
rust-pleaserDebian:12 |
before 0.4.1-1 | 0.4.1-1 |
rust-pleaserDebian:13 |
before 0.4.1-1 | 0.4.1-1 |
rust-pleaserDebian:14 |
before 0.4.1-1 | 0.4.1-1 |
pleasercrates.io |
0.0.0-0 up to 0.4.0 | 0.4.0 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-31154 is a high vulnerability (CVSS 7.8) in Pleaseedit Project Pleaseedit, published May 27, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.47%, the 40th percentile. Fixed in pleaser 0.4.0.
References
gitlab.com/edneville/please/-/tree/master/src/bin
openwall.com/lists/oss-security/2021/05/18/1
nvd.nist.gov/vuln/detail/CVE-2021-31154
crates.io/crates/pleaser
gitlab.com/edneville/please
rustsec.org/advisories/RUSTSEC-2021-0102.html
github.com/advisories/GHSA-pp74-39w2-v4w9
security-tracker.debian.org/tracker/CVE-2021-31154