# 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

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 35% of CVEs (2026-11-29)
- Published: 2024-01-24T12:56:17.869Z
- Modified: 2026-09-08T08:45:24.002Z
- Also known as: GHSA-mg2x-mggj-6955, BIT-AIRFLOW-2023-51702, PYSEC-2026-1144, PYSEC-2026-2350
- Weaknesses: CWE-312, CWE-532
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- apache-airflow-providers-cncf-kubernetes: from 5.2.0 before 7.0.0
- apache-airflow: from 2.3.0 before 2.6.1
- apache-airflow (PyPI): from 2.3.0 before 2.6.1
- apache-airflow-providers-cncf-kubernetes (PyPI): from 5.2.0 before 7.0.0
- apache airflow: from 2.3.0 before 2.6.1
- apache apache-airflow-providers-cncf-kubernetes: from 5.2.0 before 7.0.0
- airflow (Bitnami): from 2.3.0 before 2.6.1

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/apache/airflow/pull/29498> (fix, issue-tracking, patch, web)
- <https://github.com/apache/airflow/pull/30110> (fix, patch, web)
- <https://github.com/apache/airflow/pull/36492> (fix, issue-tracking, patch, web)
- <https://lists.apache.org/thread/89x3q6lz5pykrkr1fkr04k4rfn9pvnv9> (advisory, mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2024/01/24/3> (advisory, mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-51702> (advisory, web)
- <https://github.com/apache/airflow> (package)
- <https://pypi.org/project/apache-airflow-providers-cncf-kubernetes> (package)
- <https://github.com/advisories/GHSA-mg2x-mggj-6955> (advisory)
- <https://pypi.org/project/apache-airflow> (package)

## Sources

- CVE List: [CVE-2023-51702](https://www.cve.org/CVERecord?id=CVE-2023-51702), CVE Terms of Use, modified 2025-06-11
- GitHub Advisory Database: [GHSA-mg2x-mggj-6955](https://github.com/advisories/GHSA-mg2x-mggj-6955), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2023-51702](https://nvd.nist.gov/vuln/detail/CVE-2023-51702), Public domain, modified 2026-07-02
- PyPA Advisory Database: [PYSEC-2026-1144](https://osv.dev/vulnerability/PYSEC-2026-1144), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-2350](https://osv.dev/vulnerability/PYSEC-2026-2350), CC-BY-4.0, modified 2026-07-13
- Bitnami Vulnerability Database: [BIT-AIRFLOW-2023-51702](https://osv.dev/vulnerability/BIT-AIRFLOW-2023-51702), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-51702 · Whole record: https://cve.day/CVE-2023-51702.json · Rebuilt by cve.day 2026-11-25T22:58:32.250Z
