Intel

AIKIDO-2025-10878

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

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Dec 4, 2025
December 4, 2025

45

CVE Score

Medium

Insertion of Sensitive Information into Log File

Are you affected? Scan for Free

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.

How do I fix this?

Upgrade the doctrine/dbal library to the patch version.

Who does this affect?

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

Versions

3.10.2 - 3.10.3

Fixed in 3.10.4

4.3.3 - 4.3.4

Fixed in 4.3.5

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.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea