Improper Check for Dropped Privileges Affecting theshit package, versions <0.2.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-THESHIT-15426548
  • published5 Mar 2026
  • disclosed2 Mar 2026
  • creditUnknown

Introduced: 2 Mar 2026

NewCVE-2026-21882  (opens in a new tab)
CWE-273  (opens in a new tab)

How to fix?

Upgrade theshit to version 0.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Check for Dropped Privileges in the command retry mechanism. An attacker can gain elevated privileges and execute arbitrary commands as root by exploiting the failure to drop privileges before retrying a previously failed command.

References

CVSS Base Scores

version 4.0
version 3.1