{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-21882","id":"CVE-2026-21882","title":"theshit's Improper Privilege Dropping Allows Local Privilege Escalation via Command Re-execution","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.","descriptionLong":"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":"2026-03-02T19:17:22.220Z","updated":"2026-10-28T02:30:37.226208359Z","reserved":"2026-01-05T17:24:36.928Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["AsfhtgkDavid theshit"],"affectedProducts":[{"vendor":"AsfhtgkDavid","product":"theshit","defaultStatus":null,"versions":[{"version":"< 0.2.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"theshit","purl":"pkg:cargo/theshit","ranges":["<0.2.0"],"fixed":["0.2.0"],"advisory":"GHSA-2j3p-gqw5-g59j"}],"cwes":["CWE-273","CWE-269","CWE-250"],"aliases":["GHSA-2j3p-gqw5-g59j"],"references":[{"url":"https://github.com/AsfhtgkDavid/theshit/security/advisories/GHSA-2j3p-gqw5-g59j","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/AsfhtgkDavid/theshit/commit/5293957b119e55212dce2c6dcbaf1d7eb794602a","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21882.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21882","tags":["advisory"]},{"url":"https://github.com/AsfhtgkDavid/theshit","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00202,"epssPercentile":0.10206,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-21882","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21882","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-21882","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2j3p-gqw5-g59j","ok":true,"note":"GHSA-2j3p-gqw5-g59j"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-21882","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}