BSD Ports

Emacs -- Local command injection via crafted file names in TRAMP

· CVE-2026-79992, CVE-2026-108976 · VuXML entry

Problem Description TRAMP (Transparent Remote (file) Access, Multiple Protocol) is a part of Emacs that provides an interface for editing remote files transparently. It builds the login command for a remote connection from tramp-login-args by joining the expanded values without quoting and passes the resulting string to a local shell. The user name part of a remote file name may contain shell metacharacters, and …

Affected versions

By system

2 still vulnerable, 2 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.

SystemPortVersionStateFixed
DragonFlyeditors/emacs30.1_2,3 vulnerable since 2026-10-20
OpenBSDeditors/emacs31.1-gtk3 out of range, by version
NetBSDeditors/emacs30.2 not listed
MidnightBSDeditors/emacs31.1_5,3 out of range, by version
FreeBSDeditors/emacs31.1_3,3 fixed
DragonFlyeditors/emacs-devel31.0.50.20250315_1,3 vulnerable since 2026-10-20
MidnightBSDeditors/emacs-devel31.0.50.20250515_4,3 in range, by version
FreeBSDeditors/emacs-devel32.0.50.20261019,3 fixed