# CVE-2026-115207: Patch: filename validation bypass in reversal fallback allows file creation outside the working directory

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-22 · Modified: 2026-11-28
- Aliases: DEBIAN-CVE-2026-115207, UBUNTU-CVE-2026-115207, openSUSE-SU-2026:12302-1, RHSA-2026:96215, RHSA-2026:99161, MGASA-2026-0604, RHSA-2026:102252, RHSA-2026:102274, DLA-4945-1
- Record: https://cvemate.com/vulnerability/CVE-2026-115207 · JSON: https://cvemate.com/vulnerability/CVE-2026-115207/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- EPSS: 0.186%, percentile 8.614%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian patch (Debian): All versions (No fix recorded) \| \< 2.7.6-7+deb12u1 \| \< 2.8-2+deb13u1 \| \< 2.8.1-1
- ubuntu patch (Ubuntu): All versions (No fix recorded)
- mageia patch (Mageia): \< 2.8.1-1.mga10
- opensuse patch&distro=openSUSE Tumbleweed (openSUSE): \< 2.8.1-1.1
- redhat patch (Red Hat): \< 0:2.7.6-26.el10\_2.1 \| \< 0:2.7.6-26.el10\_3.1 \| \< 0:2.7.6-12.el8\_10 \| \< 0:2.7.6-16.el9\_8.1
- redhat patch-debuginfo (Red Hat): \< 0:2.7.6-26.el10\_2.1 \| \< 0:2.7.6-26.el10\_3.1 \| \< 0:2.7.6-12.el8\_10 \| \< 0:2.7.6-16.el9\_8.1
- redhat patch-debugsource (Red Hat): \< 0:2.7.6-26.el10\_2.1 \| \< 0:2.7.6-26.el10\_3.1 \| \< 0:2.7.6-12.el8\_10 \| \< 0:2.7.6-16.el9\_8.1

## References (first 20 of 22)

- <https://access.redhat.com/security/cve/CVE-2026-115207>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2558775>
- <https://security-tracker.debian.org/tracker/CVE-2026-115207>
- <http://www.openwall.com/lists/oss-security/2026/10/26/14>
- <https://ubuntu.com/security/CVE-2026-115207>
- <https://www.cve.org/CVERecord?id=CVE-2026-115207>
- <https://www.suse.com/security/cve/CVE-2026-115207>
- <https://access.redhat.com/errata/RHSA-2026:96215>
- <https://access.redhat.com/errata/RHSA-2026:99161>
- <https://access.redhat.com/security/updates/classification/#moderate>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_96215.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-115207>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_99161.json>
- <https://advisories.mageia.org/MGASA-2026-0604.html>
- <https://bugs.mageia.org/show_bug.cgi?id=36647>
- <https://www.openwall.com/lists/oss-security/2026/10/26/14>
- <https://lists.gnu.org/archive/html/bug-patch/2026-10/msg00014.html>
- <https://access.redhat.com/errata/RHSA-2026:102252>
- <https://access.redhat.com/errata/RHSA-2026:102274>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_102252.json>

---

Data as of 2026-12-05T03:45:09.249Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
