# CVE-2026-94416: Aap-gateway: aap-gateway: authorization bypass via workload identity token forgery

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.8
- **CVSS:** 6.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.65% (percentile 46, 2026-11-26)
- **CWE:** CWE-290
- **Published:** 2026-09-24T12:25:11.735Z
- **Modified:** 2026-10-21T20:17:27.867Z

## Who should check

- Anyone running Red Hat Ansible Automation Platform 2.6 for RHEL 9 all versions
- Anyone running Red Hat Ansible Automation Platform 2.7 all versions
- Anyone running Red Hat Ansible Automation Platform 2 (versions: see the vendor advisory)
- Anyone running Red Hat Ansible Automation Platform 2 all versions

## Description

An authorization bypass was found in the Ansible Automation Platform (AAP) gateway. The gateway API allows an authenticated administrator to create a new service key for the Controller service cluster. Because service-key creation is not restricted to the installer-provisioned provisioning path, an administrator-issued key is cryptographically indistinguishable from a legitimate one and can be used to forge a service-authentication token that impersonates the Controller service. Combined with the gateway OIDC workload-identity endpoint (enabled via FEATURE\_OIDC\_WORKLOAD\_IDENTITY\_ENABLED), the attacker can drive the gateway to sign Workload Identity Tokens (WITs) for arbitrary Controller workloads. A downstream resource server such as HashiCorp Vault that trusts the gateway OIDC key will accept the forged WIT and return the AAP credentials bound to that workload, disclosing secrets beyond the attacker's authorization boundary.

## Affected and fixed versions

- Red Hat Ansible Automation Platform 2.6 for RHEL 9: all versions (cvelist)
- Red Hat Ansible Automation Platform 2.7: all versions (cvelist)
- Red Hat Ansible Automation Platform 2: see vendor advisory (cvelist)
- Red Hat Ansible Automation Platform 2: all versions (cvelist)

## Mitigation

- Vendor workaround: Audit and revoke any Controller service keys that were not provisioned by the installer; this is the most important immediate action and applies to environments upgraded from 2.5/2.6 as well. Where the integration is not required, set FEATURE\_OIDC\_WORKLOAD\_IDENTITY\_ENABLED=false to disable the workload-identity endpoint. Rotate any downstream credentials (e.g. in HashiCorp Vault) that could have been retrieved via a forged workload identity.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-94416. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-94416.md
Affected: Red Hat Ansible Automation Platform 2.6 for RHEL 9 all versions; Red Hat Ansible Automation Platform 2.7 all versions; Red Hat Ansible Automation Platform 2; Red Hat Ansible Automation Platform 2 all versions
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Red Hat Ansible Automation Platform 2.6 for RHEL 9, Red Hat Ansible Automation Platform 2.7, Red Hat Ansible Automation Platform 2: 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.
```

## FAQ

### Is CVE-2026-94416 being exploited?

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

### How serious is CVE-2026-94416?

Medium: CVSS 6.8 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-94416?

Red Hat Ansible Automation Platform 2.6 for RHEL 9 all versions; Red Hat Ansible Automation Platform 2.7 all versions; Red Hat Ansible Automation Platform 2; Red Hat Ansible Automation Platform 2 all versions.

### Is there a fix for CVE-2026-94416?

No fixed version is listed in the sources yet. Vendor workaround: Audit and revoke any Controller service keys that were not provisioned by the installer; this is the most important immediate action and applies to environments upgraded from 2.5/2.6 as well. Where the integration is not required, set FEATURE\_OIDC\_WORKLOAD\_IDENTITY\_ENABLED=false to disable the workload-identity endpoint. Rotate any downstream credentials (e.g. in HashiCorp Vault) that could have been retrieved via a forged workload identity.

### How do I check if I'm affected by CVE-2026-94416?

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.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2026:87004>
- vendor: <https://access.redhat.com/errata/RHSA-2026:87124>
- patch: <https://github.com/ansible/ansible.platform/pull/254>
- patch: <https://github.com/ansible/jewel/pull/235>
- other: <https://access.redhat.com/security/cve/CVE-2026-94416>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2537465>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-94416>

HTML: <https://flawdb.com/CVE-2026-94416> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-94416>
