🇰🇷 한글 설명
Apache Airflow의 KubernetesExecutor에서 발생하는 버그로, 워커 포드가 Execution API 인증에 사용하는 JWT 토큰이 포드 스펙의 명령줄 인자로 노출됩니다. Kubernetes 읽기 권한을 가진 인증된 사용자가 이 토큰을 탈취하여 실행 API를 호출함으로써 Dag 실행, 변수/연결 정보 읽기 및 쓰기 등 권한을 남용할 수 있습니다.
💡 쉬운 설명
작업을 수행하는 컴퓨터의 비밀 열쇠(JWT 토큰)가 누구나 볼 수 있는 곳에 노출되는 문제입니다. 이를 통해 권한이 낮은 사용자가 시스템의 중요한 설정이나 작업을 마음대로 조작할 수 있습니다.
🇺🇸 원문 (English)
A bug in Apache Airflow's KubernetesExecutor caused JWT tokens used by worker pods to authenticate against the Execution API to be passed to the worker container as command-line arguments visible in the pod spec. An authenticated UI/API user with Kubernetes read-only access to the cluster (e.g. `pods/get` in the Airflow namespace) could harvest the JWT from `kubectl describe pod` output and then call state-mutating Execution API endpoints — triggering Dag runs, clearing runs, reading or writing Variables / Connections / XComs — as if they were a running task. Affects deployments using the `KubernetesExecutor`. Users are advised to upgrade to `apache-airflow` 3.2.2 or later. This is the airflow-core half of the same vulnerability addressed by [CVE-2026-27173](https://www.cve.org/CVERecord?id=CVE-2026-27173), which shipped the apache-airflow-providers-cncf-kubernetes side of the fix. Deployments that already upgraded `apache-airflow-providers-cncf-kubernetes` to 10.17.0 or later per the CVE-2026-27173 advisory should additionally upgrade `apache-airflow` to 3.2.2 or later to close the core-side surface — the two fixes are complementary, not duplicates.
📍 영향받는 시스템
Apache Airflow KubernetesExecutor를 사용하는 환경 (3.2.2 미만 버전)
⚔️ 공격 벡터
Kubernetes 포드 스펙(kubectl describe pod)을 통해 노출된 JWT 토큰을 탈취하여 Execution API 호출
🛡️ 대응 방법
Apache Airflow를 3.2.2 버전 이상으로 업그레이드하고, 필요 시 apache-airflow-providers-cncf-kubernetes를 10.17.0 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 3.2.2 미만이면 취약한 상태이며, 3.2.2 이상이면 안전합니다.
pip show apache-airflow | grep Version