{"id":"CVE-2026-40961","state":"PUBLISHED","title":"Apache Airflow: Open Redirect Bypass Vulnerability","description":"A bug in the login redirect route in Apache Airflow allowed authenticated users to craft URLs that bypassed the `is_safe_url` check, enabling redirection from a trusted Airflow domain to an attacker-controlled origin. Users are advised to upgrade to `apache-airflow` 3.2.2 or later. As a defense-in-depth mitigation, deployment operators can place Airflow behind a reverse proxy that strips off-domain `next=` query parameters before they reach the login endpoint.","publishedAt":"2026-06-01T07:55:04.647Z","updatedAt":"2026-06-02T16:42:33.748Z","severity":{"score":7.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","source":"CISA-ADP"},"assigner":"apache","products":["Apache Software Foundation Apache Airflow"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Airflow","packageName":"apache-airflow","defaultStatus":"unaffected","versions":[{"version":"3.0.0","status":"affected","lessThan":"3.2.2","versionType":"semver"}],"collectionURL":"https://pypi.python.org"}],"references":["https://github.com/apache/airflow/pull/65557","https://lists.apache.org/thread/qmt8ksh7gty6b8hr9w294t94j36jdv1q","http://www.openwall.com/lists/oss-security/2026/05/31/2"],"weaknesses":["CWE-601"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/40xxx/CVE-2026-40961.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-40961","state":"PUBLISHED","datePublished":"2026-06-01T07:55:04.647Z","dateUpdated":"2026-06-02T16:42:33.748Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2026-04-16T01:04:38.929Z"},"containers":{"cna":{"title":"Apache Airflow: Open Redirect Bypass Vulnerability","descriptions":[{"lang":"en","value":"A bug in the login redirect route in Apache Airflow allowed authenticated users to craft URLs that bypassed the `is_safe_url` check, enabling redirection from a trusted Airflow domain to an attacker-controlled origin. Users are advised to upgrade to `apache-airflow` 3.2.2 or later. As a defense-in-depth mitigation, deployment operators can place Airflow behind a reverse proxy that strips off-domain `next=` query parameters before they reach the login endpoint."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Airflow","packageName":"apache-airflow","defaultStatus":"unaffected","versions":[{"version":"3.0.0","status":"affected","lessThan":"3.2.2","versionType":"semver"}],"collectionURL":"https://pypi.python.org"}],"references":[{"url":"https://github.com/apache/airflow/pull/65557","tags":["patch"]},{"url":"https://lists.apache.org/thread/qmt8ksh7gty6b8hr9w294t94j36jdv1q","tags":["vendor-advisory"]}],"metrics":[{"other":{"content":{"text":"low"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-601","description":"CWE-601: URL Redirection to Untrusted Site (Open Redirect)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2026-06-01T07:55:04.647Z"},"credits":[{"lang":"en","type":"finder","value":"Fushuling@secsys"},{"lang":"en","type":"finder","value":"RacerZ@secsys"},{"lang":"en","type":"remediation developer","value":"Aritra Basu"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"airflow-s/generate_cve_json.py"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/05/31/2"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-06-01T09:52:23.058Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"CHANGED","version":"3.1","baseScore":7.2,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","integrityImpact":"LOW","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-06-02T16:26:18.324539Z","id":"CVE-2026-40961","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-02T16:42:33.748Z"}}]}}}