CVE-2026-21882 theshit's Improper Privilege Dropping Allows Local Privilege Escalation via Command Re-execution
HighCVSS 8.4
EPSS 0.20%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io theshit(crates.io) | < 0.2.0 | 0.2.0 | Fixed |
| AsfhtgkDavid theshit | = < 0.2.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io theshit(crates.io) | < 0.2.0 | 0.2.0 |
| AsfhtgkDavid theshit | = < 0.2.0 | No fix listed |
References
- https://github.com/AsfhtgkDavid/theshit/security/advisories/GHSA-2j3p-gqw5-g59j vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/AsfhtgkDavid/theshit/commit/5293957b119e55212dce2c6dcbaf1d7eb794602a patch
- github.com product
- github.com