CVE-2026-136455
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.
Exploitability / impact
CVSS metric breakdown
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NCVSS communicates standardized severity and impact characteristics. It does not establish whether a system is exploitable in your specific environment.
Record context
Credits
- Lazizbek Djurayev (Haad TC)