What’s Vulnerable › Vulnerabilities
CVE-2026-115207: Patch: filename validation bypass in reversal fallback allows file creation outside the working directory
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-22 · updated 2026-10-28
- Weakness: CWE-22
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 products
- Red Hat Enterprise Linux 10: all versions
- Red Hat Enterprise Linux 7: all versions
- Red Hat Enterprise Linux 8: all versions
- Red Hat Enterprise Linux 9: all versions
- Red Hat Hardened Images: all versions
References
- https://access.redhat.com/security/cve/CVE-2026-115207
- https://bugzilla.redhat.com/show_bug.cgi?id=2558775
- http://www.openwall.com/lists/oss-security/2026/10/26/14
Get alerted when CVE-2026-115207 or the next vulnerability affects your stack