CVE-2026-6266
Aap-controller: aap-gateway: account hijacking and unauthorized access via unverified email linking
What happened?
A flaw was found in the AAP gateway. The user auto-link strategy, introduced in AAP 2.6, automatically links an external Identity Provider (IDP) identity to an existing AAP user account based on email matching without verifying email ownership. This allows a remote attacker to potentially hijack a victim's account or gain unauthorized access to other accounts, including administrative accounts, by manipulating the IDP-provided email.
Affected software and versions
| Software | Version information | Fixed version |
|---|---|---|
| django-ansible-base | affected: 2.5.0 to < 2.5.20260422; affected: 2.6.0 to < 2.6.20260422 | See vendor advisory |
| automation-controller | affected: 4.6.0 to < 4.6.28; affected: 4.7.0 to < 4.7.11 | See vendor advisory |
| automation-gateway | affected: 2.5.0 to < 2.5.20260422; affected: 2.6.0 to < 2.6.20260422 | See vendor advisory |
| automation-controllerRed Hat | unaffected: 0:4.6.28-3.el8ap to < * | See vendor advisory |
| automation-gatewayRed Hat | unaffected: 0:2.5.20260422-2.el8ap to < * | See vendor advisory |
| python3.12-django-ansible-baseRed Hat | unaffected: 0:2.5.20260422-2.el8ap to < * | See vendor advisory |
| automation-controllerRed Hat | unaffected: 0:4.6.28-3.el8ap to < * | See vendor advisory |
| automation-gatewayRed Hat | unaffected: 0:2.5.20260422-2.el8ap to < * | See vendor advisory |
| python3.12-django-ansible-baseRed Hat | unaffected: 0:2.5.20260422-2.el8ap to < * | See vendor advisory |
| automation-controllerRed Hat | unaffected: 0:4.6.28-3.el9ap to < * | See vendor advisory |
| automation-gatewayRed Hat | unaffected: 0:2.5.20260422-2.el9ap to < * | See vendor advisory |
| python3.12-django-ansible-baseRed Hat | unaffected: 0:2.5.20260422-2.el9ap to < * | See vendor advisory |
| automation-controllerRed Hat | unaffected: 0:4.6.28-3.el9ap to < * | See vendor advisory |
| automation-gatewayRed Hat | unaffected: 0:2.5.20260422-2.el9ap to < * | See vendor advisory |
| python3.12-django-ansible-baseRed Hat | unaffected: 0:2.5.20260422-2.el9ap to < * | See vendor advisory |
| automation-controllerRed Hat | unaffected: 0:4.7.11-2.el9ap to < * | See vendor advisory |
| automation-gatewayRed Hat | unaffected: 0:2.6.20260422-1.el9ap to < * | See vendor advisory |
| python3.12-django-ansible-baseRed Hat | unaffected: 0:2.6.20260422-1.el9ap to < * | See vendor advisory |
| automation-controllerRed Hat | unaffected: 0:4.7.11-2.el9ap to < * | See vendor advisory |
| automation-gatewayRed Hat | unaffected: 0:2.6.20260422-1.el9ap to < * | See vendor advisory |
| python3.12-django-ansible-baseRed Hat | unaffected: 0:2.6.20260422-1.el9ap to < * | See vendor advisory |
| ansible-automation-platform-26/controller-rhel9Red Hat | unaffected: 1777377014 to < * | See vendor advisory |
| ansible-automation-platform-26/gateway-rhel9Red Hat | unaffected: 1777311120 to < * | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-6266
- https://access.redhat.com/errata/RHSA-2026:13508
- https://access.redhat.com/errata/RHSA-2026:13512
- https://access.redhat.com/errata/RHSA-2026:13545
- https://access.redhat.com/security/cve/CVE-2026-6266
- https://bugzilla.redhat.com/show_bug.cgi?id=2458142
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6266.json