Patch: filename validation bypass in reversal fallback allows file creation outside the working directory
Exact source revision recorded 28 Oct 2026 03:51:21 UTC. It does not establish the source's current position. Latest evidence.
cve-program · CVE-2026-115207
PublishedA 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.
- Source published
- 22 Oct 2026 10:16:12 UTC
- Source modified
- 28 Oct 2026 02:19:22 UTC
- Observed here
- 28 Oct 2026 03:51:21 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: cve-program · CVE Program Terms of Use. Source text is retained; field grouping and change labels are provided by ChangeIntel.
CVSS 3.1 · 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N