Skip to content
Heist/ feed
Back to feed
MediumFix available

Uncontrolled Recursion in Elasticsearch Leading to Denial of Service

Type: advisorySources: OSV

Uncontrolled Recursion (CWE-674) in Elasticsearch can lead to Denial of Service via a specially crafted, deeply nested request submitted to the aggregation feature of the search API. Elasticsearch contains an uncontrolled recursion weakness in its search aggregation processing. An authenticated user with read access to a single index can submit a specially crafted request containing deeply nested aggregation definitions. Processing this request triggers unbounded recursive execution that exhausts the server process's available resources, causing the affected node to terminate. The node does not recover automatically and requires manual intervention to restore service.

Products
elasticsearch
Affected versions
Not specified
Fixed versions
8.19.21, 9.4.6, 9.5.2
CVEs
CVE-2026-103006
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 12:04 UTC · Revision 1

Source evidence

Uncontrolled Recursion in Elasticsearch Leading to Denial of Service

core-osv · Original source

Published 13 Oct 2026, 06:47 UTC

Uncontrolled Recursion (CWE-674) in Elasticsearch can lead to Denial of Service via a specially crafted, deeply nested request submitted to the aggregation feature of the search API. Elasticsearch contains an uncontrolled recursion weakness in its search aggregation processing. An authenticated user with read access to a single index can submit a specially crafted request containing deeply nested aggregation definitions. Processing this request triggers unbounded recursive execution that exhausts the server process's available resources, causing the affected node to terminate. The node does not recover automatically and requires manual intervention to restore service.

osv:BIT-elasticsearch-2026-103006

elasticsearch

Fixed versions: 8.19.21, 9.4.6, 9.5.2

Complete source record
{
  "id": "e82407655481b9ada3ace96156f478b3ed987eb951a8d70a0e2670806834f0db",
  "url": "https://osv.dev/vulnerability/BIT-elasticsearch-2026-103006",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Uncontrolled Recursion in Elasticsearch Leading to Denial of Service",
    "summary": "Uncontrolled Recursion (CWE-674) in Elasticsearch can lead to Denial of Service via a specially crafted, deeply nested request submitted to the aggregation feature of the search API. Elasticsearch contains an uncontrolled recursion weakness in its search aggregation processing. An authenticated user with read access to a single index can submit a specially crafted request containing deeply nested aggregation definitions. Processing this request triggers unbounded recursive execution that exhausts the server process's available resources, causing the affected node to terminate. The node does not recover automatically and requires manual intervention to restore service.",
    "evidence": "osv:BIT-elasticsearch-2026-103006",
    "products": [
      {
        "name": {
          "value": "elasticsearch",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "8.19.21",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "9.4.6",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "9.5.2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "BIT-elasticsearch-2026-103006",
      "aliases": [
        "BIT-elasticsearch-2026-103006",
        "CVE-2026-103006"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "8.0.0"
                },
                {
                  "fixed": "8.19.21"
                },
                {
                  "introduced": "9.0.0"
                },
                {
                  "fixed": "9.4.6"
                },
                {
                  "introduced": "9.5.0"
                },
                {
                  "fixed": "9.5.2"
                }
              ]
            }
          ],
          "package": {
            "name": "elasticsearch",
            "purl": "pkg:bitnami/elasticsearch",
            "ecosystem": "Bitnami"
          },
          "severity": [
            {
              "type": "CVSS_V3",
              "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
            }
          ],
          "database_specific": {
            "source": "https://github.com/bitnami/vulndb/tree/main/data/elasticsearch/BIT-elasticsearch-2026-103006.json"
          }
        }
      ],
      "modified": "2026-10-14T11:00:04.044856950Z",
      "provider": "osv",
      "references": [
        "https://discuss.elastic.co/t/elasticsearch-8-19-21-9-4-6-9-5-2-security-update-esa-2026-196/390870",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-103006"
      ],
      "provider_metadata": {
        "cpes": [
          "cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*",
          "cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:maven:*:*"
        ],
        "severity": "Medium"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-103006",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 316148,
  "published_at": "2026-10-13T06:47:22.097+00:00"
}