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.1Fix
pip install --upgrade 'apache-airflow-providers-apache-spark>=4.0.1'References
- https://nvd.nist.gov/vuln/detail/CVE-2023-28710[ADVISORY]
- https://github.com/apache/airflow/pull/30223[WEB]
- https://github.com/apache/airflow[PACKAGE]
- https://lists.apache.org/thread/lb9w9114ow00h2nkn8bjm106v5x1p1d2[WEB]
- http://www.openwall.com/lists/oss-security/2023/04/07/3[WEB]
- https://pypi.org/project/apache-airflow-providers-apache-spark[PACKAGE]
- https://github.com/advisories/GHSA-ffj9-4crc-q7wf[ADVISORY]