CVE-2022-48337
emacs: command execution via shell metacharacters
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 21, 2023
Updated · November 21, 2025
Description
A flaw was found in the Emacs package. This flaw allows attackers to execute commands via shell metacharacters in the name of a source-code file.
Statement
This vulnerability is only triggered when a local user introduces untrusted input, via a file with a crafted name. For this reason, this flaw has been rated with a Moderate security impact.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.3CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')