> CVE-2026-59948 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-07-08 20:16
MODIFIED
2026-07-08 20:16
CVSS_SCORE V3
7.0
EPSS (Prob. Exploit)
0.14%
Top 97.1%
DATA SOURCES:
NVD 🔗 2026-07-08 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-10-29 OSV 🔗 2026-07-15

> DESCRIPTION

Composer is a dependency Manager for the PHP language. Prior to 2.2.29 and 2.10.2, a maliciously crafted package from an untrusted repository other than Packagist.org or Private Packagist can cause Composer to write attacker-controlled files outside the vendor directory and outside the project during install or update by using an invalid package name that is not correctly validated before dependency-resolution results are written or installed. This issue is fixed in versions 2.2.29 and 2.10.2.

> 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:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EXPLOITABILITY
1.0
IMPACT
5.9

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
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
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre 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
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-22 CWE-787

> CWE DETAILED DESCRIPTIONS

CWE-22: Improper Limitation of a Pathname to a Restricted Directory - The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. | CWE-787: Out-of-bounds Write - The product writes data past the end, or before the beginning, of the intended buffer.

> GITHUB SECURITY ADVISORY

GHSA-499r-g7pc-vmp9 HIGH

Composer: Arbitrary file write outside vendor via malicious transitive package name

AFFECTED PACKAGES:
COMPOSER / composer/composer
>= 1.0.0, < 2.2.29
Fixed in: 2.2.29
COMPOSER / composer/composer
>= 2.3.0, < 2.10.2
Fixed in: 2.10.2

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Composer: Arbitrary file write outside vendor via malicious transitive package name

AFFECTED PACKAGES:
Unknown / Unknown
49 versions affected
ALIASES:
BIT-composer-2026-59948, GHSA-499r-g7pc-vmp9

> HISTORIQUE DES MODIFICATIONS

Première apparition
08/07/2026 20:16
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') - The product uses external input to construct a pathname that is intended to identify a file or directory that i...
Nouvelle valeur:
CWE-22: Improper Limitation of a Pathname to a Restricted Directory - The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneat...
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') - The product uses external input to construct a pathname that is intended to identify a file or directory that i...
Total des modifications: 2 Dernière mise à jour: 5 days ago

> REFERENCES

https://github.com/composer/composer/commit/502c6c4f699802d9cf464728b3e8a95674f9...
https://github.com/composer/composer/commit/c50b1efd13ebd73f6dca19b31424c5a02bf9...
https://github.com/composer/composer/releases/tag/2.10.2
https://github.com/composer/composer/releases/tag/2.2.29
https://github.com/composer/composer/security/advisories/GHSA-499r-g7pc-vmp9
« BACK_TO_HOME