CVE-2026-12726 Server-side request forgery in Red Hat Ansible Automation Platform 2
Attackers can exfiltrate GitHub Personal Access Tokens by forging webhooks to redirect status updates to malicious URLs in AWX.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-12726?
CVE-2026-12726 is a medium-severity server-side request forgery vulnerability in Red Hat Ansible Automation Platform 2, published on 19 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-918
Which versions are affected by CVE-2026-12726?
How do I fix CVE-2026-12726?
No fix has been published for CVE-2026-12726 yet. Limit exposure of the affected software until one is available.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2026-12726 being exploited?
There is no known exploitation of CVE-2026-12726 in the wild and no public exploit code.
Sources
Also known as GHSA-w8qh-qh69-53cx.