CVE-2026-115207
CVE-2026-115207 · Patch: filename validation bypass in reversal fallback allows file creation outside the working directory
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 5.5 · Medium · EPSS 0.1%
- Published
- Updated
Stack: system
Affected products and versions
red hat enterprise linux 10
No fix published
red hat enterprise linux 6
No fix published
red hat enterprise linux 7
No fix published
red hat enterprise linux 8
No fix published
red hat enterprise linux 9
No fix published
red hat hardened images
No fix published
patch Debian:12
- Versions
- 2.7.6-7
- 2.8-1
- 2.8-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
patch Debian:13
- Versions
- 2.8-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
patch Debian:14
- Versions
- 2.8-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published