Search

Find a vulnerability

Search criteria

    2 vulnerabilities found for Spring Data Elasticsearch by Spring

    CVE-2026-123886 (GCVE-0-2026-123886)

    Vulnerability from nvd โ€“ Published: 2026-11-23 10:12 โ€“ Updated: 2026-11-24 14:48
    VLAI
    Title
    Spring Data Elasticsearch SpEL Expression Injection through String-based Query Method Arguments
    Summary
    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. As 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. An application is affected if it passes untrusted input as an argument to a repository query method that declares a @Query with positional placeholders. In that case, a remote attacker can execute arbitrary code in the application, and repeated requests can exhaust memory through the unbounded expression cache.
    SSVC
    Exploitation: none Automatable: no Technical Impact: total
    CISA Coordinator ยท CISA-ADP (v2.0.3)
    Decision recorded 2026-11-24 14:48 UTC
    CWE
    • CWE-94 - Improper Control of Generation of Code ('Code Injection')
    Assigner
    vmware CNA under the mitre root
    CNA scorecard C 65/100 over 255 records in the last 180 days details
    References
    Impacted products
    Vendor Product Version
    Spring Spring Data Elasticsearch Affected: 6.1.0 , < 6.1.3 (semver)
    Affected: 6.0.0 , < 6.0.9 (semver)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-123886",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-24T14:48:12.234349Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "problemTypes": [
              {
                "descriptions": [
                  {
                    "cweId": "CWE-94",
                    "description": "CWE-94 Improper Control of Generation of Code (\u0027Code Injection\u0027)",
                    "lang": "en",
                    "type": "CWE"
                  }
                ]
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-24T14:48:30.029Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "Spring Data Elasticsearch",
              "vendor": "Spring",
              "versions": [
                {
                  "lessThan": "6.1.3",
                  "status": "affected",
                  "version": "6.1.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "6.0.9",
                  "status": "affected",
                  "version": "6.0.0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eSpring Data Elasticsearch replaces positional placeholders in string-based @Query methods with the method arguments before it evaluates SpEL expressions in the resulting query string.\u003c/p\u003e\u003cp\u003eAs 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.\u003c/p\u003e\u003cp\u003e An application is affected if it passes untrusted input as an argument to a repository query method that declares a @Query with positional placeholders.\u003c/p\u003e\u003cp\u003eIn that case, a remote attacker can execute arbitrary code in the application, and repeated requests can exhaust memory through the unbounded expression cache.\u003c/p\u003e"
                }
              ],
              "value": "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."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 8.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-23T10:12:10.050Z",
            "orgId": "dcf2e128-44bd-42ed-91e8-88f912c1401d",
            "shortName": "vmware"
          },
          "references": [
            {
              "url": "https://spring.io/security/cve-2026-123886"
            }
          ],
          "title": "Spring Data Elasticsearch SpEL Expression Injection through String-based Query Method Arguments"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "dcf2e128-44bd-42ed-91e8-88f912c1401d",
        "assignerShortName": "vmware",
        "cveId": "CVE-2026-123886",
        "datePublished": "2026-11-23T10:12:10.050Z",
        "dateReserved": "2026-11-06T17:05:23.475Z",
        "dateUpdated": "2026-11-24T14:48:30.029Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-123886 (GCVE-0-2026-123886)

    Vulnerability from cvelistv5 โ€“ Published: 2026-11-23 10:12 โ€“ Updated: 2026-11-24 14:48
    VLAI
    Title
    Spring Data Elasticsearch SpEL Expression Injection through String-based Query Method Arguments
    Summary
    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. As 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. An application is affected if it passes untrusted input as an argument to a repository query method that declares a @Query with positional placeholders. In that case, a remote attacker can execute arbitrary code in the application, and repeated requests can exhaust memory through the unbounded expression cache.
    SSVC
    Exploitation: none Automatable: no Technical Impact: total
    CISA Coordinator ยท CISA-ADP (v2.0.3)
    Decision recorded 2026-11-24 14:48 UTC
    CWE
    • CWE-94 - Improper Control of Generation of Code ('Code Injection')
    Assigner
    vmware CNA under the mitre root
    CNA scorecard C 65/100 over 255 records in the last 180 days details
    References
    Impacted products
    Vendor Product Version
    Spring Spring Data Elasticsearch Affected: 6.1.0 , < 6.1.3 (semver)
    Affected: 6.0.0 , < 6.0.9 (semver)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-123886",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-24T14:48:12.234349Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "problemTypes": [
              {
                "descriptions": [
                  {
                    "cweId": "CWE-94",
                    "description": "CWE-94 Improper Control of Generation of Code (\u0027Code Injection\u0027)",
                    "lang": "en",
                    "type": "CWE"
                  }
                ]
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-24T14:48:30.029Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "Spring Data Elasticsearch",
              "vendor": "Spring",
              "versions": [
                {
                  "lessThan": "6.1.3",
                  "status": "affected",
                  "version": "6.1.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "6.0.9",
                  "status": "affected",
                  "version": "6.0.0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eSpring Data Elasticsearch replaces positional placeholders in string-based @Query methods with the method arguments before it evaluates SpEL expressions in the resulting query string.\u003c/p\u003e\u003cp\u003eAs 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.\u003c/p\u003e\u003cp\u003e An application is affected if it passes untrusted input as an argument to a repository query method that declares a @Query with positional placeholders.\u003c/p\u003e\u003cp\u003eIn that case, a remote attacker can execute arbitrary code in the application, and repeated requests can exhaust memory through the unbounded expression cache.\u003c/p\u003e"
                }
              ],
              "value": "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."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 8.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-23T10:12:10.050Z",
            "orgId": "dcf2e128-44bd-42ed-91e8-88f912c1401d",
            "shortName": "vmware"
          },
          "references": [
            {
              "url": "https://spring.io/security/cve-2026-123886"
            }
          ],
          "title": "Spring Data Elasticsearch SpEL Expression Injection through String-based Query Method Arguments"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "dcf2e128-44bd-42ed-91e8-88f912c1401d",
        "assignerShortName": "vmware",
        "cveId": "CVE-2026-123886",
        "datePublished": "2026-11-23T10:12:10.050Z",
        "dateReserved": "2026-11-06T17:05:23.475Z",
        "dateUpdated": "2026-11-24T14:48:30.029Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }