# CVE-2026-41017: Apache Airflow: JWT cookie missing Secure flag in JWTRefreshMiddleware behind HTTPS-terminating proxy

- Severity: Medium 5.9 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-02)
- Published: 2026-06-01T07:52:33.651Z
- Modified: 2026-11-03T07:20:05.920Z
- Also known as: GHSA-95v7-h9j5-gvjr, BIT-AIRFLOW-2026-41017, PYSEC-2026-171
- Weaknesses: CWE-614
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## Description

Apache Airflow's `JWTRefreshMiddleware` set the JWT auth cookie without the `Secure` flag, so deployments running the Airflow API server behind an HTTPS-terminating reverse proxy (e.g. nginx / Envoy / a managed load balancer that terminates TLS and forwards plaintext to the API server, the default cloud-native topology) would have the user's session JWT replayed over any cleartext HTTP request to the same host. A network-positioned attacker (Wi-Fi MITM, hostile LAN, captive-portal proxy) could induce a logged-in user's browser to issue an HTTP request to the deployment's hostname and capture the JWT cookie out of that request, then replay it against the authenticated API. Affects deployments where the Airflow API server is reached through a TLS-terminating proxy and the cookie's secure-by-default protection is load-bearing for session integrity. Users are advised to upgrade to `apache-airflow` 3.2.2 or later.

(As written by CVE List.)

## Affected

- apache-airflow-core: from 3.0.0 before 3.2.2
- apache-airflow (PyPI): from 3.0.0 before 3.2.2
- apache airflow: from 3.0.0 before 3.2.2
- airflow (Bitnami): from 3.0.0 before 3.2.2

## Every score

- CISA-ADP: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/apache/airflow/pull/65348> (fix, issue-tracking, patch, web)
- <https://lists.apache.org/thread/9jx0sk49c1250zflx0q3clc717qgjdch> (advisory, mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2026/05/31/6> (advisory, mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41017> (advisory, web)
- <https://github.com/apache/airflow> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-171.yaml> (web)
- <https://github.com/advisories/GHSA-95v7-h9j5-gvjr> (advisory)

## Sources

- CVE List: [CVE-2026-41017](https://www.cve.org/CVERecord?id=CVE-2026-41017), CVE Terms of Use, modified 2026-11-03
- GitHub Advisory Database: [GHSA-95v7-h9j5-gvjr](https://github.com/advisories/GHSA-95v7-h9j5-gvjr), CC-BY-4.0, modified 2026-07-09
- NVD: [CVE-2026-41017](https://nvd.nist.gov/vuln/detail/CVE-2026-41017), Public domain, modified 2026-11-03
- PyPA Advisory Database: [PYSEC-2026-171](https://osv.dev/vulnerability/PYSEC-2026-171), CC-BY-4.0, modified 2026-07-13
- Bitnami Vulnerability Database: [BIT-AIRFLOW-2026-41017](https://osv.dev/vulnerability/BIT-AIRFLOW-2026-41017), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-41017 · Whole record: https://cve.day/CVE-2026-41017.json · Rebuilt by cve.day 2026-11-25T22:59:23.428Z
