CVE-2023-22886 Apache Airflow JDBC Provider: RCE Vulnerability

High 8.8 Published Updated

Attackers can execute arbitrary code and gain server permissions via unrestricted JDBC connection URLs in Apache Airflow.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-22886?

CVE-2023-22886 is a high-severity code injection vulnerability in Apache Airflow JDBC Provider, published on 29 Jun 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Improper Input Validation vulnerability in Apache Software Foundation Apache Airflow JDBC Provider. Airflow JDBC Provider Connection’s [Connection URL] parameters had no restrictions, which made it possible to implement RCE attacks via different type JDBC drivers, obtain airflow server permission. This issue affects Apache Airflow JDBC Provider: before 4.0.0.

Weakness: CWE-20

Which versions are affected by CVE-2023-22886?

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

PackageAffectedFixed in
apache-airflow-providers-jdbc PyPIAll versions4.0.0
apache-airflow-providers-jdbc PyPIAll versions4.0.0
apache-airflow-providers-jdbc PyPIAll versions4.0.0

Products include Apache Apache-Airflow-Providers-Jdbc.

How do I fix CVE-2023-22886?

Upgrade apache-airflow-providers-jdbc to 4.0.0 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2023-22886 being exploited?

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

Sources

Also known as GHSA-mm87-c3x2-6f89, PYSEC-2026-1149.

Is CVE-2023-22886 in your software?

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

Check your SBOMs for free