CVE-2026-115207 Patch: filename validation bypass in reversal fallback allows file creation outside the working directory
MediumCVSS 5.5
EPSS 0.19%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
A flaw was found in GNU patch. An attacker can achieve arbitrary file creation outside the intended working directory by enticing a user or automated workflow to apply a specially crafted patch file. Due to missing validation during automatic patch reversal, absolute file paths in patch headers are accepted rather than rejected. Consequently, the utility can create files in arbitrary locations with the permissions of the executing user.
Upgrade path
19 packages: 6 fixed, 1 partially fixed, 12 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux patch(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| debian/patch(Debian 12) | = 2.7.6-7; = 2.8-1; = 2.8-2; = 2.8.1-1 +1 more | No fix listed | No fix yet |
| redhat hummingbird | All versions | No fix listed | No fix yet |
| redhat rhel els | = 6; All versions | No fix listed | No fix yet |
| redhat/patch(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/patch(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/patch(Red Hat hummingbird 1) | All versions | No fix listed | No fix yet |
| redhat/patch(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| ubuntu/patch(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/patch(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/patch(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/patch(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| redhat enterprise linux | < 0:2.7.6-12.el8_10; All versions | 0:2.7.6-12.el8_10 | Partially fixed |
| azure linux patch(Azure Linux 4.0) | < 0:2.8.1-6.azl4 | 0:2.8.1-6.azl4 | Fixed |
| debian/patch(Debian 13) | < 2.8-2+deb13u1; = 2.8-2 | 2.8-2+deb13u1 | Fixed |
| debian/patch(Debian 14) | < 2.8.1-1; = 2.8-2 | 2.8.1-1 | Fixed |
| redhat rhel eus | < 0:2.7.6-16.el9_8.1 | 0:2.7.6-16.el9_8.1 | Fixed |
| redhat/patch(Red Hat enterprise_linux 8) | < 2.7.6-12.el8_10 | 2.7.6-12.el8_10 | Fixed |
| redhat/patch(Red Hat rhel_eus 9.8) | < 2.7.6-16.el9_8.1 | 2.7.6-16.el9_8.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/patch(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/patch(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/patch(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/patch(Ubuntu:26.10) | All versions | No fix listed |
| redhat enterprise linux | < 0:2.7.6-12.el8_10 | 0:2.7.6-12.el8_10 |
| redhat rhel eus | < 0:2.7.6-16.el9_8.1 | 0:2.7.6-16.el9_8.1 |
| redhat enterprise linux | All versions | No fix listed |
| redhat rhel els | = 6 | No fix listed |
| redhat rhel els | All versions | No fix listed |
| redhat hummingbird | All versions | No fix listed |
| redhat/patch(Red Hat:enterprise_linux:8) | < 2.7.6-12.el8_10 | 2.7.6-12.el8_10 |
| redhat/patch(Red Hat:rhel_eus:9.8) | < 2.7.6-16.el9_8.1 | 2.7.6-16.el9_8.1 |
| redhat/patch(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/patch(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/patch(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/patch(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/patch(Red Hat:hummingbird:1) | All versions | No fix listed |
| debian/patch(Debian:12) | All versions | No fix listed |
| debian/patch(Debian:12) | = 2.7.6-7 | No fix listed |
| debian/patch(Debian:12) | = 2.8-1 | No fix listed |
| debian/patch(Debian:12) | = 2.8-2 | No fix listed |
| debian/patch(Debian:12) | = 2.8.1-1 | No fix listed |
| debian/patch(Debian:13) | < 2.8-2+deb13u1 | 2.8-2+deb13u1 |
| debian/patch(Debian:13) | = 2.8-2 | No fix listed |
| debian/patch(Debian:14) | < 2.8.1-1 | 2.8.1-1 |
Show 3 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/patch(Debian:14) | = 2.8-2 | No fix listed |
| azure linux patch(Azure Linux:4.0) | < 0:2.8.1-6.azl4 | 0:2.8.1-6.azl4 |
| azure linux patch(Azure Linux:3.0) | All versions | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHSA-2026:96215 patch vendor-advisory
- Red Hat Bugzilla 2558775 issue-tracking
- www.cve.org
- nvd.nist.gov
- www.openwall.com
- Debian Security Tracker CVE-2026-115207 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- RHSA-2026:99161 patch vendor-advisory
- ENISA EUVD EUVD-2026-108112 third-party-advisory