CVE-2025-1801 Aap-gateway: aap-gateway privilege escalation

High 8.1 Published Updated

A race condition in Ansible aap-gateway allows less privileged users to steal JWTs from higher privileged users, leading to privilege escalation and data exposure.

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-1801?

CVE-2025-1801 is a high-severity vulnerability in Red Hat Ansible Automation Platform 2.5 for RHEL 8, published on 3 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 aap-gateway. Concurrent requests handled by the gateway grpc service can result in concurrency issues due to race condition requests against the proxy. This issue potentially allows a less privileged user to obtain the JWT of a greater privileged user, enabling the server to be jeopardized. A user session or confidential data might be vulnerable.

Weakness: CWE-362

Which versions are affected by CVE-2025-1801?

Linux distribution packages (6)
automation-gateway Red Hat:ansible_automation_platform:2.5::el8All versions0:2.5.20250305-1.el8ap
automation-gateway-config Red Hat:ansible_automation_platform:2.5::el8All versions0:2.5.20250305-1.el8ap
automation-gateway-server Red Hat:ansible_automation_platform:2.5::el8All versions0:2.5.20250305-1.el8ap
automation-gateway Red Hat:ansible_automation_platform:2.5::el9All versions0:2.5.20250305-1.el9ap
automation-gateway-config Red Hat:ansible_automation_platform:2.5::el9All versions0:2.5.20250305-1.el9ap
automation-gateway-server Red Hat:ansible_automation_platform:2.5::el9All versions0:2.5.20250305-1.el9ap

How do I fix CVE-2025-1801?

Apply the vendor's patch.

Is CVE-2025-1801 being exploited?

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

Sources

Also known as GHSA-fj43-p45h-jjgv, RHSA-2025:1954.

Is CVE-2025-1801 in your software?

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

Check your SBOMs for free