Vulnerability · Published Oct 22, 2026 · Assigned by redhat
CVE-2026-115207Patch: filename validation bypass in reversal fallback allows file creation outside the working directory
Medium 5.5
In plain English
A medium-severity path traversal in Red Hat Enterprise Linux 10 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | patch | no fix listed | DEBIAN-CVE-2026-115207 |
| Debian:13 | patch | no fix listed | DEBIAN-CVE-2026-115207 |
| Debian:14 | patch | 2.8.1-1 | DEBIAN-CVE-2026-115207 |
| Ubuntu:22.04:LTS | patch | no fix listed | UBUNTU-CVE-2026-115207 |
| Ubuntu:24.04:LTS | patch | no fix listed | UBUNTU-CVE-2026-115207 |
| Ubuntu:26.04:LTS | patch | no fix listed | UBUNTU-CVE-2026-115207 |
| Ubuntu:26.10 | patch | no fix listed | UBUNTU-CVE-2026-115207 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Hardened Images | see references |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
References
- https://access.redhat.com/security/cve/CVE-2026-115207 vdb-entry, x_refsource_REDHAT
- RHBZ#2558775 issue-tracking, x_refsource_REDHAT
- http://www.openwall.com/lists/oss-security/2026/10/26/14