Patch: filename validation bypass in reversal fallback allows file creation outside the working directory
CVE-2026-115207 is fixed in patch on 1 platform by DEBIAN-CVE-2026-115207 (version 2.8.1-1), released October 27, 2026. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| patch · Debian 14 | 2.8.1-1 | DEBIAN-CVE-2026-115207 | Oct 27, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.