{"id":"CVE-2026-103754","aliases":["CVE-2026-103754"],"related":[],"kind":"vulnerability","state":"published","title":"Ansible-runner: ansible-runner: path traversal and symlink escape in unstream_dir() allows file write outside the target directory","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-01T11:57:07.822Z","modified":"2026-11-05T15:52:29.087Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","package":"ansible-automation-platform-27/controller-rhel9","cpe":"cpe:/a:redhat:ansible_automation_platform:2","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","package":"automation-controller","cpe":"cpe:/a:redhat:ansible_automation_platform:2","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-103754","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2544510","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ansible/ansible-runner/pull/1550","tags":[],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank Liqiang Ji (SQUARE Research Group, Institute of Software, Chinese Academy of Sciences (ISCAS)) for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-01T13:20:19.192Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-103754","url":"https://www.cve.org/CVERecord?id=CVE-2026-103754","licence":"CVE Terms of Use","modified":"2026-11-05T15:52:29.087Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-103754","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-103754","licence":"Public domain","modified":"2026-10-01T18:17:12.560Z"}],"updatedAt":"2026-11-25T22:59:41.829Z","epss":{"score":0.00409,"percentile":0.37247,"date":"2026-12-01T12:00:22.000Z"}}