> CVE-2026-54552 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-08-18 18:18
MODIFIED
2026-08-18 18:18
CVSS_SCORE V3
7.9
EPSS (Prob. Exploit)
0.17%
Top 94.1%
DATA SOURCES:
NVD đź”— 2026-08-18 CWE MITRE đź”— 2026-09-01 FIRST EPSS đź”— 2026-10-18 GITHUB đź”— 2026-10-29 OSV đź”— 2026-10-26

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
EXPLOITABILITY
1.5
IMPACT
5.8

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Local (L)
Exploit nécessite un accès local au système
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
High (H)
Authentifié avec privilèges administratifs
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-273

> CWE DETAILED DESCRIPTIONS

CWE-273: Improper Check for Dropped Privileges - The product attempts to drop privileges but does not check or incorrectly checks to see if the drop succeeded.

> GITHUB SECURITY ADVISORY

GHSA-q38v-wp89-2w55 HIGH

sh _uid does not drop supplementary groups (incomplete privilege drop)

AFFECTED PACKAGES:
PIP / sh
< 2.2.4
Fixed in: 2.2.4

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

sh _uid does not drop supplementary groups (incomplete privilege drop)

AFFECTED PACKAGES:
Unknown / Unknown
63 versions affected
ALIASES:
GHSA-q38v-wp89-2w55, PYSEC-2026-3540

> HISTORIQUE DES MODIFICATIONS

Première apparition
18/08/2026 18:18
Source: NVD
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-273: Improper Check for Dropped Privileges - The product attempts to drop privileges but does not check or incorrectly checks to see if the drop succeeded.
Total des modifications: 1 Dernière mise à jour: 1 month ago

> REFERENCES

https://github.com/amoffat/sh/commit/3d855daba91f87a089b490c0d1cf1df3faace2f1
https://github.com/amoffat/sh/pull/776
https://github.com/amoffat/sh/releases/tag/2.2.4
https://github.com/amoffat/sh/security/advisories/GHSA-q38v-wp89-2w55
« BACK_TO_HOME