CVE-2026-12726: Server-Side Request Forgery (SSRF) in Red Hat Red Hat Ansible Automation Platform 2
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.
AI Analysis
Technical Summary
A vulnerability exists in Red Hat Ansible Automation Platform 2 where the AWX GitHub webhook integration improperly trusts the pull_request.statuses_url value from webhook payloads without validation. When a job template is configured with a GitHub Personal Access Token as the webhook credential, the controller posts job status updates including the token to the stored callback URL. An attacker who can submit a correctly signed forged webhook using the job template's webhook_key can exploit this to redirect the callback to a malicious URL and exfiltrate the GitHub PAT. The CVSS v3.1 base score is 6.3 (medium severity), reflecting network attack vector, high attack complexity, low privileges required, no user interaction, scope change, and high confidentiality impact.
Potential Impact
Successful exploitation allows an attacker to exfiltrate the GitHub Personal Access Token configured in the job template by redirecting job status update callbacks to an attacker-controlled URL. This compromises the confidentiality of the token, potentially enabling unauthorized access to GitHub resources associated with the token. There is no impact on integrity or availability reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory at https://access.redhat.com/security/cve/CVE-2026-12726 for current remediation guidance. Until an official fix is available, avoid configuring job templates with GitHub Personal Access Tokens as webhook credentials or restrict webhook usage to trusted sources. Monitor Red Hat's advisory for updates and apply patches promptly once released.
CVE-2026-12726: Server-Side Request Forgery (SSRF) in Red Hat Red Hat Ansible Automation Platform 2
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.
CVSS v3.1
Score 6.3medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
A vulnerability exists in Red Hat Ansible Automation Platform 2 where the AWX GitHub webhook integration improperly trusts the pull_request.statuses_url value from webhook payloads without validation. When a job template is configured with a GitHub Personal Access Token as the webhook credential, the controller posts job status updates including the token to the stored callback URL. An attacker who can submit a correctly signed forged webhook using the job template's webhook_key can exploit this to redirect the callback to a malicious URL and exfiltrate the GitHub PAT. The CVSS v3.1 base score is 6.3 (medium severity), reflecting network attack vector, high attack complexity, low privileges required, no user interaction, scope change, and high confidentiality impact.
Potential Impact
Successful exploitation allows an attacker to exfiltrate the GitHub Personal Access Token configured in the job template by redirecting job status update callbacks to an attacker-controlled URL. This compromises the confidentiality of the token, potentially enabling unauthorized access to GitHub resources associated with the token. There is no impact on integrity or availability reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory at https://access.redhat.com/security/cve/CVE-2026-12726 for current remediation guidance. Until an official fix is available, avoid configuring job templates with GitHub Personal Access Tokens as webhook credentials or restrict webhook usage to trusted sources. Monitor Red Hat's advisory for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-06-19T15:05:52.078Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-12726","vendor":"Red Hat"}]
Threat ID: 6a35966af198dc38c113830f
Added to database: 6/19/2026, 7:20:10 PM
Last enriched: 6/19/2026, 7:35:19 PM
Last updated: 6/20/2026, 12:07:03 AM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.