---
id: CVE-2026-87872
title: |-
  A flaw was found in the OCAPI modules (ocapi_command, ocapi_info) of the
  community.general Ansible collection
summary: >-
  A flaw was found in the OCAPI modules (ocapi_command, ocapi_info) of the

  community.general Ansible collection. The shared OCAPI request helper disables

  TLS certificate validation on every request and the modules expose no
  parameter

  to re…
severity: medium
cvss: 6.8
cvssVector: 'CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-295
vendor: Red Hat
product: ansible-collection-community-general
affected:
  - ansible-collection-community-general (all versions)
  - ansible-collection-community-general (all versions)
  - ansible-collection-community-general (all versions)
  - ansible-collection-community-general (all versions)
published: '2026-09-09'
updated: '2026-09-14'
sourceUpdated: '2026-09-14T14:17:18.553'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-87872'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2026-87872'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2530988'
    label: secalert@redhat.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-14T13:39:30.350093Z'
epss: 0.00091
epssPercentile: 0.00566
ingestedAt: '2026-09-14T15:23:07.419Z'
---

## Overview

A flaw was found in the OCAPI modules (ocapi_command, ocapi_info) of the
community.general Ansible collection. The shared OCAPI request helper disables
TLS certificate validation on every request and the modules expose no parameter
to re-enable it, while sending HTTP Basic-Auth credentials to an https endpoint.
An attacker positioned on the network path between the Ansible controller and the
OCAPI-managed storage/enclosure device can present any certificate, intercept the
session, capture the credentials, and tamper with responses.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
