CVE-2026-12726
Awx: automation-controller: awx: github webhook second-order ssrf via unvalidated statuses_url exfiltrates pat credential
Mitigation
- Vendor workaround: The following practices may reduce exposure to this flaw until a fix is available:
- 1. Restrict network access to controller webhook endpoints so only trusted GitHub egress IPs or an approved reverse proxy can reach them.
- 2. Protect job template webhook keys as secrets; restrict Job Template admin access; rotate webhook keys if compromise is suspected.
- 3. If commit status callback to GitHub is not required, configure GitHub webhooks without a webhook_credential on the job template (this disables PAT transmission on job completion).
- 4. Monitor controller logs and outbound connections for unexpected callback destinations following webhook-triggered jobs.
Who should check
- Anyone running Red Hat Ansible Automation Platform 2 all versions
Vulnerability facts
- Affected
- Red Hat Ansible Automation Platform 2 all versions; Red Hat Ansible Automation Platform 2 all versions; Red Hat Ansible Automation Platform 2 all versions
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 6.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.33% chance of exploitation in 30 days (percentile 18, 2026-11-26)
- CWE
- CWE-918
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2 | all versions | — | cvelist |
| Red Hat Ansible Automation Platform 2 | all versions | — | cvelist |
| Red Hat Ansible Automation Platform 2 | all versions | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-12726. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-12726.md Affected: Red Hat Ansible Automation Platform 2 all versions; Red Hat Ansible Automation Platform 2 all versions; Red Hat Ansible Automation Platform 2 all versions Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for Red Hat Ansible Automation Platform 2: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-12726 being exploited?
There is no confirmed exploitation: CVE-2026-12726 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-12726?
Medium: CVSS 6.3 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-12726?
Red Hat Ansible Automation Platform 2 all versions; Red Hat Ansible Automation Platform 2 all versions; Red Hat Ansible Automation Platform 2 all versions.
Is there a fix for CVE-2026-12726?
No fixed version is listed in the sources yet. Vendor workaround: The following practices may reduce exposure to this flaw until a fix is available: 1. Restrict network access to controller webhook endpoints so only trusted GitHub egress IPs or an approved reverse proxy can reach them. 2. Protect job template webhook keys as secrets; restrict Job Template admin access; rotate webhook keys if compromise is suspected. 3. If commit status callback to GitHub is not required, configure GitHub webhooks without a webhook_credential on the job template (this disables PAT transmission on job completion). 4. Monitor controller logs and outbound connections for unexpected callback destinations following webhook-triggered jobs.
How do I check if I'm affected by CVE-2026-12726?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.