Path traversal in marcpope borgbackupserver restoreOrphan
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Borgbackupserver from marcpope up to and including 2.99.7 contains a path traversal flaw (CWE-22) in the restoreOrphan function of src/Controllers/RepositoryController.php. Manipulating the repo_name argument lets a remote attacker escape the intended directory. The exploit has been publicly disclosed and may be used.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
A vulnerability has been found in marcpope borgbackupserver up to 2.99.7. This impacts the function restoreOrphan of the file src/Controllers/RepositoryController.php. Such manipulation of the argument repo_name leads to path traversal. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 2.100.0 will fix this issue. The name of the patch is cd0c64b5e80ca6dc7327f6a5a68434d3d20c8df6. You should upgrade the affected component.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| marcpope | borgbackupserver | 2.99.0; 2.99.1; 2.99.2; 2.99.3; 2.99.4; 2.99.5; 2.99.6; 2.99.7 | 2.100.0 | Patch available | CNA |
- borgbackupserver Vendormarcpope Affected 2.99.0; 2.99.1; 2.99.2; 2.99.3; 2.99.4; 2.99.5; 2.99.6; 2.99.7 Fixed in 2.100.0 Patch available CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:marcpope:borgbackupserver:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:marcpope:borgbackupserver:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
Upgrade marcpope borgbackupserver to version 2.100.0, which fixes the issue with patch cd0c64b.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA borgbackupserver (marcpope) Fixed in 2.100.0
Timeline
- 2026-12-01 Threatist record created from CVE-2026-140131
- 2026-12-01 Alias added: GHSA-rvq5-qmqh-7xgp
References
Patch 2
Sources
- CVE-2026-140131 · CVE Program
- CVE-2026-140131 · NVD
- GHSA-rvq5-qmqh-7xgp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences