# CVE-2026-21882: theshit's Improper Privilege Dropping Allows Local Privilege Escalation via Command Re-execution

- Severity: High 8.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-03-02T17:44:53.000Z
- Modified: 2026-06-17T10:19:05.067Z
- Also known as: GHSA-2j3p-gqw5-g59j
- Weaknesses: CWE-250, CWE-269, CWE-273
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- AsfhtgkDavid theshit: < 0.2.0
- theshit (crates.io): before 0.2.0

## Every score

- GitHub_M: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/AsfhtgkDavid/theshit/security/advisories/GHSA-2j3p-gqw5-g59j> (web)
- <https://github.com/AsfhtgkDavid/theshit/commit/5293957b119e55212dce2c6dcbaf1d7eb794602a> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-21882> (advisory)
- <https://github.com/AsfhtgkDavid/theshit> (package)

## Sources

- CVE List: [CVE-2026-21882](https://www.cve.org/CVERecord?id=CVE-2026-21882), CVE Terms of Use, modified 2026-03-02
- GitHub Advisory Database: [GHSA-2j3p-gqw5-g59j](https://github.com/advisories/GHSA-2j3p-gqw5-g59j), CC-BY-4.0, modified 2026-03-04
- NVD: [CVE-2026-21882](https://nvd.nist.gov/vuln/detail/CVE-2026-21882), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-21882 · Whole record: https://cve.day/CVE-2026-21882.json · Rebuilt by cve.day 2026-11-25T22:59:15.112Z
