CVE-2026-68562

Ansible-collection-redhat-leapp: ansible-collection-redhat-leapp: information disclosure via leapp report tampering

Published Jul 30, 2026 CVSS 3.1 · 6.2 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in ansible-collection-redhat-leapp. An attacker with privileged write access to a managed node's Leapp report content can manipulate it. When an operator runs a specific remediation task, this manipulated report can cause the Ansible controller to read its own local files and copy them to the managed node. This vulnerability leads to information disclosure, potentially exposing sensitive controller-side data such as private keys or credentials.

Analysis

AI-generated

Technical impact

A flaw in the Ansible Red Hat leapp collection allows an attacker with privileged write access to a managed node’s Leapp report to alter that report. When an operator runs the leapp_corrupted_grubenv_file remediation, the modified report is read by the Ansible controller, which then copies its own local controller files onto the managed node, exposing sensitive data such as private keys or credentials. This vulnerability is a CWE‑610 information exposure issue.

Affected Systems

The vulnerability affects systems running Red Hat Enterprise Linux 10 and 9 that use the ansible‑collection‑redhat‑leapp. The issue lies in the way the controller processes the Leapp report sent from the managed nodes.

Risk and Exploitability

The CVSS score is 6.2, indicating medium severity. The EPSS score is less than 1 percent, meaning the likelihood of exploitation is low but not zero. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires an actor who can write to the Leapp report on a managed node and then trigger the remediation task, so the attack vector is limited to internal or compromised environments. No remote code execution is possible; the main risk is information disclosure of the controller's local files.

Remediation

Vendor Workaround

To mitigate this issue, avoid running the `leapp_corrupted_grubenv_file` remediation against managed nodes whose Leapp report content is not trusted. As a local hardening measure, modify the relevant Ansible playbook to explicitly set `remote_src: true` for `ansible.builtin.copy` tasks within the `leapp_corrupted_grubenv_file` role. Additionally, implement path validation to ensure that `src` paths are strictly confined to the expected `/boot` subtree. These changes require re-execution of the Ansible playbook to take effect.


OpenCVE Recommended Actions

  • Disallow running the leapp_corrupted_grubenv_file remediation on nodes whose Leapp report content cannot be verified.
  • Edit the Ansible playbook for the leapp_corrupted_grubenv_file role to set ansible.builtin.copy tasks to use remote_src: true.
  • Add path validation to the playbook to restrict any src paths to the /boot subtree on the managed node.

Generated by OpenCVE AI on August 4, 2026 at 11:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:9::appstream
cpe:/o:redhat:enterprise_linux:10.2
References
Type Values Removed Values Added
First Time appeared Redhat ansible Collection
Vendors & Products Redhat ansible Collection
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in ansible-collection-redhat-leapp. An attacker with privileged write access to a managed node's Leapp report content can manipulate it. When an operator runs a specific remediation task, this manipulated report can cause the Ansible controller to read its own local files and copy them to the managed node. This vulnerability leads to information disclosure, potentially exposing sensitive controller-side data such as private keys or credentials.
Title Ansible-collection-redhat-leapp: ansible-collection-redhat-leapp: information disclosure via leapp report tampering
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-610
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 6.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:N/A:N'}

Weaknesses
  • CWE-610

    Externally Controlled Reference to a Resource in Another Sphere

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Oct 29, 2026, 10:07 PM
Reserved
Jul 30, 2026, 8:29 PM
Status
Awaiting Analysis
Published
Jul 30, 2026, 10:16 PM
Modified
Oct 29, 2026, 10:17 PM
Severity
Moderate
Public date
Jul 30, 2026, 8:46 PM