UBUNTU-CVE-2026-54552

Source
https://ubuntu.com/security/CVE-2026-54552
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54552.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-54552
Upstream
Published
2026-08-18T18:18:00Z
Modified
2026-09-24T02:00:29Z
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
  • Ubuntu - medium
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

Ubuntu:16.04:LTS
python-sh

Package

Name
python-sh
Purl
pkg:deb/ubuntu/python-sh?arch=source&distro=xenial

Affected ranges

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

Affected versions

1.*
1.11-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python-sh",
            "binary_version":  "1.11-1"
        },
        {
            "binary_name":  "python3-sh",
            "binary_version":  "1.11-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54552.json"
Ubuntu:18.04:LTS
python-sh

Package

Name
python-sh
Purl
pkg:deb/ubuntu/python-sh?arch=source&distro=bionic

Affected ranges

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

Affected versions

1.*
1.11-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python-sh",
            "binary_version":  "1.11-1"
        },
        {
            "binary_name":  "python3-sh",
            "binary_version":  "1.11-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54552.json"
Ubuntu:20.04:LTS
python-sh

Package

Name
python-sh
Purl
pkg:deb/ubuntu/python-sh?arch=source&distro=focal

Affected ranges

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

Affected versions

1.*
1.12.14-2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-sh",
            "binary_version":  "1.12.14-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54552.json"
Ubuntu:22.04:LTS
python-sh

Package

Name
python-sh
Purl
pkg:deb/ubuntu/python-sh?arch=source&distro=jammy

Affected ranges

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

Affected versions

1.*
1.14.1-1
1.14.2-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-sh",
            "binary_version":  "1.14.2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54552.json"
Ubuntu:24.04:LTS
python-sh

Package

Name
python-sh
Purl
pkg:deb/ubuntu/python-sh?arch=source&distro=noble

Affected ranges

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

Affected versions

1.*
1.14.2-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-sh",
            "binary_version":  "1.14.2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54552.json"
Ubuntu:26.04:LTS
python-sh

Package

Name
python-sh
Purl
pkg:deb/ubuntu/python-sh?arch=source&distro=resolute

Affected ranges

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

Affected versions

2.*
2.2.1-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-sh",
            "binary_version":  "2.2.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54552.json"