Skip to main content
EPSS 0.5%top 60%

CVE-2026-81525: CWE-943: Improper Neutralization of Special Elements in Data Query Logic in MongoDB PHP Library

0
High
VulnerabilityCVE-2026-81525cvecve-2026-81525cwe-943
Published: 08/27/2026 (08/27/2026, 18:32:26 UTC)
Source: CVE Database V5
Vendor/Project: MongoDB
Product: PHP Library

Description

CVE-2026-81525 is a high-severity vulnerability in the MongoDB PHP client library where special elements in namespace identifiers are not properly sanitized. This can cause database operations to be redirected silently to unintended storage locations if untrusted input is used. The vulnerability affects versions 1.0.0 and 2.0.0 of the library. No official patch or remediation guidance is currently available.

CVSS v4.0

Score 8.6high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Affected software

MongoDB

PHP Library

Affected versions
>=0 <1.21.4>=2.0.0 <2.4.1

MongoDB

PHP Extension

Affected versions
>=0 <1.21.6>=2.0.0 <2.4.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 10:37:05 UTC

Technical Analysis

The MongoDB PHP client library fails to adequately neutralize special elements in application-supplied namespace identifiers before using them to construct target namespaces for database operations. This improper sanitization (CWE-943) allows an attacker who can influence these identifiers to cause operations to be executed against different storage locations than intended by the application. This can lead to data integrity issues or unauthorized data access within the database context. The vulnerability has a CVSS 4.0 base score of 8.6, indicating high severity, with network attack vector, low attack complexity, no privileges required, and high impact on confidentiality and integrity.

Potential Impact

An attacker able to supply untrusted text into namespace identifiers may cause database operations to be silently redirected to unintended storage locations. This can result in unauthorized data manipulation or leakage within the MongoDB environment used by the PHP application. The impact affects confidentiality and integrity of data handled by the vulnerable library versions.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid incorporating untrusted input directly into namespace identifiers used by the MongoDB PHP library. Implement input validation and sanitization at the application level to prevent injection of special elements into namespace identifiers.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mongodb
Date Reserved
2026-08-26T22:14:05.297Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a909cffacd9273b49b2d382

Added to database: 08/27/2026, 20:24:31 UTC

Last enriched: 09/08/2026, 10:37:05 UTC

Last updated: 10/10/2026, 06:48:19 UTC

Views: 83

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses