Backpropagate: backprop ui --auth and backprop ui --share do not enforce authentication
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-862.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| mcp-tool-shop-org | backpropagate | 1.1.0 to before 1.2.0 | 1.2.0 | Patch available | CNA |
| mcp-tool-shop-org | @mcptoolshop/backpropagate | 1.1.0 to before 1.2.0 | 1.2.0 | Patch available | CNA |
| — | backpropagate (PyPI) | 1.1.0 to before 1.2.0 | 1.2.0 | Patch available | GHSA-f65r-h4g3-3h9h |
| — | @mcptoolshop/backpropagate (npm) | 1.1.0 to before 1.2.0 | 1.2.0 | Patch available | GHSA-f65r-h4g3-3h9h |
- backpropagate Vendormcp-tool-shop-org Affected 1.1.0 to before 1.2.0 Fixed in 1.2.0 Patch available CNA
- @mcptoolshop/backpropagate Vendormcp-tool-shop-org Affected 1.1.0 to before 1.2.0 Fixed in 1.2.0 Patch available CNA
- backpropagate (PyPI) Vendor— Affected 1.1.0 to before 1.2.0 Fixed in 1.2.0 Patch available GHSA-f65r-h4g3-3h9h
- @mcptoolshop/backpropagate (npm) Vendor— Affected 1.1.0 to before 1.2.0 Fixed in 1.2.0 Patch available GHSA-f65r-h4g3-3h9h
Remediation
- Fix · CNA backpropagate (mcp-tool-shop-org) Fixed in 1.2.0
- Fix · CNA @mcptoolshop/backpropagate (mcp-tool-shop-org) Fixed in 1.2.0
- Fix · GHSA-f65r-h4g3-3h9h backpropagate (PyPI) Fixed in 1.2.0 Advisory →
- Fix · GHSA-f65r-h4g3-3h9h @mcptoolshop/backpropagate (npm) Fixed in 1.2.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-48797
- 2026-10-03 Alias added: GHSA-f65r-h4g3-3h9h
References
Other 5
- https://github.com/mcp-tool-shop-org/backpropagate/security/advisories/GHSA-f65r-h4g3-3h9h
- https://github.com/mcp-tool-shop-org/backpropagate/releases/tag/v1.2.0
- https://github.com/mcp-tool-shop-org/backpropagate
- https://github.com/pypa/advisory-database/tree/main/vulns/backpropagate/PYSEC-2026-291.yaml
- https://pypi.org/project/backpropagate
Sources
- CVE-2026-48797 · CVE Program
- CVE-2026-48797 · NVD
- FIRST EPSS
- GHSA-f65r-h4g3-3h9h · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences