CVE-2026-12726
JSON

6.3medium

Awx: automation-controller: awx: github webhook second-order ssrf via unvalidated statuses_url exfiltrates pat credential

Severity
6.3medium CVSS:3.1 by redhat
Exploit likelihood
0.27% (higher than 20% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

A flaw was found in the AWX GitHub webhook integration. When processing GitHub pull_request webhooks, the controller stores the pull_request.statuses_url value from the webhook payload without validating that it points to a trusted GitHub API endpoint. If a job template is configured with a GitHub Personal Access Token as its webhook credential, the controller later POSTs that token to the stored callback URL when posting job status updates. An attacker who can submit a correctly signed forged webhook using the job template's webhook_key can redirect the callback to an attacker-controlled URL and exfiltrate the configured GitHub PAT.

Affected

Product or packageVersionsReported by
ansible-automation-platform-26/controller-rhel9Not specifiedCVE List
ansible-automation-platform-27/controller-rhel9Not specifiedCVE List
automation-controllerNot specifiedCVE List

Classification

CWE-918

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

A flaw was found in the AWX GitHub webhook integration. When processing GitHub pull_request webhooks, the controller stores the pull_request.statuses_url value from the webhook payload without validating that it points to a trusted GitHub API endpoint. If a job template is configured with a GitHub Personal Access Token as its webhook credential, the controller later POSTs that token to the stored callback URL when posting job status updates. An attacker who can submit a correctly signed forged webhook using the job template's webhook_key can redirect the callback to an attacker-controlled URL and exfiltrate the configured GitHub PAT.

NVD (es)

Se encontró una vulnerabilidad en la integración de webhook de GitHub de AWX. Al procesar webhooks de “pull_request” de GitHub, el controlador almacena el valor “pull_request.statuses_url” del payload del webhook sin validar que apunte a un endpoint de la API de GitHub de confianza. Si una plantilla de trabajo está configurada con un Token de Acceso Personal de GitHub como su credencial de webhook, el controlador posteriormente envía ese token mediante POST a la URL de callback almacenada al publicar actualizaciones de estado del trabajo. Un atacante que puede enviar un webhook falsificado correctamente firmado utilizando la “webhook_key” de la plantilla de trabajo puede redirigir el callback a una URL controlada por el atacante y exfiltrar el PAT de GitHub configurado.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-12726 changed 2026-11-05CVE Terms of Use
NVDCVE-2026-12726 changed 2026-10-25Public domain