Insertion of Sensitive Information into Log File Affecting composer/composer package, versions <2.2.29>=2.3.0-RC1, <2.10.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insertion of Sensitive Information into Log File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-COMPOSERCOMPOSER-17906527
  • published9 Jul 2026
  • disclosed8 Jul 2026
  • creditIlia Alshanetsky

Introduced: 8 Jul 2026

NewCVE-2026-59947  (opens in a new tab)
CWE-532  (opens in a new tab)

How to fix?

Upgrade composer/composer to version 2.2.29, 2.10.2 or higher.

Overview

composer/composer is a Dependency Manager for PHP. Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File in the AuthHelper, Url::sanitize, and ProcessExecutor. An attacker can obtain sensitive credentials by accessing verbose debug logs that inadvertently expose URL-embedded HTTP-Basic usernames.

CVSS Base Scores

version 4.0
version 3.1