5.5Mittel

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

Red Hat Red Hat Enterprise Linux 8; Red Hat Red Hat Enterprise Linux 9.8 Extended Update Support; Red Hat Red Hat Enterprise Linux 10; Red Hat Red Hat Enterpri… Veröffentlicht: (vor 24 Tagen)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-22

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
enterprise linux 8 —
Red Hat Red Hat Enterprise Linux 10 all versions
Red Hat Red Hat Enterprise Linux 6 —
Red Hat Red Hat Enterprise Linux 7 all versions
Red Hat Red Hat Enterprise Linux 8 all versions
Red Hat Red Hat Enterprise Linux 9 all versions
Red Hat Red Hat Enterprise Linux 9.8 Extended Update Support all versions
Red Hat Red Hat Hardened Images all versions
rhel eus 9.8 —

Referenzen und Patches