VDB
Sign up
HIGH7.5

PYSEC-2026-238

Quick fix

PYSEC-2026-238 — apache-airflow-providers-ftp: upgrade to the fixed version with the command below.

pip install --upgrade 'apache-airflow-providers-ftp>=3.15.1'

Details

The Apache Airflow FTP provider's `FTPSHook.get_conn()` created an `ftplib.FTP_TLS` connection but never called `prot_p()`, so although the control channel was TLS-protected the data channel was transmitted in cleartext. Any deployment using `FTPSHook` or `FTPSFileTransmitOperator` to move files over FTPS exposed file contents and credentials-in-transit to a network attacker able to observe the data connection. Upgrade apache-airflow-providers-ftp to `3.15.1` or later, which issues `PROT P` to encrypt the data channel.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/apache-airflow-providers-ftp
Introduced in: 0Fixed in: 3.15.1
Fixpip install --upgrade 'apache-airflow-providers-ftp>=3.15.1'

References