CVE-2026-140131: marcpope borgbackupserver Path Traversal
CVE-2026-140131 is a medium-severity (CVSS 5.4) path traversal in marcpope borgbackupserver.
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.
Severity
MEDIUM
CVSS v3
5.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L · source cna
CVSS v4
2.1
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 · source cna
Exploit chance (EPSS)
Not scored
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
Timeline
- 2026-12-01Published by the CNA07:00 UTC
- 2026-12-01Published in NVD07:17 UTC · 16 minutes after the CNA
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in | Source |
|---|---|---|---|
| marcpope borgbackupserver | 2.99.0no fix listedsource cna2.99.1no fix listedsource cna2.99.2no fix listedsource cna2.99.3no fix listedsource cna2.99.4no fix listedsource cna(+3 more) | not listednot listednot listednot listednot listed | cnacnacnacnacna |
References
- https://github.com/marcpope/borgbackupserver/commit/cd0c64b5e80ca6dc7327f6a5a68434d3d20c8df6
- https://github.com/marcpope/borgbackupserver/releases/tag/v2.100.0
- https://github.com/marcpope/borgbackupserver/security/advisories/GHSA-wq74-jrrv-f584
- https://github.com/marcpope/borgbackupserver/
- https://vuldb.com/cve/CVE-2026-140131
- https://vuldb.com/submit/1084393
- https://vuldb.com/vuln/446841
- https://vuldb.com/vuln/446841/cti
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-140131'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-140131'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-140131'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-140131'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).