🔍 CVE-2026-58076

8.8
CVSS Score
HIGH
2026-08-12
2026-10-24 16:10
✅ 완료

🇰🇷 한글 설명

Apache Airflow의 직렬화 계층에서 직렬화된 데이터 내의 클래스 이름을 기반으로 `import_string()`을 호출하여 예외 노드를 재구성할 때 발생하는 취약점입니다. 공격자가 `executor_config`를 통해 임의의 함수를 호출하도록 조작할 수 있으며, 이는 스케줄러와 API 서버에서 실행되어 데이터베이스 자격 증명 및 JWT 비밀키 탈취로 이어질 수 있습니다.

💡 쉬운 설명

해커가 조작된 데이터를 보내면 서버가 이를 처리하는 과정에서 해커가 원하는 악성 명령어를 대신 실행하게 되는 보안 결함입니다. 이로 인해 서버의 중요한 비밀번호나 관리자 권한이 통째로 넘어갈 수 있습니다.

🇺🇸 원문 (English)

Apache Airflow's serialization layer reconstructed exception nodes by calling `import_string()` on a class name taken from the serialized blob and instantiating it with arguments from the same blob, with no restriction on what could be imported. An operator's `executor_config` reaches that branch, so a Dag author could place a value there that causes an arbitrary callable to be imported and invoked -- for example `subprocess.check_output`, or `builtins.eval` on the `builtins`-prefixed variant. The code runs in the **Scheduler**, which reconstructs serialized Dags in its normal loop with no request involved, and in the **API server**, on any authenticated read of the Dag such as `GET /api/v2/dags/{dag_id}/details`. Both are components the Airflow security model states must never execute Dag-author code, and both hold the metadata database credentials and the JWT signing secret. No non-default configuration is required. This is a **different sink from CVE-2026-33264**, which covered only the trigger branch of the same deserializer: deployments that upgraded in response to that advisory are still affected through the exception branch and must upgrade again. Users are advised to upgrade to apache-airflow 3.3.1 or later, which restricts the imported class to a subclass of `BaseException`.

📍 영향받는 시스템

Apache Airflow 3.3.1 미만 버전

⚔️ 공격 벡터

Dag 작성자가 `executor_config`에 악성 호출 코드를 삽입하여 스케줄러 또는 API 서버의 역직렬화 과정을 유도함

🛡️ 대응 방법

Apache Airflow를 3.3.1 이상 버전으로 즉시 업그레이드하십시오.

🔧 검증 코드

출력된 버전이 3.3.1보다 낮으면 취약한 상태이며 즉시 업데이트가 필요합니다.

Shell / Script
pip show apache-airflow | grep Version

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Spring Data REST