CVE-2026-126642 Awx: webhook credential assignment omits use_role check, exposing another user's token
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuRed Hat
Description
An incorrect authorization flaw was found in AWX, the automation controller component of Red Hat Ansible Automation Platform. The API access classes for JobTemplate and WorkflowJobTemplate do not check the caller's Credential use_role when assigning the single-valued webhook_credential foreign key: JobTemplateAccess.can_add/can_change and WorkflowJobTemplateAccess.can_change in awx/main/access.py omit the check_related('webhook_credential', Credential, ..., role_field='use_role') call that UnifiedCredentialsMixin.can_attach performs for the normal many-to-many credentials relationship, and the serializer validates only the credential's type and namespace. A user who may administer their own job template (or workflow job template) and use its project and inventory can therefore attach a webhook token credential (for example a GitLab token) that they do not have use permission on. The template administrator can retrieve the template's webhook key; a subsequent webhook event causes AWX to decrypt the attached token and send it in the request header (for GitLab, PRIVATE-TOKEN) to a status URL derived from the event payload, disclosing the victim's token to a destination the attacker can influence. This may disclose another user's personal access token and allow whatever actions that token permits.
Upgrade path
14 packages: 0 fixed, 14 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat ansible automation platform | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-24/controller-rhel8(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-25/controller-rhel8(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-26/controller-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-27/controller-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/automation-controller(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| ubuntu/ansible(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/ansible(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/ansible(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/ansible(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/ansible-core(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/ansible-core(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/ansible-core(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/ansible-core(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat ansible automation platform | All versions | No fix listed |
| redhat/ansible-automation-platform-24/controller-rhel8(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-25/controller-rhel8(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-26/controller-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-27/controller-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/automation-controller(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| ubuntu/ansible-core(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/ansible(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/ansible(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/ansible-core(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/ansible(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/ansible-core(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/ansible(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/ansible-core(Ubuntu:26.10) | All versions | No fix listed |
References
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2571729 issue-tracking
- www.cve.org
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory
- ENISA EUVD EUVD-2026-124330 third-party-advisory