cve.bz

CVE-2025-1801 Race Condition

8.1 highEPSS 0.3%Fix available

High (8.1). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 26th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-03-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8: fixed in 0:2.5.20250305-1.el8ap
  • Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 9: fixed in 0:2.5.20250305-1.el9ap
  • Red Hat: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2025-1801 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-1801?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-1801?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-1801 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Ansible Automation Platform 2.5 for RHEL 80:2.5.20250305-1.el8ap
Red Hat Ansible Automation Platform 2.5 for RHEL 90:2.5.20250305-1.el9ap

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatansible_automation_platform:2.5::el8automation-gateway, automation-gateway-config, automation-gateway-server0:2.5.20250305-1.el8apRHSA-2025:1954
Red Hatansible_automation_platform:2.5::el9automation-gateway, automation-gateway-config, automation-gateway-server0:2.5.20250305-1.el9apRHSA-2025:1954

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat has evaluated this vulnerability. This issue only affects versions AAP 2.5 GA and onwards.

Red Hat's mitigation

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).

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.5 for RHEL 8automation-gateway-0:2.5.20250305-1.el8apFixed 2025-03-01RHSA-2025:1954
Red Hat Ansible Automation Platform 2.5 for RHEL 9automation-gateway-0:2.5.20250305-1.el9apFixed 2025-03-01RHSA-2025:1954

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-1801.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON