{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-59947","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-07-07T18:49:15.607Z","datePublished":"2026-07-08T19:33:56.009Z","dateUpdated":"2026-07-09T14:01:42.612Z"},"containers":{"cna":{"title":"Composer: URL-embedded HTTP-Basic username leaks to verbose logs (GitHub PAT exposure)","problemTypes":[{"descriptions":[{"cweId":"CWE-532","lang":"en","description":"CWE-532: Insertion of Sensitive Information into Log File","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":4.7,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"references":[{"name":"https://github.com/composer/composer/security/advisories/GHSA-g6xq-892h-64w3","tags":["x_refsource_CONFIRM"],"url":"https://github.com/composer/composer/security/advisories/GHSA-g6xq-892h-64w3"},{"name":"https://github.com/composer/composer/commit/6bd66874ae523ecb69aca5964487a0cdfda03ef8","tags":["x_refsource_MISC"],"url":"https://github.com/composer/composer/commit/6bd66874ae523ecb69aca5964487a0cdfda03ef8"},{"name":"https://github.com/composer/composer/commit/8887ad76fbd830cb1861a2b1fd8ead78ed1fa1ec","tags":["x_refsource_MISC"],"url":"https://github.com/composer/composer/commit/8887ad76fbd830cb1861a2b1fd8ead78ed1fa1ec"},{"name":"https://github.com/composer/composer/releases/tag/2.10.2","tags":["x_refsource_MISC"],"url":"https://github.com/composer/composer/releases/tag/2.10.2"},{"name":"https://github.com/composer/composer/releases/tag/2.2.29","tags":["x_refsource_MISC"],"url":"https://github.com/composer/composer/releases/tag/2.2.29"}],"affected":[{"vendor":"composer","product":"composer","versions":[{"version":">= 1.0, < 2.2.29","status":"affected"},{"version":">= 2.3.0, < 2.10.2","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-07-08T19:33:56.009Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-g6xq-892h-64w3","discovery":"UNKNOWN"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-09T14:01:31.826906Z","id":"CVE-2026-59947","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-07-09T14:01:42.612Z"}}]}}