---
id: CVE-2025-62371
title: >-
  OpenSearch Data Prepper as an open source data collector for observability
  data
summary: >-
  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
  provid…
severity: high
cvss: 7.4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-295
vendor: amazon
product: opensearch_data_prepper
affected:
  - opensearch_data_prepper < 2.12.2
patched:
  - opensearch_data_prepper 2.12.2
published: '2025-10-15'
updated: '2026-09-30'
sourceUpdated: '2026-09-30T23:10:00.237'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-62371'
references:
  - url: >-
      https://github.com/opensearch-project/data-prepper/commit/98fcf0d0ff9c18f1f7501e11dbed918814724b99
    label: security-advisories@github.com
  - url: >-
      https://github.com/opensearch-project/data-prepper/commit/b0386a5af3fb71094ba6c86cd8b2afc783246599
    label: security-advisories@github.com
  - url: >-
      https://github.com/opensearch-project/data-prepper/commit/db11ce8f27ebca018980b2bca863f7173de9ce56
    label: security-advisories@github.com
  - url: >-
      https://github.com/opensearch-project/data-prepper/security/advisories/GHSA-43ff-rr26-8hx4
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00195
epssPercentile: 0.08281
ingestedAt: '2026-09-30T23:29:32.432Z'
---

## Overview

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

- `opensearch_data_prepper < 2.12.2`

## Remediation

Upgrade past the affected range:

- `opensearch_data_prepper 2.12.2`
