{"cve":"CVE-2023-51702","nvd":{"published":"2024-01-24T13:15:08.150","modified":"2026-07-02T17:01:47.360","status":"Modified","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.\n\nThis 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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-312","CWE-532"],"references":["http://www.openwall.com/lists/oss-security/2024/01/24/3","https://github.com/apache/airflow/pull/29498","https://github.com/apache/airflow/pull/30110","https://github.com/apache/airflow/pull/36492","https://lists.apache.org/thread/89x3q6lz5pykrkr1fkr04k4rfn9pvnv9"],"products":["apache:airflow","apache:apache-airflow-providers-cncf-kubernetes"],"source":"nvd","synced_at":"2026-10-19T21:44:57.175229480+00:00"},"epss":{"cve":"CVE-2023-51702","score":0.00385,"percentile":0.32546,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mg2x-mggj-6955","url":"https://osv.dev/vulnerability/GHSA-mg2x-mggj-6955","summary":"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","modified":"2026-07-13T16:43:12.284175149Z","packages":[{"ecosystem":"PyPI","name":"apache-airflow","purl":"pkg:pypi/apache-airflow","ranges":[">=2.3.0 <2.6.1"],"fixed":["2.6.1"]},{"ecosystem":"PyPI","name":"apache-airflow-providers-cncf-kubernetes","purl":"pkg:pypi/apache-airflow-providers-cncf-kubernetes","ranges":[">=5.2.0 <7.0.0"],"fixed":["7.0.0"]}]},{"id":"PYSEC-2026-1144","url":"https://osv.dev/vulnerability/PYSEC-2026-1144","summary":"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","modified":"2026-07-13T16:43:12.284175149Z","packages":[{"ecosystem":"PyPI","name":"apache-airflow-providers-cncf-kubernetes","purl":"pkg:pypi/apache-airflow-providers-cncf-kubernetes","ranges":[">=5.2.0 <7.0.0"],"fixed":["7.0.0"]}]},{"id":"PYSEC-2026-2350","url":"https://osv.dev/vulnerability/PYSEC-2026-2350","summary":"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","modified":"2026-07-13T16:43:12.284175149Z","packages":[{"ecosystem":"PyPI","name":"apache-airflow","purl":"pkg:pypi/apache-airflow","ranges":[">=2.3.0 <2.6.1"],"fixed":["2.6.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}