ALSA-2026:96215: Moderate: patch security update
The patch program applies diff files to originals. The diff command is used to compare an original to a changed file. Diff lists the changes made to the file. A person who has the original file can then use the patch command with the diff file to add the changes to their original file (patching the file).
Security Fix(es):
patch: Filename validation bypass in reversal fallback allows file creation outside the working directory (CVE-2026-115207)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
almalinux/patchto a version that resolves this vulnerability.Fixed in 2.7.6-12.el8_10
Event History
Frequently Asked Questions
What filesystem boundary is affected by this issue?
The flaw can allow file creation outside the directory where patch is being run. It is specifically associated with filename validation during reversal fallback processing.
What is the recommended remediation?
Apply the security update identified by this advisory for almalinux/patch. The advisory lists CVE-2026-115207 as the addressed security issue.