patchminder
No public exploit found CVE-2026-54552

Vulnerabilityin the sh package.

Published 18 Aug 2026 · Updated 18 Aug 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
High 7.9
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.1% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 2.2.4 or later
In plain words

sh provides Python process launching. Prior to 2.2.4, the _uid option in sh.py performs an incomplete privilege drop on Linux and Unix-like systems. When sh runs from an elevated process and launches a command with _uid set to an unprivileged user, the child changes its UID but can retain the parent process's supplementary groups because the privilege-drop sequence does not fully establish the target user's UID, primary GID, and supplementary groups. The child can therefore retain access to files or resources granted to privileged groups such as root, docker, disk, shadow, or sudo, violating the expected _uid privilege boundary. This issue is fixed in version 2.2.4.

What to do now
  • Upgrade sh to 2.2.4 or later.
  • Upgrade sh (PyPI) to 2.2.4 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
sh
before 2.2.4
2.2.4
CVE record
sh (PyPI)
before 2.2.4
2.2.4
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 15 Jun 2026
    CVE ID reserved by GitHub_M.
  2. 18 Aug 2026
    Published in the CVE List.
  3. 18 Aug 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Same weakness:

All CWE-273 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-54552: Vulnerability in the sh package. https://patchminder.com/cve/cve-2026-54552/ (accessed 5 December 2026).