Intel

AIKIDO-2025-10878

doctrine/dbal is vulnerable to Insertion of Sensitive Information into Log File

Insertion of Sensitive Information into Log File Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

45

Medium Risk

This Affects:

PHPdoctrine/dbal
3.10.2 - 3.10.3
Fixed in 3.10.4
4.3.3 - 4.3.4
Fixed in 4.3.5

TL;DR

Affected versions of this package are vulnerable to sensitive information exposure. When PDOConnect::doConnect() triggers an error during reconnect, it logs the full DSN and password. This patch marks these parameters as sensitive so they are properly hidden in logs.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

doctrine/dbal is vulnerable to Insertion of Sensitive Information into Log File in versions 3.10.2 - 3.10.3 and 4.3.3 - 4.3.4.

How to fix this

Upgrade the doctrine/dbal library to the patch version.