# CVE-2026-140131: marcpope borgbackupserver RepositoryController.php restoreOrphan path traversal

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-12-01T07:00:25.613Z
- Modified: 2026-12-01T07:17:18.147Z
- Weaknesses: CWE-22
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- 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 (not affected: 2.100.0)

## Every score

- VulDB: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:3.0 5.4 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 5.5 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:P/E:POC/RL:OF/RC:C`

## References

- <https://github.com/marcpope/borgbackupserver/security/advisories/GHSA-wq74-jrrv-f584> (exploit)
- <https://vuldb.com/vuln/446841> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/446841/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-140131> (third-party-advisory)
- <https://vuldb.com/submit/1084393> (third-party-advisory)
- <https://github.com/marcpope/borgbackupserver/commit/cd0c64b5e80ca6dc7327f6a5a68434d3d20c8df6> (patch)
- <https://github.com/marcpope/borgbackupserver/releases/tag/v2.100.0> (patch)
- <https://github.com/marcpope/borgbackupserver/> (product)

## Sources

- CVE List: [CVE-2026-140131](https://www.cve.org/CVERecord?id=CVE-2026-140131), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-140131](https://nvd.nist.gov/vuln/detail/CVE-2026-140131), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-140131 · Whole record: https://cve.day/CVE-2026-140131.json · Rebuilt by cve.day 2026-12-01T07:32:36.035Z
