{"id":3698,"date":"2026-09-04T18:42:41","date_gmt":"2026-09-04T10:42:41","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-40861"},"modified":"2026-09-04T18:42:41","modified_gmt":"2026-09-04T10:42:41","slug":"cve-2026-40861","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-40861","title":{"rendered":"CVE-2026-40861 [MEDIUM] &#8211; A Dag author could either (a) create a symlink under their task&#8217;s log directory pointing t"},"content":{"rendered":"<p>A Dag author could either (a) create a symlink under their task&#8217;s log directory pointing to an arbitrary file readable by the API server process (read-path attack \u2014 e.g. `\/etc\/passwd` or `airflow.cfg`) or (b) supply a `task_id` containing `..` sequences accepted by the Task SDK&#8217;s `KEY_REGEX` (write-path attack), and in both cases the FileTaskHandler resolves the log path outside the configured `base_log_folder`, leaking or overwriting arbitrary files. Only affects deployments where the worker log folder is shared with the API server. Users are advised to upgrade to `apache-airflow` 3.2.2 or later. As a defense-in-depth mitigation, deploy the worker and API server with separate log volumes so that worker-controlled paths cannot reach the API server&#8217;s filesystem.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A Dag author could either (a) create a symlink under their task&#8217;s log directory pointing to an arbitrary file readable by the API server process (read-path attack \u2014 e.g. `\/etc\/passwd` or `airflow.cfg`<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-3698","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/3698","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3698"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3698"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3698"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}