{"id":"CVE-2026-40961","aliases":["CVE-2026-40961","GHSA-6hcw-qqr8-pjj8","BIT-AIRFLOW-2026-40961","PYSEC-2026-2345"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Airflow: Open Redirect Bypass Vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Un error en la ruta de redirección de inicio de sesión en Apache Airflow permitió a usuarios autenticados crear URLs que eludían la verificación 'is_safe_url', lo que permitía la redirección desde un dominio de Airflow de confianza a un origen controlado por un atacante. Se aconseja a los usuarios actualizar a 'apache-airflow' 3.2.2 o posterior. Como una mitigación de defensa en profundidad, los operadores de despliegue pueden colocar Airflow detrás de un proxy inverso que elimina los parámetros de consulta 'next=' fuera del dominio antes de que lleguen al punto final de inicio de sesión.","source":"nvd"}],"published":"2026-06-01T07:55:04.647Z","modified":"2026-11-03T07:19:55.147Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","score":7.2,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","score":7.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","score":7.2,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","score":7.2,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-601"],"affected":[{"ranges":[{"type":"semver","introduced":"3.0.0","fixed":"3.2.2","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Airflow","package":"apache-airflow-core","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0b3","status":"affected","fixed":"3.2.2"}],"ecosystem":"PyPI","package":"apache-airflow","purl":"pkg:pypi/apache-airflow","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.0.0","fixed":"3.2.2"}],"vendor":"apache","product":"airflow","cpe":"cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.2.2"}],"ecosystem":"PyPI","package":"apache-airflow","purl":"pkg:pypi/apache-airflow","source":"pysec"},{"ranges":[{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.2.2"}],"ecosystem":"Bitnami","package":"airflow","purl":"pkg:bitnami/airflow","source":"bitnami"}],"references":[{"url":"https://github.com/apache/airflow/pull/65557","tags":["fix","issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://lists.apache.org/thread/qmt8ksh7gty6b8hr9w294t94j36jdv1q","tags":["advisory","mailing-list","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2026/05/31/2","tags":["advisory","mailing-list","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40961","tags":["advisory","web"],"sources":["ghsa","pysec","bitnami"]},{"url":"https://github.com/apache/airflow/commit/555f35576e3143dec65a7fb9acd95891841b45f2","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/airflow/commit/bfd1881fa0cb1193f49dbac72d7462e66aaf8f25","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/airflow","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-2345.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://pypi.org/project/apache-airflow","tags":["package","web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/advisories/GHSA-6hcw-qqr8-pjj8","tags":["advisory"],"sources":["pysec"]}],"credits":["Fushuling@secsys","RacerZ@secsys","Aritra Basu"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-06-02T16:26:18.324Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40961","url":"https://www.cve.org/CVERecord?id=CVE-2026-40961","licence":"CVE Terms of Use","modified":"2026-11-03T06:55:01.599Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6hcw-qqr8-pjj8","url":"https://github.com/advisories/GHSA-6hcw-qqr8-pjj8","licence":"CC-BY-4.0","modified":"2026-11-02T23:15:03.654Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40961","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40961","licence":"Public domain","modified":"2026-11-03T07:19:55.147Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2345","url":"https://osv.dev/vulnerability/PYSEC-2026-2345","licence":"CC-BY-4.0","modified":"2026-07-13T16:42:30.399Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-AIRFLOW-2026-40961","url":"https://osv.dev/vulnerability/BIT-AIRFLOW-2026-40961","licence":"Apache-2.0","modified":"2026-09-08T08:45:27.075Z"}],"updatedAt":"2026-11-25T22:59:23.426Z","epss":{"score":0.00606,"percentile":0.5037,"date":"2026-12-01T12:00:22.000Z"}}