CVE-2025-2877 Information disclosure in Red Hat Ansible Automation Platform 2.4 for RHEL 8

Medium 6.5 Published Updated

Attackers with debug access can view inventory passwords in plain text when Event-Driven Ansible rulebooks are run with debug verbosity.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-2877?

CVE-2025-2877 is a medium-severity vulnerability in Red Hat Ansible Automation Platform 2.4 for RHEL 8, published on 28 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A flaw was found in the Ansible Automation Platform's Event-Driven Ansible. In configurations where verbosity is set to "debug", inventory passwords are exposed in plain text when starting a rulebook activation. This issue exists for any "debug" action in a rulebook and also affects Event Streams.

Weakness: CWE-1295

Which versions are affected by CVE-2025-2877?

Linux distribution packages (4)
ansible-rulebook Red Hat:ansible_automation_platform:2.4::el8All versions0:1.0.8-2.el8ap
ansible-rulebook Red Hat:ansible_automation_platform:2.4::el9All versions0:1.0.8-2.el9ap
ansible-rulebook Red Hat:ansible_automation_platform:2.5::el8All versions0:1.1.4-2.el8ap
ansible-rulebook Red Hat:ansible_automation_platform:2.5::el9All versions0:1.1.4-2.el9ap

How do I fix CVE-2025-2877?

Apply the vendor's patch.

Is CVE-2025-2877 being exploited?

There is no known exploitation of CVE-2025-2877 in the wild and no public exploit code.

Sources

Also known as GHSA-wfxf-3935-5jgv, RHSA-2025:3636, RHSA-2025:3637.

Is CVE-2025-2877 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free