CVE-2026-21882

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

Published Mar 2, 2026 CVSS 3.1 · 8.4 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-2j3p-gqw5-g59j theshit's Improper Privilege Dropping Allows Local Privilege Escalation via Command Re-execution
History
Type Values Removed Values Added
First Time appeared Asfhtgkdavid
Asfhtgkdavid theshit
Vendors & Products Asfhtgkdavid
Asfhtgkdavid theshit
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title theshit's Improper Privilege Dropping Allows Local Privilege Escalation via Command Re-execution
Weaknesses CWE-250
CWE-269
CWE-273
References
Metrics cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 2, 2026, 7:44 PM
Reserved
Jan 5, 2026, 5:24 PM
Status
Deferred
Published
Mar 2, 2026, 8:16 PM
Modified
Jun 17, 2026, 10:19 AM