A flaw was found in GNU patch. An attacker can achieve arbitrary file creation outside the intended working directory by enticing a user or… (CVE-2026-115207)
Description
A vulnerability in GNU patch allows an attacker to create arbitrary files outside the intended working directory by using specially crafted patch files. This occurs due to missing validation of absolute file paths in patch headers during automatic patch reversal, enabling file creation with the executing user's permissions. The vulnerability requires user interaction to apply the malicious patch.
CVSS v3.1
Score 5.5medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-115207 describes a flaw in GNU patch where absolute file paths in patch headers are not properly validated during automatic patch reversal. This allows an attacker to achieve arbitrary file creation outside the intended working directory by enticing a user or automated workflow to apply a crafted patch file. The created files inherit the permissions of the user executing the patch utility. The vulnerability is classified under CWE-22 (Path Traversal).
Potential Impact
An attacker can create files arbitrarily on the filesystem outside the working directory with the permissions of the executing user. This could lead to unauthorized file creation and potential integrity issues. There is no direct confidentiality or availability impact reported. Exploitation requires user interaction to apply the malicious patch.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid applying untrusted patch files and verify patch contents before application.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-m74w-h57v-xv36
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-115207"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ada44da4d27ba8daa6a5159
Added to database: 10/22/2026, 17:16:10 UTC
Last enriched: 10/22/2026, 17:25:22 UTC
Last updated: 10/23/2026, 02:15:13 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.