Skip to main content

community.general Ansible CVE-2026-87872

| EUVDEUVD-2026-75086 MEDIUM
Improper Certificate Validation (CWE-295)
2026-09-09 redhat GHSA-72h7-pjj2-r4pr
6.8
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain adjacent management network access
  2. Delivery
    ARP spoof or intercept traffic between Ansible controller and OCAPI device
  3. Exploit
    Present attacker-controlled TLS certificate
  4. Execution
    Certificate accepted without validation
  5. Persist
    Capture Basic-Auth credentials from HTTPS request headers
  6. Impact
    Return falsified OCAPI device state to Ansible controller

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
Exploitation Conditions

Exploitation requires all three of the following conditions: (1) the target environment must actively use the community.general ocapi_command or ocapi_info Ansible modules to manage OCAPI-capable storage or enclosure hardware - environments not using these specific modules are unaffected; (2) the attacker must be positioned on the adjacent network segment between the Ansible controller and the OCAPI device, such as the same management VLAN or a connected switch, since the CVSS AV:A constraint excludes remote internet-based attackers without prior network foothold; (3) the attacker must be capable of sustaining active MITM interception (AC:H), such as via ARP poisoning, rogue DHCP, or a compromised network device. There is no configuration option in the affected modules that would prevent exploitation - certificate validation is unconditionally disabled regardless of any other security posture. Exploitation is limited by the AC:H requirement and the specialized OCAPI deployment context.

Impact

The CVSS 3.1 vector AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N accurately reflects the constraints: the attacker must already occupy an adjacent network position (AV:A) and maintain active MITM capability (AC:H), which is a meaningful practical barrier in well-segmented data center environments. Once positioned, however, no privileges are required and exploitation is silent - the Ansible controller will continue operating normally while credentials are captured. The high integrity impact (I:H) is a frequently overlooked risk: beyond credential theft, a MITM can return falsified device state to the Ansible controller, causing playbooks to act on incorrect storage topology data. EPSS data is absent from the available intelligence, and the vulnerability is not in CISA KEV, indicating no confirmed opportunistic exploitation. Environments running Ansible automation against OCAPI-managed HPE infrastructure over shared or insufficiently isolated management networks - even in smaller deployments - face meaningful credential exposure risk if network segmentation is not enforced between the Ansible controller and storage management interfaces. The AC:H constraint and specialized deployment context together make widespread opportunistic exploitation unlikely, but the impact in targeted attacks against data center automation pipelines is significant.

Exploit ScenarioDerived

An attacker with access to the data center management VLAN uses ARP spoofing to intercept traffic between the Ansible controller and an OCAPI-managed storage enclosure, then presents a self-signed certificate that the ocapi_command module accepts without error due to disabled validation. The attacker captures the HTTP Basic-Auth credentials from the Authorization header and returns crafted OCAPI responses, causing the Ansible playbook to record false device state. No public exploit code has been identified, but the technique requires only standard MITM tooling available in any penetration testing toolkit.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 09, 2026

Unconditional TLS certificate validation disabling in the OCAPI modules (ocapi_command, ocapi_info) of the community.general Ansible collection exposes HTTP Basic-Auth credentials to interception and permits response tampering against any managed OCAPI storage or enclosure device. Because the shared request helper disables certificate validation on every call with no parameter to re-enable it, a network-adjacent attacker performing a MITM attack can present any certificate, silently capture credentials, and inject falsified device responses back to the Ansible controller. Red Hat bundles the affected collection in Ceph Storage 5 and 9 and OpenStack Platform 17.1 and 18.0; no public exploit has been identified at time of analysis.

RemediationAI

