{"id":"CVE-2026-21882","summary":"theshit's Improper Privilege Dropping Allows Local Privilege Escalation via Command Re-execution","details":"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.","aliases":["GHSA-2j3p-gqw5-g59j"],"modified":"2026-08-12T03:51:43.339665896Z","published":"2026-03-02T19:17:22.220Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21882.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-250","CWE-269","CWE-273"]},"references":[{"type":"ADVISORY","url":"https://github.com/AsfhtgkDavid/theshit/security/advisories/GHSA-2j3p-gqw5-g59j"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21882.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21882"},{"type":"FIX","url":"https://github.com/AsfhtgkDavid/theshit/commit/5293957b119e55212dce2c6dcbaf1d7eb794602a"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/asfhtgkdavid/theshit","events":[{"introduced":"0"},{"fixed":"5293957b119e55212dce2c6dcbaf1d7eb794602a"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"0.2.0"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-21882.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}