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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.4
- **CVSS:** 7.4 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.33% (percentile 18, 2026-11-26)
- **CWE:** CWE-295
- **Aliases:** GHSA-43ff-rr26-8hx4
- **Published:** 2025-10-15T17:25:43.428Z
- **Modified:** 2026-10-08T11:10:00.250Z

## Who should check

- Projects that depend on Maven package org.opensearch.dataprepper.plugins:opensearch (\< 2.12.2)
- Anyone running opensearch-project data-prepper \< 2.12.2

## 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.

## Affected and fixed versions

- Maven `org.opensearch.dataprepper.plugins:opensearch`: affected \< 2.12.2; fixed 2.12.2 (osv)
- opensearch-project data-prepper: \< 2.12.2 (cvelist)

## Mitigation

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

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-62371. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-62371.md
Affected: org.opensearch.dataprepper.plugins:opensearch < 2.12.2
Fixed in: 2.12.2

Steps:
1. Search this machine and project for org.opensearch.dataprepper.plugins:opensearch (Maven), opensearch-project data-prepper: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-62371 being exploited?

There is no confirmed exploitation: CVE-2025-62371 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-62371?

High: CVSS 7.4 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2025-62371?

org.opensearch.dataprepper.plugins:opensearch \< 2.12.2.

### Is there a fix for CVE-2025-62371?

Yes. Fixed in 2.12.2. Upgrade org.opensearch.dataprepper.plugins:opensearch to 2.12.2 or later.

### How do I check if I'm affected by CVE-2025-62371?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/opensearch-project/data-prepper/security/advisories/GHSA-43ff-rr26-8hx4>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-62371>
- patch: <https://github.com/opensearch-project/data-prepper/commit/98fcf0d0ff9c18f1f7501e11dbed918814724b99>
- patch: <https://github.com/opensearch-project/data-prepper/commit/b0386a5af3fb71094ba6c86cd8b2afc783246599>
- patch: <https://github.com/opensearch-project/data-prepper/commit/db11ce8f27ebca018980b2bca863f7173de9ce56>
- other: <https://github.com/opensearch-project/data-prepper>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-62371>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-43ff-rr26-8hx4> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-62371> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-62371>
