---
cve: "CVE-2026-59947"
severity: "MEDIUM"
cvss: 4.7
epss: "12%"
vendor: "composer"
kev: false
exploited: false
published: "2026-07-08 20:16:59"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-11T12:23:21+02:00"
---

# CVE-2026-59947

> 4.7 MEDIUM · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Lokal | good |
| AC Komplexität | Hoch | good |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Keine | good |
| A Verfügbarkeit | Keine | good |

## Patch verfügbar (OSV)

- ccbe57917efe30262ce80463fc4a6182c5ac29ed (Commit)
- 8d4439f572a97670a9edc039eb3b093cc976b4bc (Commit)

## Referenzen

- <https://github.com/composer/composer/security/advisories/GHSA-g6xq-892h-64w3>
- <https://github.com/composer/composer/commit/6bd66874ae523ecb69aca5964487a0cdfda03ef8>
- <https://github.com/composer/composer/commit/8887ad76fbd830cb1861a2b1fd8ead78ed1fa1ec>
- <https://github.com/composer/composer/releases/tag/2.10.2>
- <https://github.com/composer/composer/releases/tag/2.2.29>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-59947) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
