CVE-2023-51702Apache Airflow
Medium 6.5
Follow: this CVE · Apache · Apache Airflow We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 35
- Auth required
- Yes
- Published
- Jan 24, 2024
- Updated
- Jul 2, 2026
- Category
- Server · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
Since version 5.2.0, when using deferrable mode with the path of a Kubernetes configuration file for authentication, the Airflow worker serializes this configuration file as a dictionary and sends it to the triggerer by storing it in metadata without any encryption. Additionally, if used with an Airflow version between 2.3.0 and 2.6.0, the configuration dictionary will be logged as plain text in the triggerer service without masking. This allows anyone with access to the metadata or triggerer log to obtain the configuration file and use it to access the Kubernetes cluster.
This behavior was changed in version 7.0.0, which stopped serializing the file contents and started providing the file path instead to read the contents into the trigger. Users are recommended to upgrade to version 7.0.0, which fixes this issue.
What to do
- Apply the vendor's security update for Airflow.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | apache-airflow |
≥ 2.3.0 < 2.6.1 |
2.6.1 |
pip install "apache-airflow>=2.6.1" |
| PyPI | apache-airflow |
≥ 2.3.0 < 2.6.1 |
2.6.1 |
pip install "apache-airflow>=2.6.1" |
| PyPI | apache-airflow-providers-cncf-kubernetes |
≥ 5.2.0 < 7.0.0 |
7.0.0 |
pip install "apache-airflow-providers-cncf-kubernetes>=7.0.0" |
| PyPI | apache-airflow-providers-cncf-kubernetes |
≥ 5.2.0 < 7.0.0 |
7.0.0 |
pip install "apache-airflow-providers-cncf-kubernetes>=7.0.0" |
Per OSV / GitHub Advisories (GHSA-mg2x-mggj-6955, PYSEC-2026-2350, PYSEC-2026-1144). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | airflow | ≥ 2.3.0 < 2.6.1 |
| apache | apache-airflow-providers-cncf-kubernetes | ≥ 5.2.0 < 7.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- github.com Issue Tracking Patch
- github.com Patch
- github.com Issue Tracking Patch
- lists.apache.org Mailing List Vendor Advisory