---
id: CVE-2026-6266
title: A flaw was found in the AAP gateway
summary: >-
  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 own…
severity: high
cvss: 8.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L'
cwe:
  - CWE-305
  - CWE-305
published: '2026-05-04'
updated: '2026-08-26'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-6266'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2026:13508'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:13512'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:13545'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2026-6266'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2458142'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:13508'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:13512'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:13545'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/security/cve/CVE-2026-6266'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2458142'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6266.json
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
tags:
  - nvd
epss: 0.00574
epssPercentile: 0.45057
ingestedAt: '2026-08-26T16:46:31.556Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
