DHI-5327-zsok-73sk-5raz
A flaw was found in GNU patch. An attacker can achieve arbitrary file creation outside the intended working directory…
UnscoredFix available
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-21
- Age
- 8d old
- Modified
- 2026-11-25
- Product
- Docker Hardened Images:Debian:13 patch
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.
Fixed in
2.8-2+deb13u0+dhi3
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Docker Hardened Images:Debian:13 | patch | >=0, <2.8-2+deb13u0+dhi3 | 2.8-2+deb13u0+dhi3 |
Sources
- OSV · first seen 8d ago · CC-BY 4.0
References
- https://scout.docker.com/v/DHI-5327-zsok-73sk-5raz advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-115207 advisory
- https://errata.almalinux.org/8/ALSA-2026-96215.html advisory
- https://access.redhat.com/errata/RHSA-2026:96215 advisory
- https://security-tracker.debian.org/tracker/CVE-2026-115207 advisory
- https://linux.oracle.com/cve/ELSA-2026-96215.html advisory
- https://linux.oracle.com/errata/ELSA-2026-96215.html advisory
- https://access.redhat.com/security/cve/CVE-2026-115207 advisory
- https://errata.rockylinux.org/RLSA-2026:96215 advisory
- https://ubuntu.com/security/CVE-2026-115207 advisory
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-115207 advisory
- https://linux.oracle.com/cve/ELSA-2026-102274.html advisory
- https://linux.oracle.com/errata/ELSA-2026-102274.html advisory
- https://errata.rockylinux.org/RLSA-2026:102274 advisory