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
Medium6.5CVE-2023-51702 · Published Jan 24, 2024 · updated Jul 13, 2026
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| apache-airflow PyPI | >= 2.3.0, < 2.6.1 | 2.6.1 |
Details and references
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 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-312
- Also known as
- BIT-airflow-2023-51702, CVE-2023-51702, PYSEC-2026-1144, PYSEC-2026-2350
More Apache Airflow advisories
All Apache Airflow| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jan 242024 | Apache Airflow: pickle deserialization vulnerability in XComs CVE-2023-50943High7.5fixed in 2.8.1rc1 | High7.5 | 2.8.1rc1 |
| Jan 242024 | Apache Airflow: Bypass permission verification to read code of other dags CVE-2023-50944High6.5fixed in 2.8.1rc1 | High6.5 | 2.8.1rc1 |
| Dec 212023 | Apache Airflow Improper Access Control vulnerability CVE-2023-50783Medium6.5fixed in 2.8.0 | Medium6.5 | 2.8.0 |
| Dec 212023 | Apache Airflow Cross-Site Request Forgery vulnerability CVE-2023-49920Medium6.5fixed in 2.8.0 | Medium6.5 | 2.8.0 |
| Dec 212023 | Apache Airflow vulnerable to Exposure of Resource to Wrong Sphere CVE-2023-48291Medium4.3fixed in 2.8.0 | Medium4.3 | 2.8.0 |
| Dec 212023 | Apache Airflow has a stored cross-site scripting vulnerability CVE-2023-47265Medium5.4fixed in 2.8.0b1 | Medium5.4 | 2.8.0b1 |