OpenSearch Data Prepper
CVE-2025-62371
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain MITM position on Data Prepper↔OpenSearch path
-
DeliveryIntercept TLS handshake
-
ExploitPresent forged certificate
-
ExecutionTrust-all strategy accepts cert
-
ImpactDecrypt and modify observability data in transit
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
|
| Exploitation Conditions | Exploitation requires two concrete conditions: (1) the OpenSearch sink or source plugin is configured WITHOUT the 'cert' parameter (the vulnerable default, in which the plugin silently uses a trust-all SSL strategy), and (2) the attacker holds an active man-in-the-middle position on the network between Data Prepper and the target OpenSearch cluster's HTTPS endpoint. It is limited to Data Prepper versions prior to 2.12.2. It does NOT require authentication or user interaction, but the need to intercept the TLS connection (AC:H) means it is not exploitable remotely against a target the attacker cannot network-path-intercept. Explicitly setting the 'cert' parameter to the cluster CA certificate fully mitigates it even before patching. |
| Impact | This is a genuine but conditional TLS trust flaw (CWE-295), not an inflated high-CVSS-low-risk item, yet the real-world risk is moderate rather than urgent. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N, 7.4) correctly captures the profile: no authentication or user interaction is needed, but AC:H reflects that exploitation requires the attacker to already occupy a man-in-the-middle position on the network path between Data Prepper and its OpenSearch cluster - the hardest prerequisite. All threat-intelligence signals point away from active or imminent mass exploitation: EPSS is very low at 0.19% (8th percentile), the CVE is NOT in CISA KEV, and no public exploit code is identified. There is therefore no signal conflict to reconcile - vendor severity, EPSS, and KEV status are internally consistent (a real design defect that is not being weaponized at scale). The C:H/I:H rating is justified because a successful MITM lets the attacker both read and tamper with all observability data (logs, traces, metrics) in transit, which can include sensitive operational data; A:N is appropriate as availability is not directly impacted. Priority should be driven by whether the network path is trusted: environments where Data Prepper talks to OpenSearch over a controlled/internal segment face low practical risk, while cross-network or cloud-transit deployments should patch promptly. |
| Exploit ScenarioDerived | An attacker who can position themselves on the network path between a Data Prepper instance and its OpenSearch cluster (e.g., via ARP spoofing, a compromised router/proxy, or rogue node in a shared cloud segment) presents a forged TLS certificate. Because the sink/source plugins use a trust-all SSL strategy when no cert path is configured, Data Prepper accepts the forged certificate and the attacker silently intercepts and modifies observability data in transit. No public exploit code exists, and success depends on first achieving the MITM position (AC:H). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 30, 2026
Man-in-the-middle attackers who already sit on the network path between OpenSearch Data Prepper (versions prior to 2.12.2) and an OpenSearch cluster can silently intercept and modify data in transit, because the OpenSearch sink and source plugins fall back to a trust-all SSL strategy whenever the 'cert' parameter is omitted rather than relying on the JVM's normal certificate validation. The flaw (CWE-295) is unauthenticated (PR:N) and needs no user interaction, but exploitation requires two concrete conditions: a deployment that leaves 'cert' unset and an adversary capable of intercepting the TLS connection, which is why the assessed vector is AV:N/AC:H and why the real-world risk is moderate rather than urgent. No public exploit code has been identified at time of analysis, EPSS is low at 0.19% (8th percentile), and the issue is not listed in CISA KEV; a vendor patch is available in Data Prepper 2.12.2 and explicitly setting the cluster CA certificate fully mitigates the issue even before upgrading.
RemediationAI
Upgrade to the vendor-released patch, OpenSearch Data Prepper 2.12.2, which changes the trust-all behavior so it only applies when an explicit 'insecure' flag is set and otherwise leaves standard certificate validation enabled (fix commits 98fcf0d0ff9c18f1f7501e11dbed918814724b99, b0386a5af3fb71094ba6c86cd8b2afc783246599 and db11ce8f27ebca018980b2bca863f7173de9ce56, documented in GHSA-43ff-rr26-8hx4). If an immediate upgrade is not possible, apply the vendor workaround: explicitly supply the cluster's CA certificate so the vulnerable fallback is never taken - for the OpenSearch sink add 'cert: /path/to/your/ca-certificate.pem' at the top level of the sink configuration, and for the OpenSearch source add the same path under 'connection: cert: /path/to/your/ca-certificate.pem'. Setting that parameter restores proper server authentication and fully neutralizes the issue even on unpatched versions. Do not enable the new 'insecure' flag as a convenience workaround, since it deliberately re-introduces the same trust-all exposure. As defense in depth, treat the Data Prepper-to-OpenSearch path as sensitive and reduce the attacker's ability to reach a man-in-the-middle position (segment the pipeline network, avoid untrusted or shared transports), but note that these are compensating controls only and carry the trade-off of added network complexity without fixing the missing certificate validation, so the cert parameter or the 2.12.2 upgrade remains the definitive fix.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Data Prepper is a Java-based open source data collector for observability pipelines, and this issue lives in the 'opensearch' plugin module (Maven coordinate org.opensearch.dataprepper.plugins:opensearch) that implements both the OpenSearch sink and the OpenSearch source. The root cause is CWE-295, Improper Certificate Validation: in ConnectionConfiguration.java the connection builder selected its SSLContext with the ternary 'certPath != null ? getCAStrategy(certPath) : getTrustAllStrategy()', so any deployment that did not supply a certificate path automatically received a trust-all TrustManager instead of the JVM default trust store. The same pattern appeared in the source-side OpenSearchClientFactory, where a trust-all TrustManager array was always registered via tlsTrustManagersProvider on the Elasticsearch/OpenSearch REST clients and the AWS SDK v2 Apache HTTP client. Because these clients establish the HTTPS channel to the cluster, accepting any presented certificate removes the server authentication step of TLS and opens the door to interception and tampering by any party able to position itself on that path. The fix commits (98fcf0d, b0386a5, db11ce8) invert the logic: trust-all is now only used when an explicit 'insecure' flag is set, and when neither a cert path nor insecure is configured the code returns an empty TrustManager array (leaving the default, validating behavior in place), while Azure/OpenSearch URL construction was also corrected to use toHostString() so explicit ports survive in the AWS SDK v2 transport. The trust-everything behavior was therefore a secure-by-default failure rather than an exploitable memory-safety or injection class bug, and it disappears entirely once a cert path is present.
Know when Opensearch Data Prepper gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
AC:H because a network MITM position is required; PR:N/UI:N as no auth or interaction is needed; C:H/I:H since intercepted traffic can be read and modified; A:N as availability is unaffected.
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
OpenSearch Data Prepper as an open source data collector for observability data. In versions prior to 2.12.2, the OpenSearch sink and source plugins in Data Prepper trust all SSL certificates by default when no certificate path is provided. Prior to this fix, the OpenSearch sink and source plugins would automatically use a trust all SSL strategy when connecting to OpenSearch clusters if no certificate path was explicitly configured. This behavior bypasses SSL certificate validation, potentially allowing attackers to intercept and modify data in transit through man-in-the-middle attacks. The vulnerability affects connections to OpenSearch when the cert parameter is not explicitly provided. This issue has been patched in version 2.12.2. As a workaround, users can add the cert parameter to their OpenSearch sink or source configuration with the path to the cluster's CA certificate.
Executive ViewAI
OpenSearch Data Prepper deployments prior to version 2.12.2 can expose data moving to and from OpenSearch clusters to interception or alteration when configuration safeguards are omitted and an adversary is positioned on the network path. This configuration-dependent risk affects data pipeline integrity rather than representing a broadly exploited vulnerability, and no public exploit identified at time of analysis. Leadership should care because affected pipelines may carry sensitive business data, and remediation is straightforward through vendor patching or proper certificate configuration.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
More in Opensearch Data Prepper
View allDenial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
OpenSearch Data Prepper is a component of the OpenSearch project that accepts, filters, transforms, enriches, and routes
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB