VDB
Sign up
HIGH7.5

PYSEC-2026-1140

Apache Airflow Spark Provider vulnerable to improper input validation

Quick fix

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

pip install --upgrade 'apache-airflow-providers-apache-spark>=4.0.1'

Details

Apache Software Foundation Apache Airflow Spark Provider before 4.0.1 is vulnerable to improper input validation because the host and schema of JDBC Hook can contain `/` and `?` which is used to denote the end of the field.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References