Technical impact
A malicious Borg archive can cause files outside the intended extraction directory to be deleted, overwritten, or have their contents disclosed. The archive may exploit symbolic links that point to parents, use dot‑dot components to traverse upward, or include a crafted slave hardlink that points to a file outside the extraction tree and is then linked into the restored structure. This results in loss or compromise of arbitrary files on the local system.
Affected Systems
The vulnerability affects BorgBackup (borg) versions prior to 1.4.5 and 2.0.0b22. The issue was fixed in those releases, so systems running the affected versions are at risk.
Risk and Exploitability
The CVSS score of 5.3 indicates moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting limited evidence of active exploitation. An attacker needs write access to create a malicious archive in the repository and must trigger extraction in order to exploit the flaw. Once extraction occurs, any file the victim owns can be altered or revealed, depending on the victim’s permissions.
Github GHSA