CVE-2026-21882

theshit's Improper Privilege Dropping Allows Local Privilege Escalation via Command Re-execution

State
Published
Severity
8.4 High
Published
Mar 2, 2026
Updated
Mar 2, 2026
Reserved
Jan 5, 2026

Read the record on cve.org

Description

theshit is a command-line utility that automatically detects and fixes common mistakes in shell commands. Prior to version 0.2.0, improper privilege dropping allows local privilege escalation via command re-execution. This issue has been patched in version 0.2.0.

Scores

CVSSScoreVectorSource
3.18.4 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-273 Improper Check for Dropped Privileges
  • CWE-269 Improper Privilege Management
  • CWE-250 Execution with Unnecessary Privileges

Affected Products

ProductVersions
theshitAsfhtgkDavid
  • < 0.2.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.