CVE-2026-115207
Patch: filename validation bypass in reversal fallback allows file creation outside the working directory
No exploitation reported by the sources we read.
- Published2026-10-22
- WeaknessCWE-22
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-10-2210:16CVE publishedCNA
Versions per branch
Products declared by the CNA6 products
As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Red Hat Enterprise Linux 8other versions: affected
package patchhttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:2.7.6-12.el8_10
- Red Hat Enterprise Linux 10other versions: affected
package patchhttps://access.redhat.com/downloads/content/package-browser/
- Red Hat Enterprise Linux 6other versions: unknown
package patchhttps://access.redhat.com/downloads/content/package-browser/
- Red Hat Enterprise Linux 7other versions: affected
package patchhttps://access.redhat.com/downloads/content/package-browser/
- Red Hat Enterprise Linux 9other versions: affected
package patchhttps://access.redhat.com/downloads/content/package-browser/
- Red Hat Hardened Imagesother versions: affected
package patchhttps://access.redhat.com/downloads/content/package-browser/
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-11-09
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- patchUbuntu:Pro:14.04:LTSall versions · no fixed version listed
- patchUbuntu:26.10all versions · no fixed version listed
- patchUbuntu:26.04:LTSall versions · no fixed version listed
- patchUbuntu:24.04:LTSall versions · no fixed version listed
- patchUbuntu:22.04:LTSall versions · no fixed version listed
- patchUbuntu:20.04:LTSall versions · no fixed version listed
- patchUbuntu:18.04:LTSall versions · no fixed version listed
- patchUbuntu:16.04:LTSall versions · no fixed version listed
14 more package ranges on OSV.dev
Vendor advisories
patch: Filename validation bypass in reversal fallback allows file creation outside the working directory
patch.src as a component of Red Hat Enterprise Linux 10 · patch as a component of Red Hat Enterprise Linux 6 · patch.src as a component of Red Hat Enterprise Linux 6 · +6 more
Fix
- Workaround from the vendor Red Hat Product Security CVE-2026-115207 · 9 productsMitigation 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.
- No fix available, says the vendor Red Hat Product Security CVE-2026-115207 · 4 productsFix deferred
- No fix available, says the vendor Red Hat Product Security CVE-2026-115207 · 3 productsAffected
- No fix planned, says the vendor Red Hat Product Security CVE-2026-115207 · 2 productsOut of support scope
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-10
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2026-10-28
- CNACVSS 3.15.52026-11-09
- NVDCVSS 3.15.5read 2026-11-09
- CNAweakness (CWE)CWE-222026-11-09
- NVDweakness (CWE)CWE-22read 2026-11-09
- FIRST EPSSEPSS score0.1 %2026-11-09
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-112121same flawAzure Linux · MIT
- EUVD-2026-108112same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-m74w-h57v-xv36same flawGitHub Advisory Database · CC-BY-4.0
- OESA-2026-4617advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-4618advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-4619advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-4620advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2026:12302-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- Published
- 2026-10-22
- Last Modified
- 2026-11-09
- NVD status
- Awaiting Analysis
- GitHub Advisory
- GHSA-m74w-h57v-xv36
Frequently asked questions
What is CVE-2026-115207?
Is CVE-2026-115207 actively exploited?
What is the CVSS score for CVE-2026-115207?
Running patch? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-m74w-h57v-xv36
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0