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.
CVE-2026-54552
This high-severity CVE scores 7.9 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.1%, top 98% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.9
- EG Score
- 7.9(medium)
- EG Risk
- 36(Track)EG Risk 36/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity79% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 3%
- KEV
- Not listed
Published
July 17, 2026
Last Modified
August 18, 2026
Advisory Details (4)
Auto-updated Aug 18, 2026Release 2.2.4
Patch available: amoffat/sh 2.2.4
https://github.com/amoffat/sh/releases/tag/2.2.4commit 3d855daba91f (amoffat/sh)
Patch available: amoffat/sh 2.2.4 (contains commit 3d855daba91f)
https://github.com/amoffat/sh/commit/3d855daba91f87a089b490c0d1cf1df3faace2f1gid regression and priv tests
Patch available: amoffat/sh 2.2.4 (PR #776 merged 2026-06-06)
https://github.com/amoffat/sh/pull/776sh _uid does not drop supplementary groups (incomplete privilege drop) · Advisory · amoffat/sh · GitHub
https://github.com/amoffat/sh/security/advisories/GHSA-q38v-wp89-2w55Vendor Advisories for CVE-2026-54552(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(4 across 4 ecosystems)
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| python-sh | 1.14.2-1, 2.0.7-1, 2.2.1-1, 2.2.1-2 | — | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| python-sh | 2.2.1-1, 2.2.1-2 | — | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| python-sh | 2.2.1-1, 2.2.1-2 | — | — |
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| sh | 0.01 ... 2.2.3 (50 versions) | 2.2.4 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 7× in last 7d / 31× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-10 09:35 UTCEPSS rescore
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-08 00:00 UTCEG score recompute
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-05 20:26 UTCEG score recompute
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-08-31 05:42 UTCEG score recompute
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 03:16 UTCEG score recompute
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-27 21:25 UTCEG score recompute
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 01:04 UTCEG score recompute
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-24 22:34 UTCEG score recompute
- 2026-08-23 06:57 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 04:28 UTCEG score recompute
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 01:57 UTCEG score recompute
Show 10 moreShow fewer
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-19 23:27 UTCEG score recompute
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-18 19:25 UTCEG score recompute
- 2026-08-18 19:07 UTCEG score recompute
- 2026-08-18 18:25 UTCEG score recompute
- 2026-07-30 09:29 UTCEG score recompute
- 2026-07-26 11:18 UTCEG score recompute
- 2026-07-23 03:19 UTCEG score recompute
- 2026-07-17 19:00 UTCEG score recompute
Frequently asked(5)
What is CVE-2026-54552?
When was CVE-2026-54552 disclosed?
Is CVE-2026-54552 actively exploited?
What is the CVSS score of CVE-2026-54552?
How do I remediate CVE-2026-54552?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-54552
Is Your Infrastructure Affected by CVE-2026-54552?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.