GNU patch 2.8.1 released, fixing CVE-2026-115207
An oss-security note points to a GNU announcement, but the feed snippet gives no flaw details.
Arbitrary file creation in GNU patch reversal
GNU patch accepts absolute paths in patch headers during automatic reversal instead of rejecting them. A local attacker who persuades a user or automated workflow to apply a crafted patch can create files outside the working directory, with the permissions of the user running patch. Integrity is affected; confidentiality and availability are not.
What to do: Upgrade GNU patch to 2.8.1, which fixes CVE-2026-115207.
| Product | Affected | Fixed in |
|---|---|---|
| GNU patch | — | 2.8.1 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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.
An oss-security note points to a GNU announcement, but the feed snippet gives no flaw details.
Today 1.4K readers · 2.3K views · 1.8K reads · all time 160K views