{"id":"CVE-2026-21882","published":"2026-03-02T19:17:22Z","modified":"2026-03-02T19:44:41Z","title":"theshit's Improper Privilege Dropping Allows Local Privilege Escalation via Command Re-execution","vendor":"AsfhtgkDavid","product":"theshit","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00202,"percentile":0.10288,"provenance":"source"},"cwes":[{"id":"CWE-273","name":"Improper Check for Dropped Privileges"},{"id":"CWE-269","name":"Improper Privilege Management"},{"id":"CWE-250","name":"Execution with Unnecessary Privileges"}],"references":[{"url":"https://github.com/AsfhtgkDavid/theshit/security/advisories/GHSA-2j3p-gqw5-g59j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/AsfhtgkDavid/theshit/commit/5293957b119e55212dce2c6dcbaf1d7eb794602a","tags":["x_refsource_MISC"]}],"priority":{"score":7.9,"factors":[{"name":"EPSS percentile","points":2.06},{"name":"CVSS severity","points":5.88}]},"vendorSlug":"asfhtgkdavid","affectedVersions":[{"vendor":"AsfhtgkDavid","product":"theshit","versions":["< 0.2.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-03-02T19:44:23.867553Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"theshit","vulnerableRanges":["<0.2.0"],"patched":["0.2.0"],"from":["GHSA-2j3p-gqw5-g59j"],"provenance":"source"}],"summary":{"text":"theshit, a command-line utility by AsfhtgkDavid that automatically corrects common shell command mistakes, contains an improper privilege dropping flaw that lives in its command re-execution handling. An attacker with local access to a system running a vulnerable version (prior to 0.2.0) can gain elevated privileges by abusing the re-executed command, requiring no authentication and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:29Z"},"euvd":{"id":"EUVD-2026-9256","exploited":false,"provenance":"source"}}