CVE-2026-135147: Improper neutralization of query expressions in incrementEach() and decrementEach() in Laravel MongoDB
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.
Affected Software
Event History
Frequently Asked Questions
Which application code paths should be prioritized for review?
Review uses of the MongoDB query builder's incrementEach() and decrementEach() helpers, especially where their input values can be influenced by HTTP requests or other untrusted external sources.
Does exploitation require an authenticated application user?
No. The supplied data states that the party providing the malicious value does not need credentials.