CVE-2023-51702
MEDIUM 6.5CVSS 3.1Apache Airflow CNCF Kubernetes provider, Apache Airflow: Kubernetes configuration file saved without encryption in the Metadata and logged as plain text in the Triggerer service
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.
- Published
- 24 Jan 2024
- Last modified
- 13 Jul 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-312
- Also known as
- BIT-airflow-2023-51702GHSA-mg2x-mggj-6955PYSEC-2026-1144PYSEC-2026-2350
- Sources
- NVDJSONOSV GHSA-mg2x-mggj-6955JSONOSV PYSEC-2026-1144JSONOSV PYSEC-2026-2350JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | airflowcpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:* |
>= 2.3.0, < 2.6.1 | 2.6.1 |
| NVD | apache | apache-airflow-providers-cncf-kubernetescpe:2.3:a:apache:apache-airflow-providers-cncf-kubernetes:*:*:*:*:*:*:*:* |
>= 5.2.0, < 7.0.0 | 7.0.0 |
| OSV | PyPI | apache-airflow | >= 2.3.0, < 2.6.1 | 2.6.1 |
| OSV | PyPI | apache-airflow-providers-cncf-kubernetes | >= 5.2.0, < 7.0.0 | 7.0.0 |
References
- http://www.openwall.com/lists/oss-security/2024/01/24/3 · Mailing List, Third Party Advisory, WEB
- https://github.com/apache/airflow/pull/29498 · Issue Tracking, Patch, WEB
- https://github.com/apache/airflow/pull/30110 · Patch, WEB
- https://github.com/apache/airflow/pull/36492 · Issue Tracking, Patch, WEB
- https://lists.apache.org/thread/89x3q6lz5pykrkr1fkr04k4rfn9pvnv9 · Mailing List, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-51702 · ADVISORY
- 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
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 24 Jan 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Jan 2024)