CVE-2026-115207
MEDIUM 5.5CVSS 3.1Patch: filename validation bypass in reversal fallback allows file creation outside the working directory
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.
- Published
- 22 Oct 2026
- Last modified
- 28 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-22
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| CVE List | redhat | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | patchcpe:/o:redhat:enterprise_linux:10.3 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | patchcpe:/o:redhat:enterprise_linux_eus:10.2 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | patchcpe:/o:redhat:enterprise_linux:8::baseos |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | patchcpe:/a:redhat:rhel_eus:9.8::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | patchcpe:/o:redhat:rhel_els:6 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | patchcpe:/o:redhat:rhel_els:7 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | patchcpe:/o:redhat:enterprise_linux:9 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | patchcpe:/a:redhat:hummingbird:1 |
all versions |
References
- https://access.redhat.com/errata/RHSA-2026:102252 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:102274 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:96215 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:99161 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-115207 · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2558775 · issue-tracking, x_refsource_REDHAT
- http://www.openwall.com/lists/oss-security/2026/10/26/14
- https://lists.debian.org/debian-lts-announce/2026/11/msg00072.html
History
- 28 Nov 2026 03:10 UTC · NVD: 1 reference added
- 28 Nov 2026 01:10 UTC · CVE List: 1 reference added
- 25 Nov 2026 20:36 UTC · CVE List: first stored (published 22 Oct 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 22 Oct 2026)