{"id":"CVE-2026-41697","published":"2026-06-09T23:47:42Z","modified":"2026-06-27T21:33:25Z","title":"Spring Data Relational Parameter not Escaped for Query By Example LIKE Pattern","vendor":"Spring","product":"Spring Data Relational","tier":"tail","description":{"text":"Spring Data Relational does not properly escape binding values of externally-controlled input when using StringMatcher (STARTING, ENDING, or CONTAINING) in Query By Example (QBE). An attacker can supply wildcard characters to perform boolean-based blind data inference.\n\nAffected versions:\nSpring Data Relational/JDBC/R2DBC 4.0.0 through 4.0.5; 3.5.0 through 3.5.11; 3.4.0 through 3.4.14; 3.3.0 through 3.3.16; 3.2.0 through 3.2.15; 3.1.0 through 3.1.14; 3.0.0 through 3.0.15; 2.4.0 through 2.4.19.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00227,"percentile":0.13769,"provenance":"source"},"cwes":[{"id":"CWE-943","name":"Improper Neutralization of Special Elements in Data Query Logic"}],"references":[{"url":"https://spring.io/security/cve-2026-41697","tags":[]}],"priority":{"score":6.1,"factors":[{"name":"EPSS percentile","points":2.75},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"spring","affectedVersions":[{"vendor":"Spring","product":"Spring Data Relational","versions":[">= 4.0.0, < 4.0.5.1",">= 3.5.0, < 3.5.11.1",">= 3.4.0, < 3.4.15",">= 3.3.0, < 3.3.17",">= 3.2.0, < 3.2.16",">= 3.1.0, < 3.1.15",">= 3.0.0, < 3.0.16",">= 2.4.0, < 2.4.20"]},{"vendor":"Spring","product":"Spring Data JDBC","versions":[">= 4.0.0, < 4.0.5.1",">= 3.5.0, < 3.5.11.1",">= 3.4.0, < 3.4.15",">= 3.3.0, < 3.3.17",">= 3.2.0, < 3.2.16",">= 3.1.0, < 3.1.15",">= 3.0.0, < 3.0.16",">= 2.4.0, < 2.4.20"]},{"vendor":"Spring","product":"Spring Data R2DBC","versions":[">= 4.0.0, < 4.0.5.1",">= 3.5.0, < 3.5.11.1",">= 3.4.0, < 3.4.15",">= 3.3.0, < 3.3.17",">= 3.2.0, < 3.2.16",">= 3.1.0, < 3.1.15",">= 3.0.0, < 3.0.16",">= 1.5.0, < 1.5.20"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-10T17:51:14.731749Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework.data:spring-data-relational","vulnerableRanges":[">=4.0.0, <4.0.6",">=3.5.0, <3.5.12",">=3.4.0, <=3.4.14",">=3.0.0, <=3.3.16","<=2.4.19"],"patched":["4.0.6","3.5.12"],"from":["GHSA-8r2h-xh92-gq57"],"provenance":"source"}],"summary":{"text":"The flaw is in Spring Data Relational's Query By Example (QBE) support, where binding values for StringMatcher modes (STARTING, ENDING, or CONTAINING) are not properly escaped when they come from externally controlled input. An attacker who can influence those values can supply wildcard characters so that the component's queries behave differently in a way that leaks data through boolean-based blind inference, provided they can reach the affected query path over the network without authentication or user interaction and with a moderately complex attack condition.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:33Z"},"euvd":{"id":"EUVD-2026-35893","exploited":false,"provenance":"source"}}