CVE-2023-51702: Apache Airflow CNCF Kubernetes provider, Apache Airflow: Kubernetes configuration file saved without encryption in the Metadata and logged as plain text in the Triggerer service
Vulnerability summary
CVE-2023-51702 is a medium (CVSS 6.5) vulnerability in apache software foundation apache airflow. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 34.2% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 24-01-2024PublishedVulnerability first disclosed.
- 11-06-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · PypiEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.38%
Chance of exploitation in the next 30 days
Percentile
34%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.39% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Apache2 products
- airflow≥ 2.3.0, < 2.6.1
- apache-airflow-providers-cncf-kubernetes≥ 5.2.0, < 7.0.0
Apache software foundation2 products
- apache airflow≥ 2.3.0, < 2.6.1
- apache airflow cncf kubernetes provider≥ 5.2.0, < 7.0.0
PyPI2 products
- apache-airflow≥ 2.3.0, < 2.6.1
- apache-airflow-providers-cncf-kubernetes≥ 5.2.0, < 7.0.0
3 vendors · 6 products
References
10 links- github.com/apache/airflowPACKAGE