🔍 CVE-2026-12261

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

🇰🇷 한글 설명

nltk/nltk 3.9.4 이하 버전의 nltk.downloader에서 발생하는 교차 패키지 리소스 및 모델 오염 취약점입니다. 다운로더가 패키지를 격리된 경로가 아닌 공유 네임스페이스에 압축 해제하고 무결성 검사를 사후에 수행하기 때문에, 한 패키지가 다른 패키지의 신뢰할 수 있는 리소스를 덮어쓸 수 있습니다. 이로 인해 머신러닝 파이프라인 및 재현성이 중요한 환경에서 악성 모델이 즉시 활성화될 수 있습니다.

💡 쉬운 설명

NLTK 라이브러리가 데이터를 저장할 때 서로 다른 데이터들을 구분하지 않고 같은 공간에 섞어서 저장하는 문제가 있습니다. 이 때문에 나쁜 데이터가 정상적인 데이터를 몰래 바꿔치기하여 인공지능 모델의 결과를 조작할 수 있습니다.

🇺🇸 원문 (English)

A vulnerability in `nltk.downloader` in nltk/nltk versions <= 3.9.4 allows for cross-package resource and model poisoning. The downloader extracts package archives into shared namespaces such as `corpora/` and `taggers/` instead of package-isolated roots, and validates package integrity only after the archive has been written and extracted. This design flaw enables one package to overwrite another package's trusted resources within the same namespace, making the changes immediately active through ordinary NLTK APIs. This issue persists across fresh interpreter restarts and can affect downstream workflows, including machine learning pipelines and reproducibility-sensitive environments.

📍 영향받는 시스템

nltk/nltk versions <= 3.9.4

⚔️ 공격 벡터

공유 네임스페이스를 이용한 신뢰할 수 있는 리소스 및 모델 파일 덮어쓰기

🛡️ 대응 방법

nltk 라이브러리를 3.9.4보다 높은 최신 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 3.9.4 이하이면 취약한 상태입니다.

Shell / Script
python3 -c 'import nltk; print(nltk.__version__)'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Azure Machine Learning