borg-ui before 2.4.1 Privilege Escalation via Backup Plan Path Traversal
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 24, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 24, 2026
Description
borg-ui before 2.4.1 contains a privilege escalation vulnerability that allows a repository-scoped operator to escalate to full administrator by exploiting an unrestricted source_directories field in the backup-plan API that lacks path allow-listing. Attackers can configure a backup plan to archive the application's data directory, download the resulting archive to extract the static HS256 .secret_key, and use it to forge a JWT with sub":"admin" to access admin-only endpoints like GET /api/auth/users, achieving full application takeover without admin credentials, XSS, or CSRF.
| Product | Versions |
|---|---|
| borg-ui karanhudia | before 2.4.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 8.8 High | VulnCheck |
Weaknesses
- CWE-73 External Control of File Name or Path
References
- Vendor PatchPatchRelease Notes
- https://github.com/karanhudia/borg-ui/commit/b9cca22da2e9bb9d07c3fb7b2dd4c95f02964cc8Issue Tracker
- VulnCheck Advisory: borg-ui before 2.4.1 Privilege Escalation via Backup Plan Path TraversalThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.