CVE-2026-115207Patch: filename validation bypass in reversal fallback allows file creation outside the…
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.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | patch | Fix pending | UBUNTU-CVE-2026-115207 | |
| Ubuntu 26.04 | patch | Under investigation | UBUNTU-CVE-2026-115207 | |
| Ubuntu 24.04 | patch | Under investigation | UBUNTU-CVE-2026-115207 | |
| Ubuntu 22.04 | patch | Under investigation | UBUNTU-CVE-2026-115207 | |
| Ubuntu 20.04 | patch | Fix pending | UBUNTU-CVE-2026-115207 | |
| Ubuntu 18.04 | patch | Fix pending | UBUNTU-CVE-2026-115207 | |
| Ubuntu 16.04 | patch | Fix pending | UBUNTU-CVE-2026-115207 | |
| Ubuntu 14.04 | patch | Fix pending | UBUNTU-CVE-2026-115207 | |
| Debian 14 | patch | Fixed | 2.8.1-1 | DEBIAN-CVE-2026-115207 |
| Debian 13 | patch | Fixed | 2.8-2+deb13u1 | DEBIAN-CVE-2026-115207 |
| Debian 12 | patch | Fix pending | DEBIAN-CVE-2026-115207 | |
| Red Hat Enterprise Linux 10 | patch | Fixed | 0:2.7.6-26.el10_3.1 | RHSA-2026:102274 |
| Red Hat Enterprise Linux 9 | patch | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | patch | Fixed | 0:2.7.6-12.el8_10 | RHSA-2026:96215 |
| Red Hat Enterprise Linux 7 | patch | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | patch | Will not fix Out of support scope | ||
| AlmaLinux 10 | patch | Fixed | 2.7.6-26.el10_3.1 | ALSA-2026:102274 |
| AlmaLinux 8 | patch | Fixed | 2.7.6-12.el8_10 | ALSA-2026:96215 |
| Rocky Linux 10 | patch | Fixed | 0:2.7.6-26.el10_3.1 | RLSA-2026:102274 |
| Rocky Linux 8 | patch | Fixed | 0:2.7.6-12.el8_10 | RLSA-2026:96215 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 10.2 Extended Update Support
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9.8 Extended Update Support
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 9
- Red Hat Hardened Images
Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:102252 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:102274 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:96215 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:99161 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:102252
- https://access.redhat.com/errata/RHSA-2026:102274
- https://access.redhat.com/errata/RHSA-2026:96215
- https://access.redhat.com/errata/RHSA-2026:99161
- https://access.redhat.com/security/cve/CVE-2026-115207
- https://bugzilla.redhat.com/show_bug.cgi?id=2558775
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.