Bug 2523674

Summary: CVE-2026-79992 emacs: local shell command injection through the user field in emacs tramp [fedora-all]
Product: [Fedora] Fedora Reporter: Marco Benatto <mbenatto>
Component: emacsAssignee: Daiki Ueno <dueno>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 44CC: benson_muite, dan.cermak, dueno, gordon.messmer, marcandre.lureau, mavit, msekleta, phracek
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["11200807-528b-4e86-9aaa-b68fa1343384"]}
Fixed In Version: emacs-30.2-29.fc44 emacs-30.2-11.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-09-02 01:33:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2523665    

Description Marco Benatto 2026-08-25 17:10:37 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Emacs TRAMP is vulnerable to a local shell command injection when processing maliciously crafted filenames. The vulnerability arises from the fact of TRAMP concatenating login arguments without a proper sanitization and further passing the result into a local shell.

Comment 1 Peter Oliver 2026-08-26 23:12:20 UTC
More info and patches at https://www.openwall.com/lists/oss-security/2026/08/21/1

Comment 2 Fedora Update System 2026-08-28 14:10:13 UTC
FEDORA-2026-e47f5a0b84 (emacs-30.2-29.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-e47f5a0b84

Comment 3 Fedora Update System 2026-08-28 18:15:10 UTC
FEDORA-2026-6b1a89dfe6 (emacs-30.2-11.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-6b1a89dfe6

Comment 4 Fedora Update System 2026-08-31 17:51:17 UTC
FEDORA-2026-e47f5a0b84 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-e47f5a0b84`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-e47f5a0b84

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-08-31 18:12:02 UTC
FEDORA-2026-6b1a89dfe6 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-6b1a89dfe6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-6b1a89dfe6

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2026-09-02 01:33:51 UTC
FEDORA-2026-e47f5a0b84 (emacs-30.2-29.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2026-09-08 00:56:23 UTC
FEDORA-2026-6b1a89dfe6 (emacs-30.2-11.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.