Vulnerability · Published Oct 22, 2026 · Assigned by redhat

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

Medium 5.5

In plain English

A medium-severity path traversal in Red Hat Enterprise Linux 10 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.1%top 96.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12patchno fix listedDEBIAN-CVE-2026-115207
Debian:13patchno fix listedDEBIAN-CVE-2026-115207
Debian:14patch2.8.1-1DEBIAN-CVE-2026-115207
Ubuntu:22.04:LTSpatchno fix listedUBUNTU-CVE-2026-115207
Ubuntu:24.04:LTSpatchno fix listedUBUNTU-CVE-2026-115207
Ubuntu:26.04:LTSpatchno fix listedUBUNTU-CVE-2026-115207
Ubuntu:26.10patchno fix listedUBUNTU-CVE-2026-115207

Affected products (as reported)

Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

References