CVE-2025-62371 OpenSearch Data Prepper plugins trusts all SSL certificates by default

High 7.4 Published Updated

OpenSearch Data Prepper plugins bypass SSL validation by default, allowing man-in-the-middle attacks to intercept or modify data in transit.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-62371?

CVE-2025-62371 is a high-severity vulnerability in opensearch-project data-prepper, published on 15 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-295

Which versions are affected by CVE-2025-62371?

2 open source packages ship an affected version, including org.opensearch.dataprepper.plugins:opensearch. It affects 1 product.

PackageAffectedFixed in
org.opensearch.dataprepper.plugins:opensearch MavenAll versions2.12.2
org.opensearch.dataprepper.plugins:opensearch MavenAll versions2.12.2

Products include Amazon Opensearch Data Prepper.

How do I fix CVE-2025-62371?

Upgrade org.opensearch.dataprepper.plugins:opensearch to 2.12.2 or later.

Is CVE-2025-62371 being exploited?

There is no known exploitation of CVE-2025-62371 in the wild and no public exploit code.

Sources

Also known as GHSA-43ff-rr26-8hx4.

Is CVE-2025-62371 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free