Skip to content

bugfix: MongoDB extension exposes connection credentials in errors and logs - #278

Merged
csandanov merged 1 commit into
masterfrom
fix/mongodb-2.5.8
Nov 21, 2026
Merged

csandanov merged 1 commit into
masterfrom
fix/mongodb-2.5.8

Conversation

@csandanov

Copy link
Copy Markdown
Member

Problem

The MongoDB extension in the images can include the connection credentials, such as the password from the connection string, in error messages and logs (CVE-2026-129928).

Cause

The images use MongoDB extension 2.5.7. The fix was released on 2026-11-19 in 2.5.8.

Solution

Use MongoDB extension 2.5.8 for every PHP version. Error messages and logs no longer contain the credentials. Nothing else changes for applications; the release also fixes building with GCC 15.

Changes

  • 8/install-extensions.sh, 8/tests/extensions.php and the README extension table: 2.5.7 → 2.5.8 (release notes).

Validation

  • CI builds every PHP version and variant, checks the loaded version, and runs the MongoDB functional test against a MongoDB server.

2.5.8 fixes CVE-2026-129928: the extension included the connection credentials in
error messages and logs. It also fixes the build with GCC 15.
@csandanov
csandanov merged commit c74b202 into master Nov 21, 2026
42 checks passed
@csandanov
csandanov deleted the fix/mongodb-2.5.8 branch November 21, 2026 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant