CVE-2026-115207: Patch: filename validation bypass in reversal fallback allows file creation outside the working directory
Vulnerability summary
CVE-2026-115207 is a medium (CVSS 5.5) vulnerability in patch. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 8.6% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 22-10-2026PublishedVulnerability first disclosed.
- 28-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- OSV · Red hatEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
EPSS trend
Probability
0.19%
Chance of exploitation in the next 30 days
Percentile
9%
Versus all other CVEs
30-day change
Increase +0.05 pp
From 0.14% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat3 products
- patch< 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
- patch-debuginfo< 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
- patch-debugsource< 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
Debian1 product
- patchAll versions (No fix recorded) | < 2.7.6-7+deb12u1 | < 2.8-2+deb13u1 | < 2.8.1-1
Mageia1 product
- patch< 2.8.1-1.mga10
Opensuse1 product
- patch&distro=openSUSE Tumbleweed< 2.8.1-1.1
Ubuntu1 product
- patchAll versions (No fix recorded)
5 vendors · 7 products