CVE-2026-41696

June 10, 2026, 12:16 a.m.

5.9
Medium

Description

Spring Data MongoDB repository query methods annotated with @Query that use regex parameter binding perform insufficient validation of the bound parameter. An attacker can supply a crafted string to break out of the intended regular expression quoting. Affected versions: Spring Data MongoDB 5.0.0 through 5.0.5; 4.5.0 through 4.5.11; 4.4.0 through 4.4.14; 4.3.0 through 4.3.16; 4.2.0 through 4.2.15; 4.1.0 through 4.1.14; 4.0.0 through 4.0.15; 3.4.0 through 3.4.19.

Product(s) Impacted

Vendor Product Versions
Spring
  • Spring Data Mongodb
  • 5.0.0-5.0.5, 4.5.0-4.5.11, 4.4.0-4.4.14, 4.3.0-4.3.16, 4.2.0-4.2.15, 4.1.0-4.1.14, 4.0.0-4.0.15, 3.4.0-3.4.19

Weaknesses

Common security weaknesses mapped to this vulnerability.

CWE-943
Improper Neutralization of Special Elements in Data Query Logic
The product generates a query intended to access or manipulate data in a data store such as a database, but it does not neutralize or incorrectly neutralizes special elements that can modify the intended logic of the query.

*CPE(s)

Affected systems and software identified for this CVE.

Type Vendor Product Version Update Edition Language Software Edition Target Software Target Hardware Other Information
a spring spring_data_mongodb 5.0.0-5.0.5 / / / / / / /
a spring spring_data_mongodb 4.5.0-4.5.11 / / / / / / /
a spring spring_data_mongodb 4.4.0-4.4.14 / / / / / / /
a spring spring_data_mongodb 4.3.0-4.3.16 / / / / / / /
a spring spring_data_mongodb 4.2.0-4.2.15 / / / / / / /
a spring spring_data_mongodb 4.1.0-4.1.14 / / / / / / /
a spring spring_data_mongodb 4.0.0-4.0.15 / / / / / / /
a spring spring_data_mongodb 3.4.0-3.4.19 / / / / / / /

CVSS Score

5.9 / 10

CVSS Data - 3.1

  • Attack Vector: NETWORK
  • Attack Complexity: HIGH
  • Privileges Required: NONE
  • Scope: UNCHANGED
  • Confidentiality Impact: HIGH
  • Integrity Impact: NONE
  • Availability Impact: NONE
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

    View Vector String

Timeline

Published: June 10, 2026, 12:16 a.m.
Last Modified: June 10, 2026, 12:16 a.m.

Status : Received

CVE has been recently published to the CVE List and has been received by the NVD.

More info

*Disclaimer: Some vulnerabilities do not have an associated CPE. To enhance the data, we use AI to infer CPEs based on CVE details. This is an automated process and might not always be accurate.