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.
References
Configurations
No configuration.
History
26 Oct 2026, 18:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
22 Oct 2026, 11:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-22 11:17
Updated : 2026-10-28 03:17
NVD link : CVE-2026-115207
Mitre link : CVE-2026-115207
CVE.ORG link : CVE-2026-115207
JSON object : View
Products Affected
No product.
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
