---
id: CVE-2023-28710
aliases:
  - GHSA-ffj9-4crc-q7wf
  - PYSEC-2026-1140
title: Apache Airflow Spark Provider vulnerable to improper input validation
summary: Apache Airflow Spark Provider vulnerable to improper input validation
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
vendor: apache-airflow-providers-apache-spark
product: apache-airflow-providers-apache-spark
ecosystem: pip
affected:
  - apache-airflow-providers-apache-spark < 4.0.1
patched:
  - apache-airflow-providers-apache-spark 4.0.1
published: '2023-04-07'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-ffj9-4crc-q7wf'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-28710'
  - url: 'https://github.com/apache/airflow/pull/30223'
  - url: 'https://github.com/apache/airflow'
  - url: 'https://lists.apache.org/thread/lb9w9114ow00h2nkn8bjm106v5x1p1d2'
  - url: 'http://www.openwall.com/lists/oss-security/2023/04/07/3'
tags:
  - osv
  - pip
epss: 0.02152
epssPercentile: 0.81345
ingestedAt: '2026-07-08T18:25:48.879Z'
---

## Overview

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.

## Affected packages

- `apache-airflow-providers-apache-spark < 4.0.1`

## Remediation

Upgrade to a patched release:

- `apache-airflow-providers-apache-spark 4.0.1`
