{"id":"CVE-2026-103754","aliases":["DEBIAN-CVE-2026-103754","EUVD-2026-90788","GHSA-3h4x-374r-8hhc","UBUNTU-CVE-2026-103754"],"status":"published","title":"Ansible-runner: ansible-runner: path traversal and symlink escape in unstream_dir() allows file write outside the target directory","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.","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00336,"percentile":0.27303,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2026-10-01T11:57:07Z","modified":"2026-11-05T15:52:29Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"ansible-runner","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.1-2","2.3.4-1","2.3.6-1","2.4.0-0.1","2.4.1-1","2.4.2+dfsg-1","2.4.3-1","2.4.3-2"]},{"source":"osv","ecosystem":"Debian:13","package":"ansible-runner","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.1-1","2.4.2+dfsg-1","2.4.3-1","2.4.3-2"]},{"source":"osv","ecosystem":"Debian:14","package":"ansible-runner","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.1-1","2.4.2+dfsg-1","2.4.3-1","2.4.3-2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"ansible-runner","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.6-1","1.4.6-1.1","2.1.1-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"ansible-runner","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.1-2","2.3.4-1","2.3.4-1ubuntu1","2.3.6-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"ansible-runner","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.1-1","2.4.3-1","2.4.3-2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"ansible-runner","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.1-1"]}],"products":[{"vendor":"red hat","product":"red hat ansible automation platform 2"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-103754","tags":["vdb-entry","x_refsource_REDHAT","report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2544510","tags":["issue-tracking","x_refsource_REDHAT","report"]},{"url":"https://github.com/ansible/ansible-runner/pull/1550","tags":["report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-103754"},{"url":"https://github.com/advisories/GHSA-3h4x-374r-8hhc"},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-103754","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-103754","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-103754","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-103754","title":"Ansible-runner: ansible-runner: path traversal and symlink escape in unstream_dir() allows file write outside the target directory","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.","status":"published","published":"2026-10-01T11:57:07.822Z","modified":"2026-11-05T15:52:29.087Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-05T16:36:33.176634Z"}],"euvd":[{"id":"EUVD-2026-90788","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.","status":"published","published":"2026-10-01T11:57:07Z","modified":"2026-11-05T15:52:29Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L","level":"medium"}],"updated_at":"2026-11-05T18:00:59.460287Z"}],"ghsa":[{"id":"GHSA-3h4x-374r-8hhc","title":"A flaw was found in ansible-runner. The unstream_dir() function, which receives and extracts a...","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.","status":"published","published":"2026-10-01T12:31:20Z","modified":"2026-10-01T12:31:29Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:12:40.571849Z"}],"nvd":[{"id":"CVE-2026-103754","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.","status":"published","published":"2026-10-01T12:17:15.937Z","modified":"2026-10-01T18:17:12.56Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L","level":"medium","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:12:53.41762Z"}],"osv":[{"id":"DEBIAN-CVE-2026-103754","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.","status":"published","published":"2026-10-01T12:17:15.937Z","modified":"2026-10-02T05:01:06.594767929Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L","level":"medium"}],"updated_at":"2026-11-02T15:45:48.903138Z"},{"id":"UBUNTU-CVE-2026-103754","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.","status":"published","published":"2026-10-01T12:17:00Z","modified":"2026-10-17T12:57:58.983969423Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L","level":"medium"}],"updated_at":"2026-11-02T16:55:59.130573Z"}]}}
