CVE-2026-21882
HIGH 8.4CVSS 3.1theshit's Improper Privilege Dropping Allows Local Privilege Escalation via Command Re-execution
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.
- Published
- 2 Mar 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-250CWE-269CWE-273
- Also known as
- GHSA-2j3p-gqw5-g59j
- Sources
- NVDJSONOSV GHSA-2j3p-gqw5-g59jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | theshit | < 0.2.0 | 0.2.0 |
References
- https://github.com/AsfhtgkDavid/theshit/commit/5293957b119e55212dce2c6dcbaf1d7eb794602a · WEB
- https://github.com/AsfhtgkDavid/theshit/security/advisories/GHSA-2j3p-gqw5-g59j · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-21882 · ADVISORY
- https://github.com/AsfhtgkDavid/theshit · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 2 Mar 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Mar 2026)