{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-40961","id":"CVE-2026-40961","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-domai","descriptionLong":"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.","published":"2026-06-01T07:55:04.647Z","updated":"2026-11-04T02:31:04.242611465Z","reserved":"2026-04-16T01:04:38.929Z","status":"Analyzed","rejected":false,"assigner":"apache","metric":{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["Apache Software Foundation Apache Airflow"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache Airflow","defaultStatus":"unaffected","versions":[{"status":"affected","version":"3.0.0","lessThan":"3.2.2","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"apache-airflow","purl":"pkg:pypi/apache-airflow","ranges":[">=3.0.0b3 <3.2.2","<3.2.2"],"fixed":["3.2.2"],"advisory":"GHSA-6hcw-qqr8-pjj8"}],"cwes":["CWE-601"],"aliases":["BIT-airflow-2026-40961","GHSA-6hcw-qqr8-pjj8","PYSEC-2026-2345"],"references":[{"url":"https://github.com/apache/airflow/pull/65557","tags":["patch","Issue Tracking","Patch","fix","web"]},{"url":"https://lists.apache.org/thread/qmt8ksh7gty6b8hr9w294t94j36jdv1q","tags":["vendor-advisory","Mailing List","Vendor Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2026/05/31/2","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://pypi.python.org","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40961.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40961","tags":["advisory"]},{"url":"https://github.com/apache/airflow/commit/555f35576e3143dec65a7fb9acd95891841b45f2","tags":["web"]},{"url":"https://github.com/apache/airflow/commit/bfd1881fa0cb1193f49dbac72d7462e66aaf8f25","tags":["web"]},{"url":"https://github.com/apache/airflow","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-2345.yaml","tags":["web"]},{"url":"https://pypi.org/project/apache-airflow","tags":["web","package"]},{"url":"https://github.com/advisories/GHSA-6hcw-qqr8-pjj8","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00649,"epssPercentile":0.52044,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-40961","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40961","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-40961","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6hcw-qqr8-pjj8","ok":true,"note":"GHSA-6hcw-qqr8-pjj8"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-40961","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}