Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. backpropagate
  4. ›
  5. CVE-2026-48797

CVE-2026-48797: Backpropagate: backprop ui --auth and backprop ui --share do not enforce authentication

June 26, 2026

In backpropagate >= 1.1.0, the optional Reflex web UI (pip install backpropagate[ui], launched via backprop ui) exposes a training control plane: 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.”
  • --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.

This advisory is filed primarily because the runtime contradicted an operator-facing security claim. Code-only bugs of comparable shape (auth check missing entirely from a path) would already warrant disclosure; the additional false-promise dimension raises the severity.

References

  • github.com/advisories/GHSA-f65r-h4g3-3h9h
  • github.com/mcp-tool-shop-org/backpropagate/releases/tag/v1.2.0
  • github.com/mcp-tool-shop-org/backpropagate/security/advisories/GHSA-f65r-h4g3-3h9h
  • nvd.nist.gov/vuln/detail/CVE-2026-48797

Code Behaviors & Features

Detect and mitigate CVE-2026-48797 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.1.0 before 1.2.0

Fixed versions

  • 1.2.0

Solution

Upgrade to version 1.2.0 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-1295: Debug Messages Revealing Unnecessary Information
  • CWE-358: Improperly Implemented Security Check for Standard
  • CWE-862: Missing Authorization

Source file

pypi/backpropagate/CVE-2026-48797.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 16 Jul 2026 00:20:57 +0000.