Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-103754 EUVD-2026-90788GHSA-3h4x-374r-8hhc

Ansible-runner: ansible-runner: path traversal and symlink escape in unstream_dir() allows file write outside the target directory

Published Oct 1, 2026 · Updated Nov 5, 2026 · Assigned by redhat

Description

A flaw was found in ansible-runner. The unstream_dir() function, which receives and extracts a streamed zip archive on the worker side of the ansible-runner transmit/worker protocol, re-creates symbolic links from archive content without validating the link target and applies chmod() and utime() to an unsanitized filesystem path derived from the archive member name. A crafted archive processed by a worker that consumes attacker-influenced input can create files, create symbolic links, or change permissions outside the intended target directory, which can be leveraged toward code execution.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Ansible Automation Platform 2 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ansible-runner No fix yet —
Debian 13 ansible-runner No fix yet —
Debian 12 ansible-runner No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 ansible-runner No fix yet —
Ubuntu 26.04 LTS ansible-runner No fix yet —
Ubuntu 24.04 LTS ansible-runner No fix yet —
Ubuntu 22.04 LTS ansible-runner No fix yet —

References