{"affected":[{"defaultStatus":"unaffected","ecosystem":"pypi","packageName":"apache-airflow-core","product":"Apache Airflow","source":"CNA: apache","vendor":"Apache Software Foundation","versions":[{"lessThan":"3.4.0","status":"affected","version":"0","versionType":"semver"}]}],"cveId":"CVE-2026-40913","cwes":["CWE-285"],"description":"Apache Airflow's public Import Errors API returns the raw parse-failure stack trace to any user with the `ImportError.can_read` permission when the failing file has no registered DAG. This happens when a file fails to parse before any DAG is defined, or when all of its previously registered DAGs are removed but the parse error remains. Users who should not see that file's details can read stack traces that may expose file paths and code.\n\nUsers are advised to upgrade to Apache Airflow 3.4.0 or later, which restricts these stack traces to users with the new `IMPORT_ERRORS_ALL` permission.","epss":null,"exploits":[],"kev":null,"metrics":[],"modifiedAt":1794223045507,"publishedAt":1794218401368,"references":[{"source":"CNA: apache","tags":["patch"],"url":"https://github.com/apache/airflow/pull/69790"},{"source":"CNA: apache","tags":["vendor-advisory"],"url":"https://lists.apache.org/thread.html/t04l76dtx12m5cw8zfsnzo9r5rqnw0qv"},{"source":"ADP: CVE","tags":[],"url":"http://www.openwall.com/lists/oss-security/2026/11/09/3"},{"source":"security@apache.org","tags":[],"url":"https://github.com/apache/airflow/pull/69790"},{"source":"security@apache.org","tags":[],"url":"https://lists.apache.org/thread.html/t04l76dtx12m5cw8zfsnzo9r5rqnw0qv"},{"source":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"url":"http://www.openwall.com/lists/oss-security/2026/11/09/3"}],"remediation":[{"kind":"fix","source":"CNA: apache","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/apache/airflow/pull/69790"}],"revision":"cb72a492844f622d7bef8a51b868d6c6208cade3ea0aa24129f0658b5b1c9c7c","sources":[{"modifiedAt":1794219128062,"name":"CNA: apache","retrievedAt":1794222543190,"url":"https://www.cve.org/CVERecord?id=CVE-2026-40913"},{"modifiedAt":1794223045507,"name":"NVD","retrievedAt":1794226698711,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40913"}],"ssvc":null,"status":"published","title":"Apache Airflow: Import Errors API Leaks Unauthorized DAG Stack Traces via Incomplete Per-File RBAC Enforcement","updatedAt":1794226698711}