---
id: CVE-2024-29733
aliases:
  - GHSA-3gg8-mc87-cq3h
  - PYSEC-2026-1148
title: Improper Certificate Validation vulnerability in Apache Airflow FTP Provider
summary: Improper Certificate Validation vulnerability in Apache Airflow FTP Provider
severity: low
cvss: 2.7
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N'
vendor: apache-airflow-providers-ftp
product: apache-airflow-providers-ftp
ecosystem: pip
affected:
  - apache-airflow-providers-ftp < 3.7.0
patched:
  - apache-airflow-providers-ftp 3.7.0
published: '2024-04-21'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-3gg8-mc87-cq3h'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-29733'
  - url: 'https://github.com/apache/airflow/pull/38266'
  - url: 'https://docs.python.org/3/library/ssl.html#best-defaults'
  - url: 'https://github.com/apache/airflow'
  - url: >-
      https://github.com/apache/airflow/blob/95e26118b828c364755f3a8c96870f3591b01c31/airflow/providers/ftp/hooks/ftp.py#L280
  - url: 'https://lists.apache.org/thread/265t5zbmtjs6h9fkw52wtp03nsbplky2'
  - url: 'http://www.openwall.com/lists/oss-security/2024/04/19/3'
tags:
  - osv
  - pip
epss: 0.00631
epssPercentile: 0.48052
ingestedAt: '2026-07-08T18:25:44.908Z'
---

## Overview

Improper Certificate Validation vulnerability in Apache Airflow FTP Provider.

The FTP hook lacks complete certificate validation in FTP_TLS connections, which can potentially be leveraged. Implementing proper certificate validation by passing context=ssl.create_default_context() during FTP_TLS instantiation is used as mitigation to validate the certificates properly.

This issue affects Apache Airflow FTP Provider: before 3.7.0.

Users are recommended to upgrade to version 3.7.0, which fixes the issue.

## Affected packages

- `apache-airflow-providers-ftp < 3.7.0`

## Remediation

Upgrade to a patched release:

- `apache-airflow-providers-ftp 3.7.0`
