Intel

AIKIDO-2025-10064

laravel/framework 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.

7

Low Risk

This Affects:

phplaravel/framework
8.16.0 - 11.41.0
Fixed in 11.41.1

TL;DR

Affected versions of this package expose sensitive information in log files by improperly logging confidential variables. When running php artisan db in a shell where the mysql binary is unavailable, an error occurs and is logged at the error level. Third-party logging services like Sentry may capture this error, resulting in database credentials, including the password, being displayed and stored in plain text.

Who does this affect?

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

Background info

laravel/framework is vulnerable to Insertion of Sensitive Information into Log File in versions 8.16.0 - 11.41.0.

How to fix this

Upgrade the laravel/framework library to the patch version.