Skip to content
Fencer Vulns
medium 6.5

CVE-2023-51702 json

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

published 2024-01-24 2 y ago modified 2026-09-08 2 mo ago also BIT-airflow-2023-51702 , EUVD-2024-0386 , GHSA-mg2x-mggj-6955 , PYSEC-2026-1144 , PYSEC-2026-2350

cvss
6.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 32%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi apache-airflow 2.6.1
  • pypi apache-airflow-providers-cncf-kubernetes 7.0.0
  • bitnami airflow 2.6.1
  • Apache Software Foundation Apache Airflow CNCF Kubernetes provider 7.0.0
  • Apache Software Foundation Apache Airflow 2.6.1

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.39% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
GitHub 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CNA 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
OSV 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
pypi apache-airflow
>=2.3.0, <2.6.1
2.6.1
pypi apache-airflow-providers-cncf-kubernetes
>=5.2.0, <7.0.0
7.0.0
bitnami airflow
>=2.3.0, <2.6.1
2.6.1

Affected products

  • Apache Software Foundation Apache Airflow CNCF Kubernetes provider
  • Apache Software Foundation Apache Airflow

Classification

Weakness
  • CWE-532 Insertion of Sensitive Information into Log File
  • CWE-312 Cleartext Storage of Sensitive Information

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.