CVE-2026-59947
Composer: URL-embedded HTTP-Basic username leaks to verbose logs (GitHub PAT exposure)
4.7
MEDIUM
CVSS 3.1
EPSS 0.11%
描述
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.
如何修補 CVE-2026-59947
要修補 CVE-2026-59947,請將受影響套件升級到下列已修補版本。
- —升級至 2.2.29 或更新版本
- —升級至 2.10.2 或更新版本
CVE-2026-59947 正在被利用嗎?
低 — EPSS 為 0.1%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- >= 1.0.0, < 2.2.29, >= 2.3.0, < 2.10.2
- >= 2.3.0, < 2.10.2
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |