{"id":"CVE-2023-51702","published":"2024-01-24T12:56:17Z","modified":"2025-06-11T16:48:05Z","title":"Apache Airflow CNCF Kubernetes provider, Apache Airflow: Kubernetes configuration file saved without encryption in the…","vendor":"Apache","product":"Apache Airflow CNCF Kubernetes provider","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00385,"percentile":0.33396,"provenance":"source"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"},{"id":"CWE-312","name":"Cleartext Storage of Sensitive Information"}],"references":[{"url":"https://github.com/apache/airflow/pull/29498","tags":["patch"]},{"url":"https://github.com/apache/airflow/pull/30110","tags":["patch"]},{"url":"https://github.com/apache/airflow/pull/36492","tags":["patch"]},{"url":"https://lists.apache.org/thread/89x3q6lz5pykrkr1fkr04k4rfn9pvnv9","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2024/01/24/3","tags":[]}],"priority":{"score":11.2,"factors":[{"name":"EPSS percentile","points":6.68},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Airflow CNCF Kubernetes provider","versions":[">= 5.2.0, < 7.0.0"]},{"vendor":"Apache Software Foundation","product":"Apache Airflow","versions":[">= 2.3.0, < 2.6.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-01-29T16:36:41.716962Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"apache-airflow","vulnerableRanges":[">=2.3.0, <2.6.1"],"patched":["2.6.1"],"from":["GHSA-mg2x-mggj-6955","PYSEC-2026-2350"],"provenance":"source"},{"ecosystem":"PyPI","package":"apache-airflow-providers-cncf-kubernetes","vulnerableRanges":[">=5.2.0, <7.0.0"],"patched":["7.0.0"],"from":["GHSA-mg2x-mggj-6955","PYSEC-2026-1144"],"provenance":"source"}],"summary":{"text":"The Apache Airflow CNCF Kubernetes provider, when used in deferrable mode with a Kubernetes configuration file for authentication, serializes that file's contents and stores them unencrypted in metadata and, for Airflow versions 2.3.0 to 2.6.0, logs them in plain text in the triggerer service. An attacker with network access and low privileges who can read the metadata database or triggerer logs could obtain the configuration file and use it to access the Kubernetes cluster, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:35Z"},"euvd":{"id":"EUVD-2024-0386","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-25754","published":"2023-05-08","fixed":"2.6.0","kev":false},{"cve":"CVE-2023-29247","published":"2023-05-08","fixed":"2.6.0","kev":false},{"cve":"CVE-2023-39508","published":"2023-08-05","fixed":"2.6.0","kev":false,"link":{"from":"CVE-2023-39508","to":"CVE-2023-51702","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:apache-airflow","fromFixed":"2.6.0","toFixed":"2.6.1","daysApart":172}]}},{"cve":"CVE-2023-51702","published":"2024-01-24","fixed":"2.6.1","kev":false},{"cve":"CVE-2023-35005","published":"2023-06-19","fixed":"2.6.2","kev":false},{"cve":"CVE-2022-46651","published":"2023-07-12","fixed":"2.6.3","kev":false},{"cve":"CVE-2023-22887","published":"2023-07-12","fixed":"2.6.3","kev":false}],"package":"PyPI:apache-airflow"}}