CVE-2026-115207
Fixed in a distro release EPSS <1%CVSS 5.5
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.
Products: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat Hardened Images
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | patch | no fix |
| Debian 13 | patch | no fix |
| Debian 14 | patch | 2.8.1-1 |