CVE-2026-48797
Backpropagate: backprop ui --auth and backprop ui --share do not enforce authentication
Also known as GHSA-f65r-h4g3-3h9h, PYSEC-2026-291
Mitigation
- Upgrade backpropagate to 1.2.0 or later.
- Upgrade @mcptoolshop/backpropagate to 1.2.0 or later.
Who should check
- Projects that depend on PyPI package backpropagate (>= 1.1.0, < 1.2.0)
- Projects that depend on npm package @mcptoolshop/backpropagate (>= 1.1.0, < 1.2.0)
- Anyone running mcp-tool-shop-org backpropagate >= 1.1.0, < 1.2.0
- Anyone running mcp-tool-shop-org @mcptoolshop/backpropagate >= 1.1.0, < 1.2.0
Vulnerability facts
- Affected
- backpropagate >= 1.1.0, < 1.2.0; @mcptoolshop/backpropagate >= 1.1.0, < 1.2.0
- Fixed in
- 1.2.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.57% chance of exploitation in 30 days (percentile 41, 2026-11-26)
- CWE
- CWE-358, CWE-862, CWE-1295
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI backpropagate | >= 1.1.0, < 1.2.0 | 1.2.0 | osv |
| npm @mcptoolshop/backpropagate | >= 1.1.0, < 1.2.0 | 1.2.0 | osv |
| mcp-tool-shop-org backpropagate | >= 1.1.0, < 1.2.0 | — | cvelist |
| mcp-tool-shop-org @mcptoolshop/backpropagate | >= 1.1.0, < 1.2.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-48797. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-48797.md Affected: backpropagate >= 1.1.0, < 1.2.0; @mcptoolshop/backpropagate >= 1.1.0, < 1.2.0 Fixed in: 1.2.0 Steps: 1. Search this machine and project for backpropagate (PyPI), @mcptoolshop/backpropagate (npm), mcp-tool-shop-org backpropagate, mcp-tool-shop-org @mcptoolshop/backpropagate: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-48797 being exploited?
There is no confirmed exploitation: CVE-2026-48797 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.57% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-48797?
Critical: CVSS 9.3 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-48797?
backpropagate >= 1.1.0, < 1.2.0; @mcptoolshop/backpropagate >= 1.1.0, < 1.2.0.
Is there a fix for CVE-2026-48797?
Yes. Fixed in 1.2.0. Upgrade backpropagate to 1.2.0 or later. Upgrade @mcptoolshop/backpropagate to 1.2.0 or later.
How do I check if I'm affected by CVE-2026-48797?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.