Debian Package Tracker
Register | Log in
Subscribe

python-sh

Python 3 subprocess interface

Choose email to subscribe with

general
  • source: python-sh (main)
  • version: 2.4.0-1
  • maintainer: Debian Python Team (DMD)
  • uploaders: Sam Hartman [DMD] – Paul Tagliamonte [DMD] – Tianon Gravi [DMD]
  • arch: all
  • std-ver: 4.7.4
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • o-o-stable: 1.14.1-1
  • oldstable: 1.14.2-1
  • stable: 2.2.1-1
  • testing: 2.4.0-1
  • unstable: 2.4.0-1
versioned links
  • 1.14.1-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 1.14.2-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.2.1-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.4.0-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • python3-sh
action needed
1 security issue in bullseye high

There is 1 open security issue in bullseye.

1 important issue:
  • CVE-2026-54552: 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.
Created: 2026-08-22 Last update: 2026-08-23 22:00
1 low-priority security issue in trixie low

There is 1 open security issue in trixie.

1 issue left for the package maintainer to handle:
  • CVE-2026-54552: (needs triaging) 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.

You can find information about how to handle this issue in the security team's documentation.

Created: 2026-08-22 Last update: 2026-09-22 00:31
news
[rss feed]
  • [2026-09-22] python-sh 2.4.0-1 MIGRATED to testing (Debian testing watch)
  • [2026-09-19] Accepted python-sh 2.4.0-1 (source) into unstable (Lester Guerzon) (signed by: Alexandre Detiste)
  • [2026-07-09] python-sh 2.2.1-2 MIGRATED to testing (Debian testing watch)
  • [2026-07-04] Accepted python-sh 2.2.1-2 (source) into unstable (Alexandre Detiste)
  • [2025-02-05] python-sh 2.2.1-1 MIGRATED to testing (Debian testing watch)
  • [2025-01-30] Accepted python-sh 2.2.1-1 (source) into unstable (Sam Hartman)
  • [2024-10-20] python-sh 2.0.7-1 MIGRATED to testing (Debian testing watch)
  • [2024-09-18] Accepted python-sh 2.0.7-1 (source) into unstable (Alexandre Detiste)
  • [2021-10-15] python-sh 1.14.2-1 MIGRATED to testing (Debian testing watch)
  • [2021-10-09] Accepted python-sh 1.14.2-1 (source) into unstable (Gordon Ball)
  • [2021-03-16] Accepted python-sh 1.14.1-1~bpo10+1 (all source) into buster-backports->backports-policy, buster-backports (Debian FTP Masters) (signed by: Andrew Shadura)
  • [2020-12-17] python-sh 1.14.1-1 MIGRATED to testing (Debian testing watch)
  • [2020-12-11] Accepted python-sh 1.14.1-1 (source) into unstable (Gordon Ball)
  • [2019-08-14] python-sh 1.12.14-2 MIGRATED to testing (Debian testing watch)
  • [2019-08-09] Accepted python-sh 1.12.14-2 (source) into unstable (Ondřej Nový)
  • [2018-09-20] python-sh 1.12.14-1.1 MIGRATED to testing (Debian testing watch)
  • [2018-09-14] Accepted python-sh 1.12.14-1.1 (source) into unstable (Antoine Beaupré)
  • [2015-05-08] python-sh 1.11-1 MIGRATED to testing (Britney)
  • [2015-05-02] Accepted python-sh 1.11-1 (source all) into unstable (Tianon Gravi) (signed by: Vincent Cheng)
  • [2014-08-26] python-sh 1.09-1 MIGRATED to testing (Britney)
bugs [bug history graph]
  • all: 0
links
  • homepage
  • lintian
  • buildd: logs, reproducibility
  • popcon
  • browse source code
  • other distros
  • security tracker
  • debian patches
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 2.2.1-2

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing