CVE-2026-115207
published medium CVSS 3.1 · 5.5Patch: filename validation bypass in reversal fallback allows file creation outside the working directory
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 10 | patch0:2.7.6-26.el10_3.1 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | patchRed Hat Enterprise Linux 10.2 Extended Update Support · 0:2.7.6-26.el10_2.1 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 8 | patch0:2.7.6-12.el8_10 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | patchRed Hat Enterprise Linux 9.8 Extended Update Support · 0:2.7.6-16.el9_8.1 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | patch | Advisory build | 2.7.6-26.el10_3.1 | ALSA-2026:102274 |
| Debian | bookworm | patch | Advisory build | 2.7.6-7+deb12u1 | DLA-4945-1 |
Show 84 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 6 | patch | Unknown | Not stated | redhat |
| Red Hat Enterprise Linux | 7, 9 | patch | Affected | Not stated | redhat |
| Red Hat | — | patchRed Hat Hardened Images | Affected | Not stated | redhat |
| Oracle Linux | 10 | patchaarch64 | Advisory build | 0:2.7.6-26.el10_3.1 | ELSA-2026-102274 |
| Red Hat Enterprise Linux | RHEL-10 | patchaarch64 | Advisory build | 2.7.6-26.el10_2.1 | RHSA-2026:102252 |
| SUSE / openSUSE | openSUSE-Tumbleweed | patchaarch64 | Advisory build | 2.8.1-1.1 | OPENSUSE-SU-2026:12302-1 |
| Rocky Linux | 10 | patchaarch64 | Listed in advisory | Not stated | RLSA-2026:102274 |
| AlmaLinux | 8 | patch | Advisory build | 2.7.6-12.el8_10 | ALSA-2026:96215 |
| Oracle Linux | 10 | patchx86_64 | Advisory build | 0:2.7.6-26.el10_3.1 | ELSA-2026-102274 |
| Oracle Linux | 8 | patchaarch64 | Advisory build | 0:2.7.6-12.el8_10 | ELSA-2026-96215 |
| Oracle Linux | 8 | patchx86_64 | Advisory build | 0:2.7.6-12.el8_10 | ELSA-2026-96215 |
| Red Hat Enterprise Linux | RHEL-10 | patchaarch64 | Advisory build | 2.7.6-26.el10_3.1 | RHSA-2026:102274 |
| Red Hat Enterprise Linux | RHEL-10 | patchppc64le | Advisory build | 2.7.6-26.el10_2.1 | RHSA-2026:102252 |
| Red Hat Enterprise Linux | RHEL-10 | patchppc64le | Advisory build | 2.7.6-26.el10_3.1 | RHSA-2026:102274 |
| Red Hat Enterprise Linux | RHEL-10 | patchs390x | Advisory build | 2.7.6-26.el10_2.1 | RHSA-2026:102252 |
| Red Hat Enterprise Linux | RHEL-10 | patchs390x | Advisory build | 2.7.6-26.el10_3.1 | RHSA-2026:102274 |
| Red Hat Enterprise Linux | RHEL-10 | patchsrc | Advisory build | 2.7.6-26.el10_2.1 | RHSA-2026:102252 |
| Red Hat Enterprise Linux | RHEL-10 | patchsrc | Advisory build | 2.7.6-26.el10_3.1 | RHSA-2026:102274 |
| Red Hat Enterprise Linux | RHEL-10 | patchx86_64 | Advisory build | 2.7.6-26.el10_2.1 | RHSA-2026:102252 |
| Red Hat Enterprise Linux | RHEL-10 | patchx86_64 | Advisory build | 2.7.6-26.el10_3.1 | RHSA-2026:102274 |
| Red Hat Enterprise Linux | RHEL-8 | patchaarch64 | Advisory build | 2.7.6-12.el8_10 | RHSA-2026:96215 |
| Red Hat Enterprise Linux | RHEL-8 | patchppc64le | Advisory build | 2.7.6-12.el8_10 | RHSA-2026:96215 |
| Red Hat Enterprise Linux | RHEL-8 | patchs390x | Advisory build | 2.7.6-12.el8_10 | RHSA-2026:96215 |
| Red Hat Enterprise Linux | RHEL-8 | patchsrc | Advisory build | 2.7.6-12.el8_10 | RHSA-2026:96215 |
| Red Hat Enterprise Linux | RHEL-8 | patchx86_64 | Advisory build | 2.7.6-12.el8_10 | RHSA-2026:96215 |
| Red Hat Enterprise Linux | RHEL-9 | patchaarch64 | Advisory build | 2.7.6-16.el9_8.1 | RHSA-2026:99161 |
| Red Hat Enterprise Linux | RHEL-9 | patchppc64le | Advisory build | 2.7.6-16.el9_8.1 | RHSA-2026:99161 |
| Red Hat Enterprise Linux | RHEL-9 | patchs390x | Advisory build | 2.7.6-16.el9_8.1 | RHSA-2026:99161 |
| Red Hat Enterprise Linux | RHEL-9 | patchsrc | Advisory build | 2.7.6-16.el9_8.1 | RHSA-2026:99161 |
| Red Hat Enterprise Linux | RHEL-9 | patchx86_64 | Advisory build | 2.7.6-16.el9_8.1 | RHSA-2026:99161 |
| SUSE / openSUSE | openSUSE-Tumbleweed | patchppc64le | Advisory build | 2.8.1-1.1 | OPENSUSE-SU-2026:12302-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | patchs390x | Advisory build | 2.8.1-1.1 | OPENSUSE-SU-2026:12302-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | patchx86_64 | Advisory build | 2.8.1-1.1 | OPENSUSE-SU-2026:12302-1 |
| Red Hat Enterprise Linux | RHEL-10 | patch-debuginfoaarch64 | Advisory build | 2.7.6-26.el10_2.1 | RHSA-2026:102252 |
| Red Hat Enterprise Linux | RHEL-10 | patch-debuginfoaarch64 | Advisory build | 2.7.6-26.el10_3.1 | RHSA-2026:102274 |
| Red Hat Enterprise Linux | RHEL-10 | patch-debuginfoppc64le | Advisory build | 2.7.6-26.el10_2.1 | RHSA-2026:102252 |
| Red Hat Enterprise Linux | RHEL-10 | patch-debuginfoppc64le | Advisory build | 2.7.6-26.el10_3.1 | RHSA-2026:102274 |
| Red Hat Enterprise Linux | RHEL-10 | patch-debuginfos390x | Advisory build | 2.7.6-26.el10_2.1 | RHSA-2026:102252 |
| Red Hat Enterprise Linux | RHEL-10 | patch-debuginfos390x | Advisory build | 2.7.6-26.el10_3.1 | RHSA-2026:102274 |
| Red Hat Enterprise Linux | RHEL-10 | patch-debuginfox86_64 | Advisory build | 2.7.6-26.el10_2.1 | RHSA-2026:102252 |
| Red Hat Enterprise Linux | RHEL-10 | patch-debuginfox86_64 | Advisory build | 2.7.6-26.el10_3.1 | RHSA-2026:102274 |
| Red Hat Enterprise Linux | RHEL-10 | patch-debugsourceaarch64 | Advisory build | 2.7.6-26.el10_2.1 | RHSA-2026:102252 |
| Red Hat Enterprise Linux | RHEL-10 | patch-debugsourceaarch64 | Advisory build | 2.7.6-26.el10_3.1 | RHSA-2026:102274 |
| Red Hat Enterprise Linux | RHEL-10 | patch-debugsourceppc64le | Advisory build | 2.7.6-26.el10_2.1 | RHSA-2026:102252 |
| Red Hat Enterprise Linux | RHEL-10 | patch-debugsourceppc64le | Advisory build | 2.7.6-26.el10_3.1 | RHSA-2026:102274 |
| Red Hat Enterprise Linux | RHEL-10 | patch-debugsources390x | Advisory build | 2.7.6-26.el10_2.1 | RHSA-2026:102252 |
| Red Hat Enterprise Linux | RHEL-10 | patch-debugsources390x | Advisory build | 2.7.6-26.el10_3.1 | RHSA-2026:102274 |
| Red Hat Enterprise Linux | RHEL-10 | patch-debugsourcex86_64 | Advisory build | 2.7.6-26.el10_2.1 | RHSA-2026:102252 |
| Red Hat Enterprise Linux | RHEL-10 | patch-debugsourcex86_64 | Advisory build | 2.7.6-26.el10_3.1 | RHSA-2026:102274 |
| Red Hat Enterprise Linux | RHEL-8 | patch-debuginfoaarch64 | Advisory build | 2.7.6-12.el8_10 | RHSA-2026:96215 |
| Red Hat Enterprise Linux | RHEL-8 | patch-debuginfoppc64le | Advisory build | 2.7.6-12.el8_10 | RHSA-2026:96215 |
| Red Hat Enterprise Linux | RHEL-8 | patch-debuginfos390x | Advisory build | 2.7.6-12.el8_10 | RHSA-2026:96215 |
| Red Hat Enterprise Linux | RHEL-8 | patch-debuginfox86_64 | Advisory build | 2.7.6-12.el8_10 | RHSA-2026:96215 |
| Red Hat Enterprise Linux | RHEL-8 | patch-debugsourceaarch64 | Advisory build | 2.7.6-12.el8_10 | RHSA-2026:96215 |
| Red Hat Enterprise Linux | RHEL-8 | patch-debugsourceppc64le | Advisory build | 2.7.6-12.el8_10 | RHSA-2026:96215 |
| Red Hat Enterprise Linux | RHEL-8 | patch-debugsources390x | Advisory build | 2.7.6-12.el8_10 | RHSA-2026:96215 |
| Red Hat Enterprise Linux | RHEL-8 | patch-debugsourcex86_64 | Advisory build | 2.7.6-12.el8_10 | RHSA-2026:96215 |
| Red Hat Enterprise Linux | RHEL-9 | patch-debuginfoaarch64 | Advisory build | 2.7.6-16.el9_8.1 | RHSA-2026:99161 |
| Red Hat Enterprise Linux | RHEL-9 | patch-debuginfoppc64le | Advisory build | 2.7.6-16.el9_8.1 | RHSA-2026:99161 |
| Red Hat Enterprise Linux | RHEL-9 | patch-debuginfos390x | Advisory build | 2.7.6-16.el9_8.1 | RHSA-2026:99161 |
| Red Hat Enterprise Linux | RHEL-9 | patch-debuginfox86_64 | Advisory build | 2.7.6-16.el9_8.1 | RHSA-2026:99161 |
| Red Hat Enterprise Linux | RHEL-9 | patch-debugsourceaarch64 | Advisory build | 2.7.6-16.el9_8.1 | RHSA-2026:99161 |
| Red Hat Enterprise Linux | RHEL-9 | patch-debugsourceppc64le | Advisory build | 2.7.6-16.el9_8.1 | RHSA-2026:99161 |
| Red Hat Enterprise Linux | RHEL-9 | patch-debugsources390x | Advisory build | 2.7.6-16.el9_8.1 | RHSA-2026:99161 |
| Red Hat Enterprise Linux | RHEL-9 | patch-debugsourcex86_64 | Advisory build | 2.7.6-16.el9_8.1 | RHSA-2026:99161 |
| Rocky Linux | 10 | patchppc64le | Listed in advisory | Not stated | RLSA-2026:102274 |
| Rocky Linux | 10 | patchs390x | Listed in advisory | Not stated | RLSA-2026:102274 |
| Rocky Linux | 10 | patchsrc | Listed in advisory | Not stated | RLSA-2026:102274 |
| Rocky Linux | 10 | patchx86_64 | Listed in advisory | Not stated | RLSA-2026:102274 |
| Rocky Linux | 8 | patchaarch64 | Listed in advisory | Not stated | RLSA-2026:96215 |
| Rocky Linux | 8 | patchsrc | Listed in advisory | Not stated | RLSA-2026:96215 |
| Rocky Linux | 8 | patchx86_64 | Listed in advisory | Not stated | RLSA-2026:96215 |
| Rocky Linux | 10 | patch-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2026:102274 |
| Rocky Linux | 10 | patch-debuginfoppc64le | Listed in advisory | Not stated | RLSA-2026:102274 |
| Rocky Linux | 10 | patch-debuginfos390x | Listed in advisory | Not stated | RLSA-2026:102274 |
| Rocky Linux | 10 | patch-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2026:102274 |
| Rocky Linux | 10 | patch-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2026:102274 |
| Rocky Linux | 10 | patch-debugsourceppc64le | Listed in advisory | Not stated | RLSA-2026:102274 |
| Rocky Linux | 10 | patch-debugsources390x | Listed in advisory | Not stated | RLSA-2026:102274 |
| Rocky Linux | 10 | patch-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2026:102274 |
| Rocky Linux | 8 | patch-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2026:96215 |
| Rocky Linux | 8 | patch-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2026:96215 |
| Rocky Linux | 8 | patch-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2026:96215 |
| Rocky Linux | 8 | patch-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2026:96215 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | 0:2.7.6-26.el10_3.1 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 10.2 Extended Update Support | 0:2.7.6-26.el10_2.1 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | 0:2.7.6-12.el8_10 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.8 Extended Update Support | 0:2.7.6-16.el9_8.1 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: affected | redhat · cna |
| Red Hat | Red Hat Hardened Images | Default: affected | redhat · cna |
Weaknesses
1- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
8- http://www.openwall.com/lists/oss-security/2026/10/26/14
- RHSA-2026:102252 https://access.redhat.com/errata/RHSA-2026:102252
- RHSA-2026:102274 https://access.redhat.com/errata/RHSA-2026:102274
- RHSA-2026:96215 https://access.redhat.com/errata/RHSA-2026:96215
- RHSA-2026:99161 https://access.redhat.com/errata/RHSA-2026:99161
- https://access.redhat.com/security/cve/CVE-2026-115207
- RHBZ#2558775 https://bugzilla.redhat.com/show_bug.cgi?id=2558775
- https://lists.debian.org/debian-lts-announce/2026/11/msg00072.html
Provider assertions
3redhat · cna
Patch: filename validation bypass in reversal fallback allows file creation outside the working directory
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 41f758ad03891352d7b431e7aea55615de2b9254b69bd4825a2c5debcffc5029
- Ingested
- 28 Nov 2026, 00:32:44 UTC
- Source record
- Official CVE record