UBUNTU-CVE-2026-126642: Medium severity ubuntu/ansible vulnerability

Published Nov 12, 2026
·
Updated

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 userole when assigning the single-valued webhookcredential foreign key: JobTemplateAccess.canadd/canchange and WorkflowJobTemplateAccess.canchange in awx/main/access.py omit the checkrelated('webhookcredential', Credential, ..., rolefield='userole') call that UnifiedCredentialsMixin.canattach 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.

Affected Software

12 affected components
ubuntu/ansible*
ubuntu/ansible*
ubuntu/ansible*
ubuntu/ansible*
ubuntu/ansible-core*
ubuntu/ansible*
ubuntu/ansible*
ubuntu/ansible-core*
ubuntu/ansible*
ubuntu/ansible-core*
ubuntu/ansible*
ubuntu/ansible-core*

Event History

Nov 12, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who can exploit this issue?

A user who can administer a JobTemplate or WorkflowJobTemplate and use its associated project and inventory can exploit it. They must also be able to attach a webhook credential that belongs to another user but for which they lack use permission.

2

What access or interaction is required to disclose a credential token?

The attacker needs to retrieve the template's webhook key and cause a subsequent webhook event. AWX then decrypts the attached credential and sends its token in a request header to a status URL derived from the event payload.

3

What credentials are at risk?

Webhook token credentials are affected, including a GitLab token sent in the PRIVATE-TOKEN request header. The flaw concerns the single-valued webhook_credential field on job templates and workflow job templates.

4

How can administrators identify potentially affected templates?

Review JobTemplate and WorkflowJobTemplate configurations for webhook_credential assignments, especially where the template administrator does not have use permission on the assigned Credential. Also review whether those templates expose webhook keys and accept webhook events that can supply status URLs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203