Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Linux

CVE-2026-126642 — Red Hat Ansible Automation Platform 2

Medium · CVSS 6.5EPSS 0.4% First seen November 12, 2026

One of 5 Red Hat Ansible Automation Platform 2 vulnerabilities published together by NVD: our article covers all of them.

LinuxDevOps / CIOperating systemsVulnerabilities

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 6.5 CVSS 3.1 base score from the CNA (redhat.com)

An attacker with a normal user account can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Login needed
yes, a normal user account
User action needed
no
Scope
stays within the vulnerable component
Impact
high on confidentiality, none on integrity and availability

Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Weakness

References by type

Other references

Details from NVD (public domain).

Affected

  • Red Hat Ansible Automation Platform 2

What to do

  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-126642?

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… Weakness type: Missing Authorization (CWE-862).

How severe is CVE-2026-126642?

CVE-2026-126642 has a CVSS 3.1 base score of 6.5 (medium), from the CNA (redhat.com). An attacker with a normal user account can exploit this over the network, without any user action.

Is CVE-2026-126642 being exploited?

Not as far as is known: CVE-2026-126642 is not in CISA's Known Exploited Vulnerabilities catalog as of November 28, 2026. EPSS estimates a 0.4% chance that it is exploited in the next 30 days.

How do I fix CVE-2026-126642?

Follow the advisories and patches linked on this page under References for fixed versions and workarounds.

Timeline & sources

References

Related vulnerabilities & news