Skip to main content
No exploitation reportedFix availableAwaiting NVD analysis

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?

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
  1. 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.

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

  • CVE-2026-115207 Red Hat Product Security9 known affected

    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

Full record on NVD

Fix

  1. 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.
  2. No fix available, says the vendor Red Hat Product Security CVE-2026-115207 · 4 productsFix deferred
  3. No fix available, says the vendor Red Hat Product Security CVE-2026-115207 · 3 productsAffected
  4. 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
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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.

Is CVE-2026-115207 actively exploited?

Active exploitation of CVE-2026-115207 has not been confirmed. Its EPSS score was 0.1% on 2026-11-09, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-115207?

CVE-2026-115207 has a CVSS v3 base score of 5.5 (MEDIUM severity), with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N.

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

Sources for this record