# CVE-2026-54552: python-sh: sh provides Python process launching

CVE-2026-54552 is fixed in python-sh on 1 platform, first by SUSE-SU-2026:3422-1, released July 30, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-54552
- Priority: High
- CVSS: 7.9 (high)
- EPSS: 0.0017
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 30, 2026

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | python-sh Debian 14 | 2.4.0-1 | [DEBIAN-CVE-2026-54552](https://patchblox.com/security/data/fix/linux/debian-cve-2026-54552.md) | Aug 18, 2026 |
| Linux | python-sh opensuse-leap 16.0 | 2.2.2-160000.3.1 | [OPENSUSE-SU-2026:21516-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21516-1.md) | Aug 3, 2026 |
| Linux | python-sh sles 15.6 | 2.0.4-150400.9.6.1 | [SUSE-SU-2026:3422-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3422-1.md) | Jul 30, 2026 |
| Linux | python-sh sles 15.7 | 2.0.4-150400.9.6.1 | [SUSE-SU-2026:3422-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3422-1.md) | Jul 30, 2026 |
| Linux | python-sh sles 16.0 | 2.2.2-160000.3.1 | [SUSE-SU-2026:23134-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-23134-1.md) | Aug 3, 2026 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
