CVE-2023-28710 Apache Airflow Spark Provider Arbitrary File Read via JDBC

High 7.5 Published Updated

An attacker can read arbitrary files from the server via improper input validation in the Apache Airflow Spark Provider JDBC connection.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-28710?

CVE-2023-28710 is a high-severity path traversal vulnerability in Apache Airflow Spark Provider, published on 7 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Improper Input Validation vulnerability in Apache Software Foundation Apache Airflow Spark Provider.This issue affects Apache Airflow Spark Provider: before 4.0.1.

Weakness: CWE-20

Which versions are affected by CVE-2023-28710?

3 open source packages ship an affected version, including apache-airflow-providers-apache-spark. It affects 1 product.

PackageAffectedFixed in
apache-airflow-providers-apache-spark PyPIAll versions4.0.1
apache-airflow-providers-apache-spark PyPIAll versions4.0.1
apache-airflow-providers-apache-spark PyPIAll versions4.0.1

Products include Apache Apache-Airflow-Providers-Apache-Spark.

How do I fix CVE-2023-28710?

Upgrade apache-airflow-providers-apache-spark to 4.0.1 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2023-28710 being exploited?

There is no known exploitation of CVE-2023-28710 in the wild and no public exploit code.

Sources

Also known as GHSA-ffj9-4crc-q7wf, PYSEC-2026-1140.

Is CVE-2023-28710 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free