🔍 CVE-2026-49818

6.5
CVSS Score
MEDIUM
2026-06-09
2026-07-23 08:10
✅ 완료

🇰🇷 한글 설명

Apache Airflow Samba 제공업체의 GCSToSambaOperator는 GCS 객체 이름과 SMB 대상 경로를 결합할 때 경로 제한 검사 없이 결합하여, '../' 세그먼트가 포함된 객체 이름이 구성된 destination_path 외부로 파일을 쓸 수 있게 합니다. 공격자가 소스 GCS 버킷에 객체를 작성할 수 있는 경우, 연산자가 실행될 때 Samba 대상의 임의 위치에 파일을 쓸 수 있습니다.

💡 쉬운 설명

이 취약점은 외부에서 업로드된 파일 이름에 '../' 같은 특수 문자가 포함되어 있을 때, 시스템이 이를 잘못 해석하여 설정된 폴더 밖의 다른 위치에 파일을 저장하도록 만듭니다. 이는 권한이 없는 사용자가 서버의 중요한 파일들을 덮어쓰거나 손상시킬 수 있는 위험을 초래합니다.

🇺🇸 원문 (English)

The Apache Airflow Samba provider's `GCSToSambaOperator` joined GCS object names to the SMB destination path without a containment check, so an object named with `../` segments resolved a write path outside the configured `destination_path`. An attacker able to write objects into the source GCS bucket — typically an external data producer distinct from the trusted DAG author — could write files to arbitrary locations on the Samba target when the operator ran. Upgrade apache-airflow-providers-samba to 4.12.6 or later, which validates the resolved destination stays within `destination_path`.

📍 영향받는 시스템

apache-airflow-providers-samba 4.12.5 및 이전 버전

⚔️ 공격 벡터

GCS 버킷에 악의적인 '../' 경로가 포함된 객체를 업로드하여 Airflow 연산자 실행 시 경로 트래버설 공격 수행

🛡️ 대응 방법

apache-airflow-providers-samba를 4.12.6 이상으로 업그레이드하여 경로 검증 로직을 적용합니다.

🔧 검증 코드

출력된 버전 번호가 4.12.6 미만인 경우 취약한 것으로 판단하며, 4.12.6 이상이면 패치된 버전입니다.

Shell / Script
pip show apache-airflow-providers-samba | grep -i version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Samba