Menu

Elasticsearch transform migration can quietly strip document-level security
📰

Elasticsearch transform migration can quietly strip document-level security

DEV Community: elasticsearch·yutianle·1 day ago
#DzQqF9HV
Long article (377 words) — no AI summary yet.
Reading 0:00
15s threshold

Elasticsearch transform migration can quietly strip document-level security

Elasticsearch transforms can copy source documents into a destination index while stored security headers preserve the original user's document-level restrictions. CVE-2026-139851 affects an automatic configuration migration that can drop those headers. Later source searches may run without the intended restriction, allowing a user who can access the transform destination to read source documents that should remain hidden.

Affected releases

The Elastic advisory covers Elasticsearch 8.18.0 through 8.19.20, 9.0.0 through 9.4.5, and 9.5.0 through 9.5.1. Fixed releases are 8.19.21, 9.4.6, and 9.5.2. The CVSS v3.1 score is 6.5. The issue is an incorrect authorization defect rather than a direct anonymous read.

Why transform metadata matters

Document-level security depends on the identity and headers stored with the processing context. A transform may run with elevated privileges or service-account access.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.