> CVE-2026-59947 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-07-08 20:16
MODIFIED
2026-07-08 20:16
CVSS_SCORE V3
4.7
EPSS (Prob. Exploit)
0.12%
Top 98.3%
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, when Composer is run with -vvv debug verbosity, it could print a credential embedded in the username slot of a repository or package URL, such as a GitHub Personal Access Token in https://TOKEN@host/, to debug output because AuthHelper, Url::sanitize, and ProcessExecutor did not sanitize username-only URL credentials. 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:L/UI:N/S:U/C:H/I:N/A:N
EXPLOITABILITY
1.0
IMPACT
3.6

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/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
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
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
None (N)
Aucune modification de 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é
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-532

> CWE DETAILED DESCRIPTIONS

CWE-532: Insertion of Sensitive Information into Log File - The product writes sensitive information to a log file.

> GITHUB SECURITY ADVISORY

GHSA-g6xq-892h-64w3 MODERATE

Composer: URL-embedded HTTP-Basic username leaks to verbose logs (GitHub PAT exposure)

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: URL-embedded HTTP-Basic username leaks to verbose logs (GitHub PAT exposure)

AFFECTED PACKAGES:
Unknown / Unknown
49 versions affected
ALIASES:
BIT-composer-2026-59947, GHSA-g6xq-892h-64w3

> HISTORIQUE DES MODIFICATIONS

Première apparition
08/07/2026 20:16
Source: NVD
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-532: Insertion of Sensitive Information into Log File - The product writes sensitive information to a log file.
Total des modifications: 1 Dernière mise à jour: 3 months ago

> REFERENCES

https://github.com/composer/composer/commit/6bd66874ae523ecb69aca5964487a0cdfda0...
https://github.com/composer/composer/commit/8887ad76fbd830cb1861a2b1fd8ead78ed1f...
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-g6xq-892h-64w3
« BACK_TO_HOME