CVE-2021-31154

HIGH

pleaseedit <0.4 - Privilege Escalation

Title source: llm

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.

Scores

CVSS v3 7.8
EPSS 0.0004
EPSS Percentile 12.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE
CWE-668
Status published

Affected Products (2)

pleaseedit_project/pleaseedit < 0.4
crates.io/pleaser < 0.4.0crates.io

Timeline

Published May 27, 2021
Tracked Since Feb 18, 2026