{"schemaVersion":4,"id":"CVE-2026-123886","aliases":[],"status":"published","duplicateOf":null,"title":"Spring Data Elasticsearch SpEL Expression Injection through String-based Query Method Arguments","description":"Spring Data Elasticsearch replaces positional placeholders in string-based @Query methods with the method arguments before it evaluates SpEL expressions in the resulting query string.\n\n\n\nAs a result, an argument that contains a SpEL expression is evaluated as part of the query, even if the declared query does not use SpEL.\n\n\n\n An application is affected if it passes untrusted input as an argument to a repository query method that declares a @Query with positional placeholders.\n\n\n\nIn that case, a remote attacker can execute arbitrary code in the application, and repeated requests can exhaust memory through the unbounded expression cache.","dates":{"published":"2026-11-23T10:12:10.050Z","modified":"2026-11-24T14:48:30.029Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0133,"percentile":0.72035,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-24T00:00:00.000Z","score":0.00783,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00789,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00789,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00789,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00789,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00789,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00789,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0133,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0133,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0133,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0133,"percentile":0.72035}],"last30":[{"date":"2026-11-24T00:00:00.000Z","score":0.00783,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00789,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00789,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00789,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00789,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00789,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00789,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0133,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0133,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0133,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0133,"percentile":0.72035}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-94","name":"Improper Control of Generation of Code","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"}],"affected":[{"vendor":"spring","product":"spring data elasticsearch","name":"Spring Data Elasticsearch","label":"spring data elasticsearch","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.1.0, < 6.1.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"6.1.0","startInclusive":true,"end":"6.1.3","endInclusive":false}},{"text":"≥ 6.0.0, < 6.0.9","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"6.0.0","startInclusive":true,"end":"6.0.9","endInclusive":false}}],"versionsText":"≥ 6.1.0, < 6.1.3 | ≥ 6.0.0, < 6.0.9","eol":null,"hubHref":"/vendor/spring/spring_data_elasticsearch"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://spring.io/security/cve-2026-123886","label":"spring.io/security/cve-2026-123886","hostname":"spring.io","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-23T10:12:10.050Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-24T14:48:30.029Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,88],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.0133,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-24T14:48:30.029Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-24T14:48:30.029Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-24T14:48:12.234Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.0133,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T04:05:31.680Z","stale":false,"partial":false}}