DEBIAN-CVE-2026-54552

Source
https://security-tracker.debian.org/tracker/CVE-2026-54552
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-54552.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-54552
Upstream
Published
2026-08-18T18:18:23.147Z
Modified
2026-08-22T10:00:06.293535504Z
Severity
  • 7.9 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / python-sh

Package

Name
python-sh
Purl
pkg:deb/debian/python-sh?arch=source&distro=bullseye

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.14.1-1
1.14.2-1
2.*
2.0.7-1
2.2.1-1
2.2.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-54552.json"

Debian:12 / python-sh

Package

Name
python-sh
Purl
pkg:deb/debian/python-sh?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.14.2-1
2.*
2.0.7-1
2.2.1-1
2.2.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-54552.json"

Debian:13 / python-sh

Package

Name
python-sh
Purl
pkg:deb/debian/python-sh?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.2.1-1
2.2.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-54552.json"

Debian:14 / python-sh

Package

Name
python-sh
Purl
pkg:deb/debian/python-sh?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.2.1-1
2.2.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-54552.json"