Skip to content
Heist/ feed
Back to feed
Medium

Spring Data Relational Parameter not Escaped for Query By Example LIKE Pattern

Type: advisorySources: OSV

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. Affected versions: Spring 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-41697
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 03:55 UTC · Revision 1

Source evidence

Spring Data Relational Parameter not Escaped for Query By Example LIKE Pattern

core-osv · Original source

Published 9 Jun 2026, 23:47 UTC

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. Affected versions: Spring 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.

osv:CVE-2026-41697
Complete source record
{
  "id": "414bf6d6f151932078d39fcdf8c241e8d54f0af88cd71a00efcebb5dfd5c2ac7",
  "url": "https://osv.dev/vulnerability/CVE-2026-41697",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Spring Data Relational Parameter not Escaped for Query By Example LIKE Pattern",
    "summary": "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. Affected versions: Spring 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.",
    "evidence": "osv:CVE-2026-41697",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-41697",
      "aliases": [
        "CVE-2026-41697",
        "GHSA-8r2h-xh92-gq57"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/spring-projects/spring-data-relational",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3252e06ca23317caa37e6afe5580ca4f4d2c4827"
                },
                {
                  "last_affected": "42c441a0369a6d452b654199a4f4a93e1950a85c"
                },
                {
                  "introduced": "fb390ff9e4296e30e144bbf1131864acf38f3a2d"
                },
                {
                  "last_affected": "82d1cdd6872fe7c6e85073d6a508878369462feb"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "4.0.0"
                      },
                      {
                        "last_affected": "4.0.5"
                      }
                    ],
                    "source": "DESCRIPTION"
                  },
                  {
                    "range": [
                      {
                        "introduced": "3.5.0"
                      },
                      {
                        "last_affected": "3.5.11"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.0.5",
            "3.5.11",
            "4.0.4",
            "3.5.10",
            "3.5.9",
            "4.0.3",
            "4.0.2",
            "3.5.8",
            "4.0.1",
            "3.5.7",
            "4.0.0",
            "3.5.6",
            "3.5.5",
            "3.5.4",
            "3.5.3",
            "3.5.2",
            "3.5.1",
            "3.5.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41697.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:33.011619142Z",
      "provider": "osv",
      "references": [
        "https://spring.io/security/cve-2026-41697",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41697.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-41697"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-943"
        ],
        "cna_assigner": "vmware",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.0.0"
                  },
                  {
                    "fixed": "4.0.5.1"
                  },
                  {
                    "introduced": "3.5.0"
                  },
                  {
                    "fixed": "3.5.11.1"
                  },
                  {
                    "introduced": "3.4.0"
                  },
                  {
                    "fixed": "3.4.15"
                  },
                  {
                    "introduced": "3.3.0"
                  },
                  {
                    "fixed": "3.3.17"
                  },
                  {
                    "introduced": "3.2.0"
                  },
                  {
                    "fixed": "3.2.16"
                  },
                  {
                    "introduced": "3.1.0"
                  },
                  {
                    "fixed": "3.1.15"
                  },
                  {
                    "introduced": "3.0.0"
                  },
                  {
                    "fixed": "3.0.16"
                  },
                  {
                    "introduced": "2.4.0"
                  },
                  {
                    "fixed": "2.4.20"
                  },
                  {
                    "introduced": "4.0.0"
                  },
                  {
                    "fixed": "4.0.5.1"
                  },
                  {
                    "introduced": "3.5.0"
                  },
                  {
                    "fixed": "3.5.11.1"
                  },
                  {
                    "introduced": "3.4.0"
                  },
                  {
                    "fixed": "3.4.15"
                  },
                  {
                    "introduced": "3.3.0"
                  },
                  {
                    "fixed": "3.3.17"
                  },
                  {
                    "introduced": "3.2.0"
                  },
                  {
                    "fixed": "3.2.16"
                  },
                  {
                    "introduced": "3.1.0"
                  },
                  {
                    "fixed": "3.1.15"
                  },
                  {
                    "introduced": "3.0.0"
                  },
                  {
                    "fixed": "3.0.16"
                  },
                  {
                    "introduced": "2.4.0"
                  },
                  {
                    "fixed": "2.4.20"
                  },
                  {
                    "introduced": "4.0.0"
                  },
                  {
                    "fixed": "4.0.5.1"
                  },
                  {
                    "introduced": "3.5.0"
                  },
                  {
                    "fixed": "3.5.11.1"
                  },
                  {
                    "introduced": "3.4.0"
                  },
                  {
                    "fixed": "3.4.15"
                  },
                  {
                    "introduced": "3.3.0"
                  },
                  {
                    "fixed": "3.3.17"
                  },
                  {
                    "introduced": "3.2.0"
                  },
                  {
                    "fixed": "3.2.16"
                  },
                  {
                    "introduced": "3.1.0"
                  },
                  {
                    "fixed": "3.1.15"
                  },
                  {
                    "introduced": "3.0.0"
                  },
                  {
                    "fixed": "3.0.16"
                  },
                  {
                    "introduced": "1.5.0"
                  },
                  {
                    "fixed": "1.5.20"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41697.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-41697",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 500182,
  "published_at": "2026-06-09T23:47:42.091+00:00"
}