Loading HuntDB...

GHSA-mg2x-mggj-6955

GitHub Security Advisory

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

✓ GitHub Reviewed MODERATE Has CVE

Advisory Details

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.

Affected Packages

PyPI apache-airflow
Affected versions: 2.3.0 (fixed in 2.6.1)
PyPI apache-airflow-providers-cncf-kubernetes
Affected versions: 5.2.0 (fixed in 7.0.0)

Related CVEs

Key Information

GHSA ID
GHSA-mg2x-mggj-6955
Published
January 24, 2024 3:30 PM
Last Modified
January 31, 2024 2:55 PM
CVSS Score
5.0 /10
Primary Ecosystem
PyPI
Primary Package
apache-airflow
GitHub Reviewed
✓ Yes

Dataset

Last updated: July 27, 2025 6:35 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.