Command Injection in Apache Airflow and Apache Airflow MySQL Provider
CVE-2023-22884 · GHSA-c732-xvv8-g94c · BIT-airflow-2023-22884 · PYSEC-2026-268 · PYSEC-2026-279 · published 21 Jan 2023
How serious is it
- Severity: critical, CVSS score 9.8 out of 10.
- No exploit prediction (EPSS) score yet.
- Not on the CISA list of exploited vulnerabilities.
- No public exploit in Exploit-DB.
Is your app affected by CVE-2023-22884?
Paste this prompt into Claude Code, Cursor or any AI coding tool: it runs a free Shippable scan of your project and fixes what it finds. Built with Lovable, Bolt or v0? Scan your live app. Or upload your package file.
Who is affected
apache-airflow(PyPI) < 2.5.1apache-airflow-providers-mysql(PyPI) < 4.0.0
How to check
- Run
pip show apache-airflowin your project to see the installed version, including copies pulled in by other packages. - Run
pip show apache-airflow-providers-mysqlin your project to see the installed version, including copies pulled in by other packages. - Or paste your lockfile into the checker: it lists every package with a known vulnerability, this one included.
- Or run
npx shippable-dev scan localhost:3000in your project folder. It reads your lockfile and flags this vulnerability along with every other known one.
How to fix
Copies a prompt for Claude Code, Cursor or Codex: it checks your lockfiles for this and upgrades it.
- On < 2.5.1: Upgrade
apache-airflowto 2.5.1 or later, commit the lockfile and redeploy. - On < 4.0.0: Upgrade
apache-airflow-providers-mysqlto 4.0.0 or later, commit the lockfile and redeploy. - If a vulnerable version was live, check your logs and rotate the secrets that server could read.
The advisory
Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Apache Software Foundation Apache Airflow, Apache Software Foundation Apache Airflow MySQL Provider.This issue affects Apache Airflow: before 2.5.1; Apache Airflow MySQL Provider: before 4.0.0.
Check your whole app
Dependencies are only half of it. Free and read-only: before you push, run npx shippable-dev scan localhost:3000 in your project folder, no account needed. For your live app, you prove it's yours with a one-line tag first.
References
- nvd.nist.gov/vuln/detail/CVE-2023-22884
- github.com/apache/airflow/pull/28811
- lists.apache.org/thread/0l0j3nt0t7fzrcjl2ch0jgj6c58kxs5h
- github.com/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-mysql/PYSEC-2026-279.yaml
- github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-268.yaml
- pypi.org/project/apache-airflow
- pypi.org/project/apache-airflow-providers-mysql
- github.com/advisories/GHSA-c732-xvv8-g94c
- github.com/apache/airflow
Merged from GitHub Advisory Database, OSV. Last updated 28 Oct 2026. All vulnerabilities · RSS · JSON