Skip to content
Fencer Intel
high 8.4

CVE-2026-21882 json

theshit's Improper Privilege Dropping Allows Local Privilege Escalation via Command Re-execution

published 8mo ago modified 4mo ago also GHSA-2j3p-gqw5-g59j , EUVD-2026-9256

cvss
8.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 10%
public exploits
0
none known

Summary

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.

Patch / fix

  • crates.io theshit 0.2.0

Is CVE-2026-21882 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
8mo ago

Exploit prediction

0.20% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.1 8.4 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 8.4 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
crates.io theshit
<0.2.0
0.2.0

Affected products

  • AsfhtgkDavid theshit

Classification

Weakness
  • CWE-273 Improper Check for Dropped Privileges
  • CWE-269 Improper Privilege Management
  • CWE-250 Execution with Unnecessary Privileges

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.