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
- github.com/apache/airflow#29498 pull request
- github.com/apache/airflow#30110 pull request
- github.com/apache/airflow#36492 pull request
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
References
-
github.com
/apache/airflow/pull/29498
patch, web, issue-tracking
-
github.com
/apache/airflow/pull/30110
patch, web
-
github.com
/apache/airflow/pull/36492
patch, web, issue-tracking
-
lists.apache.org
/thread/89x3q6lz5pykrkr1fkr04k4rfn9pvnv9
vendor-advisory, web, mailing-list, advisory
-
openwall.com
/lists/oss-security/2024/01/24/3
web, mailing-list, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-51702
advisory, web
-
github.com
/apache/airflow
package
-
pypi.org
/project/apache-airflow-providers-cncf-kubernetes
package
-
github.com
/advisories/GHSA-mg2x-mggj-6955
advisory
-
pypi.org
/project/apache-airflow
package
Sources
- CVE List CVE-2023-51702
- GitHub Advisory GHSA-mg2x-mggj-6955
- NVD CVE-2023-51702
- OSV BIT-airflow-2023-51702
- OSV PYSEC-2026-1144
- OSV PYSEC-2026-2350
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.