Advisory

PYSEC-2026-1141

Also known as: CVE-2023-40272, GHSA-r2f6-6928-fh8f

Summary

Apache Airflow Spark Provider Improper Input Validation vulnerability

Details

Apache Airflow Spark Provider, versions before 4.1.3, is affected by a vulnerability that allows an attacker to pass in malicious parameters when establishing a connection giving an opportunity to read files on the Airflow server.
It is recommended to upgrade to a version that is not affected.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2026-07-07 11:45 UTC
Modified
2026-07-07 17:46 UTC

Affected packages and fixes

apache-airflow-providers-apache-spark

PyPI · All systems

Affected

  • introduced 0, fixed 4.1.3 (ecosystem)

Fixed versions

4.1.3

Fix

  • Fixed version 4.1.3
    pip install --upgrade apache-airflow-providers-apache-spark==4.1.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences