Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-1801

HIGH 8.1EPSS 44%

Aap-gateway: aap-gateway privilege escalation

Mitigation

  • Upgrade automation-gateway to 2.5.20250305-1 or later.
  • Vendor workaround: Follow the mitigation steps to avoid the flaw from happening. It is recommended to update the product after the fix is available.
  • 1) set GRPC_SERVER_MAX_THREADS_PER_PROCESS = 1
  • This mitigates problems going FORWARD for the issue because there is only one thread using the ExternalAuth() object instantiated by the parent process. This eliminates the thread safety risk as the worker only processes one request at a time.
  • 2) It is possible that at any time since the install/upgrade of AAP 2.5, that long lived Oauth tokens created in the components with the endpoints could implicate long term access to a different user's identity/privileges. Requests made with these tokens will appear to be from the user for which they were created and are indistinguishable from “valid” tokens that were created by the correct user:
  • /api/controller/v2/tokens/
  • /api/controller/v2/applications/<id>/tokens/
  • /api/galaxy/v3/auth/token/
  • /api/controller/o/token/
  • Because it is likely not feasible to back trace every request that could have generated a token to its original request in the GRPC server, the most conservative and safe path to mitigate this risk would be to invalidate/revoke all existing oauth tokens in the components (hub, controller, eda).

Who should check

  • Anyone running automation-gateway >= 2.5.0, < 2.5.20250305-1
  • Anyone running Red Hat Ansible Automation Platform 2.5 for RHEL 8 all versions
  • Anyone running Red Hat Ansible Automation Platform 2.5 for RHEL 9 all versions

Vulnerability facts

Affected
automation-gateway >= 2.5.0, < 2.5.20250305-1; Red Hat Ansible Automation Platform 2.5 for RHEL 8 all versions; Red Hat Ansible Automation Platform 2.5 for RHEL 9 all versions
Fixed in
automation-gateway 2.5.20250305-1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
8.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: None
EPSS
0.63% chance of exploitation in 30 days (percentile 44, 2026-11-26)
CWE
CWE-362
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
automation-gateway>= 2.5.0, < 2.5.20250305-1—cvelist
Red Hat Ansible Automation Platform 2.5 for RHEL 8all versions—cvelist
Red Hat Ansible Automation Platform 2.5 for RHEL 9all versions—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-1801. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-1801.md
Affected: automation-gateway >= 2.5.0, < 2.5.20250305-1; Red Hat Ansible Automation Platform 2.5 for RHEL 8 all versions; Red Hat Ansible Automation Platform 2.5 for RHEL 9 all versions
Fixed in: automation-gateway 2.5.20250305-1

Steps:
1. Search this machine and project for automation-gateway, Red Hat Ansible Automation Platform 2.5 for RHEL 8, Red Hat Ansible Automation Platform 2.5 for RHEL 9: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-1801 being exploited?

There is no confirmed exploitation: CVE-2025-1801 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.63% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-1801?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2025-1801?

automation-gateway >= 2.5.0, < 2.5.20250305-1; Red Hat Ansible Automation Platform 2.5 for RHEL 8 all versions; Red Hat Ansible Automation Platform 2.5 for RHEL 9 all versions.

Is there a fix for CVE-2025-1801?

Yes. Fixed in automation-gateway 2.5.20250305-1. Upgrade automation-gateway to 2.5.20250305-1 or later. Vendor workaround: Follow the mitigation steps to avoid the flaw from happening. It is recommended to update the product after the fix is available. 1) set GRPC_SERVER_MAX_THREADS_PER_PROCESS = 1 This mitigates problems going FORWARD for the issue because there is only one thread using the ExternalAuth() object instantiated by the parent process. This eliminates the thread safety risk as the worker only processes one request at a time. 2) It is possible that at any time since the install/upgrade of AAP 2.5, that long lived Oauth tokens created in the components with the endpoints could implicate long term access to a different user's identity/privileges. Requests made with these tokens will appear to be from the user for which they were created and are indistinguishable from “valid” tokens that were created by the correct user: /api/controller/v2/tokens/ /api/controller/v2/applications/<id>/tokens/ /api/galaxy/v3/auth/token/ /api/controller/o/token/ Because it is likely not feasible to back trace every request that could have generated a token to its original request in the GRPC server, the most conservative and safe path to mitigate this risk would be to invalidate/revoke all existing oauth tokens in the components (hub, controller, eda).

How do I check if I'm affected by CVE-2025-1801?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors