CVE-2026-139851: Document-level Security Bypass in Elasticsearch Transform Configuration Migration
Incorrect authorization in Elasticsearch transform configuration migration can bypass document-level security. An automatic migration of a transform configuration can drop the stored security headers associated with the transform. Subsequent source searches can run without the original user's document-level restrictions, allowing a user who can access the transform destination to obtain source documents they are not authorized to read.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 8.19.21 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 9.4.6 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 9.5.2
Event History
Frequently Asked Questions
Who is exposed to this issue?
Deployments using Elasticsearch transforms are exposed when an automatic transform configuration migration drops the transform's stored security headers. The impact applies to users who can access the transform destination but would not normally be permitted to read all source documents under document-level security.
What does an attacker need to exploit it?
The attacker needs access to the transform destination. No additional user interaction is required, and the affected transform must have undergone the automatic configuration migration that removes its stored security headers.
How can teams determine whether they may be affected?
Review transforms that have been automatically migrated and identify whether their source access relied on stored security headers and document-level security. Then assess whether destination users could receive source data beyond the documents they are authorized to read.