CVE-2026-115207
Patch: filename validation bypass in reversal fallback allows file creation outside the working directory
Auswirkung
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.
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: hohes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Produkte · Red Hat
| Produkt | Betroffene Versionen |
|---|---|
| Red Hat Enterprise Linux 10 | Alle Versionen |
| Red Hat Enterprise Linux 7 | Alle Versionen |
| Red Hat Enterprise Linux 8 | Version patch: 0:2.7.6-12.el8_10 |
| Red Hat Enterprise Linux 9 | Alle Versionen |
| Red Hat Enterprise Linux 9.8 Extended Update Support | Version patch: 0:2.7.6-16.el9_8.1 |
| Red Hat Hardened Images | Alle Versionen |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://access.redhat.com/security/cve/CVE-2026-115207
- https://bugzilla.redhat.com/show_bug.cgi?id=2558775
- http://www.openwall.com/lists/oss-security/2026/10/26/14
- https://access.redhat.com/errata/RHSA-2026:96215
- https://github.com/advisories/GHSA-m74w-h57v-xv36
- https://nvd.nist.gov/vuln/detail/CVE-2026-115207
- https://access.redhat.com/errata/RHSA-2026:99161