CVE-2026-16625

Severity: Moderate
Published: 2026-07-22

Fix Status by Distribution

Fixed in 0 of 27 tracked Linux releases

Fix evidence last checked: 2026-11-07 11:25 UTC

Get alerted when your releases are fixed
No fix evidence found:
AlmaLinux 10
AlmaLinux 8
AlmaLinux 9
Debian 11 (Bullseye)
Debian 12 (Bookworm)
Debian 13 (Trixie)
Oracle Linux 10
Oracle Linux 8
Oracle Linux 9
Red Hat Enterprise Linux 10
Red Hat Enterprise Linux 7 (Extended Lifecycle Support)
Red Hat Enterprise Linux 8
Red Hat Enterprise Linux 9
Rocky Linux 10
Rocky Linux 8
Rocky Linux 9
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP7
SUSE Linux Enterprise Server 16
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 24.04 LTS (Noble Numbat)
Ubuntu 25.04 (Plucky Puffin)
Ubuntu 25.10 (Questing Quokka)
Ubuntu 26.04 LTS (Resolute Raccoon)
Ubuntu 26.10 (Stonking Stingray)
Interested in being alerted when these distributions have fixes? Set up an alert.

A flaw was found in galaxy_ng's legacy role import functionality. The LegacyImportSerializer accepts a github_repo value as a plain character field without validating for path separators, ".." sequences, or absolute paths. The import worker constructs the checkout directory as os.path.join(tmp_path, github_repo) and passes it to git clone. An authenticated namespace owner can supply a github_repo value such as "../persistent-role" to cause the repository to be cloned outside the intended temporary directory. The escaped directory persists after temporary directory cleanup. This vulnerability is only exploitable when GALAXY_ENABLE_LEGACY_ROLES is enabled, which defaults to False in Ansible Automation Platform.

Exploit evidence

Exploit evidence not available