🔍 CVE-2026-48797

0.0
CVSS Score
UNKNOWN
2026-06-17
2026-06-18 16:16
✅ 완료

🇰🇷 한글 설명

Backpropagate 라이브러리 1.1.0 및 1.1.1 버전에서 Reflex 웹 UI 사용 시 인증 메커니즘이 제대로 구현되지 않은 취약점이 발견되었습니다. 사용자가 --auth 플래그를 설정하더라도 실제 백엔드에서 이를 검증하지 않아, 공격자가 인증 없이 데이터셋 업로드, 모델 제어, HuggingFace Hub 푸시 등의 권한을 탈취할 수 있습니다.

💡 쉬운 설명

프로그램에 비밀번호를 설정했다고 생각했지만, 실제로는 문이 잠기지 않은 상태로 웹 화면이 공개된 것과 같습니다. 이를 통해 누구나 접속하여 학습 데이터를 훔치거나 모델 설정을 마음대로 바꿀 수 있습니다.

🇺🇸 원문 (English)

Backpropagate is a Python library for fine-tuning large language models on a single GPU. In versions 1.1.0 and 1.1.1, the optional Reflex web UI exposes a training control plane without authentication: dataset upload, model load, training start/stop, multi-run orchestration, GGUF export, and HuggingFace Hub push. The CLI accepts two operator-facing flags intended as security controls: --auth user:pass — documented as "require HTTP Basic authentication on every request to the UI." and--share — documented as "expose the UI on a public address; requires --auth." When --auth user:pass is passed, the CLI prints Auth: enabled (user: <username>) to confirm to the operator that authentication is active, then exports BACKPROPAGATE_UI_AUTH=user:pass to the subprocess that launches the Reflex backend. The Reflex backend (backpropagate/ui_app/**) never reads BACKPROPAGATE_UI_AUTH. No authentication middleware is registered. No request-level guard runs. No WebSocket upgrade guard runs. Any client that reaches the bound port — local or remote, depending on whether --share is used — has full UI access. An inline comment at backpropagate/cli.py:1217-1218 in the v1.1.0 source documents the gap: "For Phase 1 the variable is exported but Reflex doesn't read it yet." This comment was internal-facing; the user-facing documentation (README, CHANGELOG, SHIP_GATE) advertised the contract as enforced. An attacker who reaches the bound port can read uploaded datasets, trigger arbitrary training runs against any local base models as well as read their paths, trigger HuggingFace Hub pushes and cause disk-fill DoS. This issue has been fixed in version 1.2.0. If developers cannot immediately upgrade to 1.2.0 run backprop ui with no flags so it binds to localhost, use SSH port-forwarding (ssh -L 7860:localhost:7860 <training-host>) instead of --share for remote access, and audit any host previously launched with --share, re-issuing any HF tokens used during those sessions.

📍 영향받는 시스템

Backpropagate library versions 1.1.0 and 1.1.1

⚔️ 공격 벡터

인증 없이 노출된 웹 UI 포트에 접속하여 제어 명령 실행

🛡️ 대응 방법

Backpropagate를 1.2.0 버전 이상으로 업그레이드하거나, --share 옵션 대신 SSH 포트 포워딩을 사용하십시오.

🔧 검증 코드

출력된 버전이 1.1.0 또는 1.1.1인 경우 해당 취약점에 노출된 상태입니다.

Shell / Script
pip show backpropagate | grep -E 'Version'

💻 영향받는 소프트웨어

Python