An issue was discovered in Elasticsearch where specially crafted compressed payloads can cause an infinite loop. A low-privileged authenticated user can submit a malformed payload to a product API endpoint that causes the node to enter a permanent CPU loop, occupying a request-processing thread indefinitely. This can progressively exhaust the node's processing capacity, degrading or denying access to product features, and requiring a restart of the affected node to recover.
PUBLISHED5.2CWE-835
Elasticsearch Unreachable Exit Condition ('Infinite Loop') Vulnerability
Problem type
Affected products
Elastic
Elasticsearch
<= 8.19.25 - AFFECTED
<= 9.4.9 - AFFECTED
<= 9.5.6 - AFFECTED
References
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-133981Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-133981",
"assignerOrgId": "271b6943-45a9-4f3a-ab4e-976f3fa05b5a",
"assignerShortName": "elastic",
"dateUpdated": "2026-11-23T21:13:52.567Z",
"dateReserved": "2026-11-20T18:56:26.168Z",
"datePublished": "2026-11-23T21:13:52.567Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "271b6943-45a9-4f3a-ab4e-976f3fa05b5a",
"shortName": "elastic",
"dateUpdated": "2026-11-23T21:13:52.567Z"
},
"datePublic": "2026-11-23T20:48:46.000Z",
"title": "Elasticsearch Unreachable Exit Condition ('Infinite Loop') Vulnerability",
"descriptions": [
{
"lang": "en",
"value": "An issue was discovered in Elasticsearch where specially crafted compressed payloads can cause an infinite loop. A low-privileged authenticated user can submit a malformed payload to a product API endpoint that causes the node to enter a permanent CPU loop, occupying a request-processing thread indefinitely. This can progressively exhaust the node's processing capacity, degrading or denying access to product features, and requiring a restart of the affected node to recover.",
"supportingMedia": [
{
"type": "text/markdown",
"base64": false,
"value": "An issue was discovered in Elasticsearch where specially crafted compressed payloads can cause an infinite loop. A low-privileged authenticated user can submit a malformed payload to a product API endpoint that causes the node to enter a permanent CPU loop, occupying a request-processing thread indefinitely. This can progressively exhaust the node's processing capacity, degrading or denying access to product features, and requiring a restart of the affected node to recover."
}
]
}
],
"affected": [
{
"vendor": "Elastic",
"product": "Elasticsearch",
"defaultStatus": "unaffected",
"versions": [
{
"version": "8.0.0",
"status": "affected",
"versionType": "semver",
"lessThanOrEqual": "8.19.25"
},
{
"version": "9.0.0",
"status": "affected",
"versionType": "semver",
"lessThanOrEqual": "9.4.9"
},
{
"version": "9.5.0",
"status": "affected",
"versionType": "semver",
"lessThanOrEqual": "9.5.6"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "Loop with Unreachable Exit Condition ('Infinite Loop')",
"cweId": "CWE-835",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://discuss.elastic.co/t/391847",
"tags": [
"vendor-advisory"
]
}
],
"metrics": [
{
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
],
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"baseScore": 6.5,
"baseSeverity": "MEDIUM"
}
}
],
"solutions": [
{
"lang": "en",
"value": "Upgrade Elasticsearch versions 8.0.0 through 8.19.25 to 8.19.26."
},
{
"lang": "en",
"value": "Upgrade Elasticsearch versions 9.0.0 through 9.4.9 to 9.4.10."
},
{
"lang": "en",
"value": "Upgrade Elasticsearch versions 9.5.0 through 9.5.6 to 9.5.7."
}
]
}
}
}