What is CVE-2026-135147?
CVE-2026-135147 is a high-severity SQL injection vulnerability in MongoDB PHP Driver, published on 25 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A data-query neutralization weakness in the query builder of the MongoDB integration for a PHP web framework allows values supplied to certain bulk counter-update helpers to be interpreted by the database as query expressions rather than stored as plain text. An application that passes externally supplied data into these helpers may write unintended values into stored documents and may result in unintended disclosure of other data held on the same document. No credentials are required of the party supplying the value.
Weakness: CWE-943
How severe is CVE-2026-135147?
CVE-2026-135147 scores 8.3 out of 10 under CVSS 4.0, which is high severity. It was scored by Mongodb.
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- None
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Which versions are affected by CVE-2026-135147?
An affected version is only exploitable if your software calls incrementEach() or decrementEach(). Many projects that include it are not exposed.
How do I fix CVE-2026-135147?
No fix has been published for CVE-2026-135147 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-135147 being exploited?
There is no known exploitation of CVE-2026-135147 in the wild and no public exploit code.