cve.bz

CVE-2026-59947 composer composer

4.7 mediumEPSS 0.1%Fix available

Medium (4.7) in composer composer. EPSS 0.1% estimated probability of exploitation activity in the next 30 days. Fixed in composer/composer 2.10.2, 2.2.29.

On this page
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.

Severity

CVSS 3.1

4.7 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 2nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-07-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-532 Insertion of Sensitive Information into Log File
OWASP Top 10
A09:2025 Logging & Alerting Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-59947 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-59947?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-59947?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-59947 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
composer>= 1.0, < 2.2.29
composer>= 2.3.0, < 2.10.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-g6xq-892h-64w3Packagistcomposer/composer>=2.3.0 <2.10.22.10.2
GHSA-g6xq-892h-64w3Packagistcomposer/composer>=1.0.0 <2.2.292.2.29

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12composerno fix listedDEBIAN-CVE-2026-59947
Debian13composer2.8.8-1+deb13u4DEBIAN-CVE-2026-59947
Debian14composer2.10.2-1DEBIAN-CVE-2026-59947
Ubuntu25.10, 26.04:LTS, 26.10 and 5 morecomposerno fix listedUBUNTU-CVE-2026-59947
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morephp-composer22.2.30-150400.3.21.1SUSE-SU-2026:4283-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morephp-composer22.2.30-150400.3.24.1SUSE-SU-2026:4589-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7php-composer22.6.4-150600.3.23.1SUSE-SU-2026:4288-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6php-composer22.6.4-150600.3.12.1SUSE-SU-2026:3105-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0php-composer22.8.9-160000.4.1SUSE-SU-2026:23116-1 SUSE-SU-2026:23138-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0php-composer22.8.9-160000.6.1SUSE-SU-2026:23943-1
openSUSELeap 16.0php-composer22.8.9-160000.4.1openSUSE-SU-2026:21520-1
openSUSELeap 16.0php-composer22.8.9-160000.6.1openSUSE-SU-2026:21970-1
openSUSETumbleweedphp-composer22.10.2-1.1openSUSE-SU-2026:11268-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat ships Composer version 2.10.2 in its products, which already includes the fix for this issue. No action is required.

ProductPackageStateAdvisory
Red Hat Hardened ImagescomposerNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-59947.

Attack patterns (CAPEC)

  • CAPEC-215 Fuzzing for application mapping Likelihood: High · Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON