CVE-2026-126642 · Infrastructure
NO FIX YET
AWX, the automation controller behind Red Hat Ansible Automation Platform, does not check whether a user may use a credential before attaching it to a job template's webhook. A template administrator can therefore attach another user's token, such as a GitLab personal access token, and have AWX send it to a URL the attacker can influence.
first public Nov 12, 2026 · 1 source
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Teams running AWX or Red Hat Ansible Automation Platform that use job template or workflow job template webhooks with stored webhook credentials. Exposure needs a user who can administer a job template and use its project and inventory, plus a webhook credential owned by another user. Installations without webhook credentials, or with only single-owner credentials, have less to lose.
Not affected if no-webhook-credentials, single-admin-deployment
Who cares ansible-automation-platform, awx, gitlab, webhooks
Unknown from the sources.
Unknown from the sources.
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.
This page as .md · .json · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
. Posts quoted belong to their authors.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.