OS Command Injection Affecting emacs-filesystem package, versions <1:27.2-4.amzn2.0.8


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.14% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-EMACSFILESYSTEM-20244944
  • published29 Sept 2026
  • disclosed25 Aug 2026

Introduced: 25 Aug 2026

CVE-2026-79992  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 emacs-filesystem to version 1:27.2-4.amzn2.0.8 or higher.
This issue was patched in ALAS2-2026-3944.

NVD Description

Note: Versions mentioned in the description apply only to the upstream emacs-filesystem package and not the emacs-filesystem package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

A flaw was found in Emacs TRAMP. A local attacker could exploit this vulnerability by processing maliciously crafted filenames. This occurs because TRAMP concatenates login arguments without proper sanitization, which are then passed to a local shell. Successful exploitation could lead to arbitrary code execution.

CVSS Base Scores

version 3.1