CVE-2026-21882: theshit - Privilege Escalation
- Cve: CVE-2026-21882
- Name: theshit - Privilege Escalation
- 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.
- Impact: Local attackers can escalate privileges, potentially gaining unauthorized administrative access.
- Remediation: Update to version 0.2.0 or later.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.4
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00202
- Epss percentile: 0.0992
- Assignee: [email protected]
- Published at: 2026-03-02T20:16:26Z
- Age in days: 267
- Modified at: 2026-06-17T10:19:05Z
- References total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-21882
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-250 | Execution with Unnecessary Privileges |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/AsfhtgkDavid/theshit/commit/5293957b119e55212dce2c6dcbaf1d7eb794602a | nvd | |
| https://github.com/AsfhtgkDavid/theshit/security/advisories/GHSA-2j3p-gqw5-g59j | nvd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| AsfhtgkDavid/theshit | commit, package, security_advisory | yes | /v1/repositories/AsfhtgkDavid/theshit |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts