Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2026-40861— Apache Airflow: Arbitrary File Read via Log Symlink following in FileTaskHandler

AI Predicted 7.5 Difficulty: Moderate EPSS 0.02% · P5

Possible ATT&CK Techniques 1AI

T1083 · File and Directory Discovery
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-40861

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Apache Airflow: Arbitrary File Read via Log Symlink following in FileTaskHandler
Source: NVD (National Vulnerability Database)
Vulnerability Description
A Dag author could either (a) create a symlink under their task's log directory pointing to an arbitrary file readable by the API server process (read-path attack — e.g. `/etc/passwd` or `airflow.cfg`) or (b) supply a `task_id` containing `..` sequences accepted by the Task SDK'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's filesystem.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
在文件访问前对链接解析不恰当(链接跟随)
Source: NVD (National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
Apache Software FoundationApache Airflow 0 ~ 3.2.2 -

II. Public POCs for CVE-2026-40861

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-40861

登录查看更多情报信息。

Patches & Fixes for CVE-2026-40861 (1)

Mailing List Discussions for CVE-2026-40861 (1)

Same Patch Batch · Apache Software Foundation · 2026-06-01 · 28 CVEs total

CVE-2026-448258.1 HIGHApache Solr: Enabling BasicAuth using bin/solr CLI configures additional insecure users
CVE-2026-488277.1 HIGHApache MINA SSHD: Path traversal in org.apache.sshd:sshd-git
CVE-2026-45192Apache Airflow: Incomplete Redaction of Sensitive Fields in Connection Extra API Response
CVE-2026-49328Apache Fesod (Incubating): Improper validation of user-supplied URLs leading to SSRF
CVE-2026-35563Apache Directory LDAP API: LDAP client implementation does not verify if the server certif
CVE-2026-49270Apache ActiveMQ Broker, Apache ActiveMQ, Apache ActiveMQ All: Durable Subscription Disclos
CVE-2026-49157Apache ActiveMQ: Authenticated low-privilege Web users retain Jolokia broker-management ca
CVE-2026-46605Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Incomplete authorization dur
CVE-2026-45505Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Jolokia `addNetworkConnector
CVE-2026-42588Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Remote Code Execution via Jo
CVE-2026-42253Apache ActiveMQ, Apache ActiveMQ Web: HTTP Response Header Injection via JMS Message Prope
CVE-2026-49298Apache Airflow: JWT Token Exposure in KubernetesExecutor Command-Line Arguments
CVE-2026-48726Apache Airflow: revoke_token() unreachable in FabAuthManager / KeycloakAuthManager logout
CVE-2026-46764Apache Airflow: Event Log detail endpoint bypasses DAG-scoped event log permission filter
CVE-2026-45426Apache Airflow: Log server JWT authorization bypass via Python lstrip() character strippin
CVE-2026-45360Apache Airflow: Arbitrary import in custom deadline-reference deserialization
CVE-2026-42359Apache Airflow: Authenticated RCE via XCom PATCH endpoint — XComUpdateBody missing FORBIDD
CVE-2026-42358Apache Airflow: Variable masker depth-limit bypass returns cleartext nested secrets
CVE-2026-42360Apache Airflow: Rendered template truncation bypasses nested sensitive-key masking
CVE-2026-42252Apache Airflow: BashOperator Jinja2 injection via dag_run.conf — low-privilege user patter

Showing top 20 of 28 CVEs. View all on vendor page → →

IV. Related Vulnerabilities

V. Comments for CVE-2026-40861

No comments yet


Leave a comment