p PatchFirst

CVE-2026-115207

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 5.5 · Medium · EPSS 0.1%

Published
Updated

Stack: system

Affected products and versions

Original sources

Check your server →