Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 75%

CVE-2026-48797: CWE-358: Improperly Implemented Security Check for Standard in mcp-tool-shop-org backpropagate

0
Critical
VulnerabilityCVE-2026-48797cvecve-2026-48797cwe-358cwe-862cwe-1295
Published: 06/16/2026 (06/16/2026, 23:35:22 UTC)
Source: CVE Database V5
Vendor/Project: mcp-tool-shop-org
Product: backpropagate

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.

CVSS v4.0

Score 9.3critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

backpropagate
pkg:pypi/backpropagate
Affected versions
<1.2.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/24/2026, 15:49:25 UTC

Technical Analysis

The Python library backpropagate (versions <1.2.0) includes an optional Reflex web UI intended to be protected by HTTP Basic authentication via CLI flags. However, the backend does not implement or enforce this authentication, as the environment variable carrying credentials is never read and no middleware or request guards are registered. Consequently, any client able to connect to the UI port can perform sensitive actions such as dataset upload, model loading, training control, multi-run orchestration, GGUF export, and pushing models to HuggingFace Hub. This represents an improperly implemented security check (CWE-358) and results in unauthorized access to critical training controls and data. The vulnerability is fixed in version 1.2.0. The vendor recommends running the UI bound to localhost and using SSH port forwarding instead of the --share flag until upgrading.

Potential Impact

An attacker with network access to the exposed UI port can bypass authentication entirely, gaining full control over the training interface. This includes reading uploaded datasets, triggering arbitrary training runs on local models, reading model paths, pushing models to HuggingFace Hub, and causing disk-fill denial-of-service conditions. The lack of authentication exposes sensitive data and operational controls, potentially leading to data leakage, unauthorized model manipulation, and resource exhaustion.

Mitigation Recommendations

A fix is available in backpropagate version 1.2.0 that properly enforces authentication on the Reflex web UI. Users should upgrade to version 1.2.0 or later. Until upgrading, do not use the --share flag to expose the UI publicly. Instead, run the UI without authentication flags so it binds to localhost and use SSH port forwarding (e.g., ssh -L 7860:localhost:7860 <training-host>) for remote access. Additionally, audit any hosts previously exposed with --share and re-issue any HuggingFace tokens used during those sessions to prevent unauthorized access.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-22T20:18:20.366Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a31e0310b89be68884d66e6

Added to database: 06/16/2026, 23:45:53 UTC

Last enriched: 06/24/2026, 15:49:25 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 119

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses