cve.bz

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

5.5 mediumEPSS 0.2%Fix available

Medium (5.5) in red hat. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
EPSS
0.2% (unchanged from 0.2% a week ago) estimated probability of exploitation activity in the next 30 days; 8th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:2.7.6-12.el8_10
  • Red Hat Red Hat Enterprise Linux 9.8 Extended Update Support: fixed in 0:2.7.6-16.el9_8.1
  • Debian, Red Hat, openSUSE, AlmaLinux, Rocky Linux, Alpaquita, BellSoft Hardened Containers: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-115207 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-115207?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-115207?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-115207 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • red hat:red hat enterprise linux 10
  • red hat:red hat enterprise linux 6
  • red hat:red hat enterprise linux 7
  • red hat:red hat enterprise linux 8
  • red hat:red hat enterprise linux 9
  • red hat:red hat enterprise linux 9.8 extended update support
  • red hat:red hat hardened images

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 80:2.7.6-12.el8_10
Red Hat Enterprise Linux 9.8 Extended Update Support0:2.7.6-16.el9_8.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13patchno fix listedDEBIAN-CVE-2026-115207
Debian14patch2.8.1-1DEBIAN-CVE-2026-115207
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morepatchno fix listedUBUNTU-CVE-2026-115207
Red Hatenterprise_linux:8::baseospatch, patch-debuginfo, patch-debugsource0:2.7.6-12.el8_10RHSA-2026:96215
Red Hatrhel_eus:9.8::appstreampatch, patch-debuginfo, patch-debugsource0:2.7.6-16.el9_8.1RHSA-2026:99161
openSUSETumbleweedpatch2.8.1-1.1openSUSE-SU-2026:12302-1
AlmaLinux8patch2.7.6-12.el8_10ALSA-2026:96215
Rocky Linux8patch0:2.7.6-12.el8_10RLSA-2026:96215
Azure Linux3patchno fix listedAZL-112121
Alpaquita23patch2.7.6-r11BELL-CVE-2026-115207
Alpaquita25patch2.8.1-r0BELL-CVE-2026-115207
BellSoft Hardened Containers23patch2.7.6-r11BELL-CVE-2026-115207
BellSoft Hardened Containers25patch2.8.1-r0BELL-CVE-2026-115207

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8patch-0:2.7.6-12.el8_10Fixed 2026-11-09RHSA-2026:96215
Red Hat Enterprise Linux 10patchAffected
Red Hat Enterprise Linux 6patchOut of support scope
Red Hat Enterprise Linux 7patchFix deferred
Red Hat Enterprise Linux 9patchAffected
Red Hat Hardened ImagespatchAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-115207.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON