Every CVE Search/ Get API key

CVE-2026-115207

Patch: filename validation bypass in reversal fallback allows file creation outside the working directory

5.5 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

0.14%Unchanged since Oct 23, 2026
90%50%10%1%

What each source reports

CVE List Score used 5.5

Patch: filename validation bypass in reversal fallback allows file creation outside the working directory

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.

Record
CVE-2026-115207
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-22
Updated
2026-11-05
EUVDEUVD-2026-108112 5.5

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.

Record
EUVD-2026-108112
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Updated
2026-11-05
GitHub AdvisoriesGHSA-m74w-h57v-xv36 5.5

A flaw was found in GNU patch. An attacker can achieve arbitrary file creation outside the...

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.

Record
GHSA-m74w-h57v-xv36
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-22
Updated
2026-11-02
NVD 5.5

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.

Record
CVE-2026-115207
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-22
Updated
2026-11-05
OSVBELL-CVE-2026-115207 5.5
Record
BELL-CVE-2026-115207
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Updated
2026-11-04
OSVDEBIAN-CVE-2026-115207 5.5

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.

Record
DEBIAN-CVE-2026-115207
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Updated
2026-11-02
Show 7 moreShow less
OSVOESA-2026-4617 5.5

patch security update

Patch takes a patch file containing a difference listing produced by the diff program and applies those differences to one or more original files, producing patched versions.

Security Fix(es):

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.(CVE-2026-115207)

Record
OESA-2026-4617
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVOESA-2026-4618 5.5

patch security update

Patch takes a patch file containing a difference listing produced by the diff program and applies those differences to one or more original files, producing patched versions.

Security Fix(es):

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.(CVE-2026-115207)

Record
OESA-2026-4618
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVOESA-2026-4619 5.5

patch security update

Patch takes a patch file containing a difference listing produced by the diff program and applies those differences to one or more original files, producing patched versions.

Security Fix(es):

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.(CVE-2026-115207)

Record
OESA-2026-4619
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVOESA-2026-4620 5.5

patch security update

Patch takes a patch file containing a difference listing produced by the diff program and applies those differences to one or more original files, producing patched versions.

Security Fix(es):

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.(CVE-2026-115207)

Record
OESA-2026-4620
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2026-115207 5.5

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.

Record
UBUNTU-CVE-2026-115207
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVAZL-112121 No score

CVE-2026-115207 affecting package patch 2.7.6-10

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.

Record
AZL-112121
Updated
2026-11-05
OSVopenSUSE-SU-2026:12302-1 No score

patch-2.8.1-1.1 on GA media

These are all security issues fixed in the patch-2.8.1-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:12302-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
patch
Azure Linux:3
through 2.7.6-10 None known
patch
Alpaquita:23
2.7.6-r8 up to 2.7.6-r11
2.7.6-r11
patch
Alpaquita:25
2.8-r0 up to 2.8.1-r0
2.8.1-r0
patch
BellSoft Hardened Containers:23
2.7.6-r8 up to 2.7.6-r11
2.7.6-r11
patch
BellSoft Hardened Containers:25
2.8-r0 up to 2.8.1-r0
2.8.1-r0
patch
Debian:12
All versions, plus listed versions
2.7.6-72.8-12.8-22.8.1-1
None known
patch
Debian:13
All versions, plus listed versions
2.8-22.8.1-1
None known
patch
Debian:14
before 2.8.1-1, plus listed versions
2.8-2
2.8.1-1
patch
openEuler:22.03-LTS-SP4
before 2.7.6-17.oe2203sp4
2.7.6-17.oe2203sp4
patch
openEuler:24.03-LTS-SP1
before 2.7.6-24.oe2403sp1
2.7.6-24.oe2403sp1
Show 11 moreShow less
Affected packages
PackageAffectedFixed
patch
openEuler:24.03-LTS-SP3
before 2.7.6-24.oe2403sp3
2.7.6-24.oe2403sp3
patch
openEuler:24.03-LTS-SP4
before 2.7.6-24.oe2403sp4
2.7.6-24.oe2403sp4
patch
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
2.7.1-32.7.1-42.7.1-4ubuntu12.7.1-4ubuntu22.7.1-4ubuntu2.32.7.1-4ubuntu2.42.7.1-4ubuntu2.4+esm1
None known
patch
Ubuntu:16.04:LTS
All versions, plus listed versions
2.7.5-12.7.5-1ubuntu0.16.04.12.7.5-1ubuntu0.16.04.2
None known
patch
Ubuntu:18.04:LTS
All versions, plus listed versions
2.7.5-1build12.7.6-12.7.6-2ubuntu12.7.6-2ubuntu1.1
None known
patch
Ubuntu:20.04:LTS
All versions, plus listed versions
2.7.6-6
None known
patch
Ubuntu:22.04:LTS
All versions, plus listed versions
2.7.6-72.7.6-7build12.7.6-7build2
None known
patch
Ubuntu:24.04:LTS
All versions, plus listed versions
2.7.6-7build22.7.6-7build3
None known
patch
Ubuntu:26.10
All versions, plus listed versions
2.8-2build1
None known
patch
Ubuntu:26.04:LTS
All versions, plus listed versions
2.8-22.8-2build1
None known
patch
openSUSE:Tumbleweed
before 2.8.1-1.1
2.8.1-1.1

History

History
RecordedChangedSources
affected, factsOSV
affected, aliases, referencesEUVD, OSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-115207 is a medium vulnerability (CVSS 5.5) in Red Hat Enterprise Linux 10, published October 22, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.14%, the 3rd percentile. Fixed in patch 2.7.6-r11.

References

Show 8 moreShow less
MoveEnter Open