What’s Vulnerable › Vulnerabilities

CVE-2026-84502: Automation-controller: automation-controller-container: automation-controller: project scm_url argument injection into `git ls-remote --upload-pack` yields rce on the controller-task control-plane pod

Description

A flaw was found in Red Hat Ansible Automation Platform's automation- controller. The Project scm_url field is not validated against values that begin with a dash and is stored and passed verbatim to the git SCM module. Because the module runs git ls-remote with the URL as a positional argument and without a "--" separator, a git project URL such as "--upload-pack=<command>:x" is interpreted by git as the --upload-pack option and executed via a shell. A user with permission to create or modify a project in a single organization can thereby execute arbitrary commands on the control-plane task pod, with output reflected through the project update stdout endpoint, leading to cross-tenant compromise and in-cluster lateral movement

Affected products

How to fix

Upgrade to a fixed version: Red Hat Ansible Automation Platform 2.4 for RHEL 8 0:4.5.36-1.el8ap; Red Hat Ansible Automation Platform 2.4 for RHEL 9 0:4.5.36-1.el9ap; Red Hat Ansible Automation Platform 2.5 for RHEL 8 0:4.6.33-1.el8ap; Red Hat Ansible Automation Platform 2.5 for RHEL 9 0:4.6.33-1.el9ap; Red Hat Ansible Automation Platform 2.6 1789673739; Red Hat Ansible Automation Platform 2.6 for RHEL 9 0:4.7.17-1.el9ap; Red Hat Ansible Automation Platform 2.7 1789580684. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-84502 or the next vulnerability affects your stack