No exact patched version of the community.general collection or affected Red Hat products has been confirmed in the available intelligence; administrators should monitor https://access.redhat.com/security/cve/CVE-2026-87872 and https://bugzilla.redhat.com/show_bug.cgi?id=2530988 for patch availability and apply vendor-released updates as soon as they are published. As an immediate compensating control, strictly isolate the management network carrying OCAPI traffic so that no untrusted hosts can reach the segment between the Ansible controller and OCAPI devices - this eliminates the adjacent network MITM vector. Additionally, rotating any OCAPI credentials that were transmitted via the affected modules should be considered, particularly if network isolation was previously incomplete. Disabling the ocapi_command and ocapi_info modules entirely is a viable workaround if OCAPI automation is not operationally critical, with the trade-off of losing Ansible-driven storage management capability until a fix is applied.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OCAPI (Open Composable API) is a REST-based management interface used by HPE and similar vendors for storage enclosures and composable infrastructure. The community.general Ansible collection ships ocapi_command and ocapi_info to automate OCAPI device management over HTTPS with HTTP Basic-Auth. A shared helper function invoked by both modules unconditionally disables TLS certificate verification (the equivalent of passing verify=False in Python requests), directly violating CWE-295 (Improper Certificate Validation). Because Basic-Auth credentials are base64-encoded in the Authorization header of every HTTPS request, any adversary who can intercept the TLS session - by presenting an arbitrary certificate that the helper will accept without question - receives the credentials in cleartext. The affected Red Hat products confirmed by CPE data are Red Hat Ceph Storage 5 (cpe:2.3:a:red_hat:red_hat_ceph_storage_5), Red Hat Ceph Storage 9 (cpe:2.3:a:red_hat:red_hat_ceph_storage_9), Red Hat OpenStack Platform 17.1, and Red Hat OpenStack Platform 18.0, all of which bundle the community.general collection.

Know when Ansible 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

Vendor (redhat) PRIMARY 6.8 MEDIUM
AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 6.8 MEDIUM

Adjacent network MITM required (AV:A, AC:H); no privileges needed as validation is unconditionally disabled; credential capture yields C:H and response tampering yields I:H; no availability impact.

3.1 AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:A/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Red Hat 6.8 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Adjacent
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Low
niche OCAPI storage management protocol in enterprise data centers
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:red_hat_ceph_storage_5:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_ceph_storage_9:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_openstack_platform_17.1:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_openstack_platform_18.0:*:*:*:*:*:*:*:*
CVE-2015-1482 MEDIUM POC
5.0 Feb 04

Ansible Tower (aka Ansible UI) before 2.0.5 allows remote attackers to bypass authentication and obtain sensitive inform

CVE-2015-1481 MEDIUM POC
6.5 Feb 04

Ansible Tower (aka Ansible UI) before 2.0.5 allows remote organization administrators to gain privileges by creating a s

CVE-2015-1368 MEDIUM POC
4.3 Jan 27

Multiple cross-site scripting (XSS) vulnerabilities in Ansible Tower (aka Ansible UI) before 2.0.5 allow remote attacker

CVE-2019-10217 MEDIUM POC
6.5 Nov 25

A flaw was found in ansible 2.8.0 before 2.8.4. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploit

CVE-2017-7550 CRITICAL
9.8 Nov 21

A flaw was found in the way Ansible (2.3.x before 2.3.3, and 2.4.x before 2.4.1) passed certain parameters to the jenkin

CVE-2021-33924 CRITICAL
9.8 Sep 29

Confluent Ansible (cp-ansible) version 5.5.0, 5.5.1, 5.5.2 and 6.0.0 is vulnerable to Incorrect Access Control via its a

CVE-2020-1733 MEDIUM POC
5.0 Mar 11

A race condition flaw was found in Ansible Engine 2.7.17 and prior, 2.8.9 and prior, 2.9.6 and prior when running a play

CVE-2014-3498 HIGH
8.8 Jun 08

The user module in ansible before 1.6.6 allows remote authenticated users to execute arbitrary commands. Rated high seve

CVE-2026-89091 HIGH
8.8 Oct 08

Symlink-following file overwrite on the Ansible control node is possible in ansible-core when a user runs `ansible-galax

CVE-2020-1735 MEDIUM POC
4.6 Mar 16

A flaw was found in the Ansible Engine when the fetch module is used. Rated medium severity (CVSS 4.6), this vulnerabili

CVE-2026-87874 HIGH
8.1 Sep 09

Remote code execution via unsafe Python pickle deserialization in the community.general Ansible collection's memcached f

CVE-2015-6240 HIGH
7.8 Jun 07

The chroot, jail, and zone connection plugins in ansible before 1.9.2 allow local users to escape a restricted environme

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy