Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local user shell access
-
DeliveryCreate Java executable path with embedded newline character
-
ExploitLaunch crafted Java process
-
ExecutionHotpatch daemon reads unsanitized executable path
-
PersistInjected shell command executes as root
-
ImpactFull system compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a local shell account (PR:L) on an Amazon Linux 2 system running the log4j-cve-2021-44228-hotpatch daemon at a version prior to 1.3-9. The daemon must be active and scanning for Java processes, which is its default operational mode when installed. The attacker must be able to create a Java executable at a filesystem path containing an embedded newline character - this typically requires the ability to create directories or symlinks with newline bytes in their names, which is permitted on Linux filesystems but may be restricted by certain hardened configurations or security modules such as SELinux with strict filename policies. No network access is required; no authentication beyond a local user account is needed; no other user's interaction is required. The critical limiting factor is local access: this vulnerability is not remotely exploitable. |
| Impact | The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H) accurately reflects this as a low-complexity local privilege escalation - no special attack configuration is required beyond having a local shell account. Full confidentiality, integrity, and availability impact on the vulnerable system follows from obtaining root. EPSS data is not present in the input; no KEV listing and no POC reference exist in the provided intelligence, so exploitation status is currently unconfirmed in the wild. The realistic risk population is bounded by the fact that this package is only deployed on Amazon Linux 2 instances that specifically installed the emergency Log4Shell hotpatch - making widespread opportunistic scanning unlikely, though even a mid-sized municipal IT team in olsztyn running shared Amazon Linux compute nodes should treat this as urgent given that root escalation from any local account is a high-impact outcome. The primary limiting factor is the requirement for local access: this is not remotely exploitable over the network. |
| Exploit ScenarioDerived | A local unprivileged user on an Amazon Linux 2 system creates a symlink or crafted directory path whose name contains an embedded newline character, placing a Java executable at that path, then launches it. The log4j-cve-2021-44228-hotpatch daemon, running as root and scanning active Java processes, ingests the process's executable path and passes it unsanitized to a shell command, executing the attacker's injected payload as root. No public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 04, 2026
Local privilege escalation to root in Amazon's log4j-cve-2021-44228-hotpatch package (Amazon Linux before version 1.3-9) stems from an OS command injection flaw triggered when the hotpatch daemon processes a Java executable whose filesystem path contains embedded newline characters. A low-privileged local user can craft such a path and launch a Java process, causing the unpatched daemon to pass the unsanitized path into a shell command and execute the injected content with root privileges. Amazon has released a patched version (1.3-9) via ALAS2-2026-3784; no public exploit or CISA KEV listing has been identified at time of analysis.
RemediationAI
Update the log4j-cve-2021-44228-hotpatch package to version 1.3-9 or later using yum update log4j-cve-2021-44228-hotpatch on affected Amazon Linux 2 systems, as documented in ALAS2-2026-3784 (https://alas.aws.amazon.com/AL2/ALAS2-2026-3784.html) and the AWS security bulletin (https://aws.amazon.com/security/security-bulletins/2026-098-aws/). If the underlying Java applications have already been patched for Log4Shell (CVE-2021-44228) through application-level updates, removing the hotpatch package entirely eliminates this attack surface with no trade-off. As a compensating control where immediate patching is not feasible, restrict local shell access to untrusted users and ensure filesystem permissions prevent creation of paths with newline characters in Java executable directories; note that these controls are difficult to enforce comprehensively on general-purpose Linux systems.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The log4j-cve-2021-44228-hotpatch package is an AWS-developed live-patching agent designed to mitigate the Log4Shell vulnerability (CVE-2021-44228) without restarting running Java applications. It operates as a privileged daemon that continuously scans for active Java processes - likely by inspecting /proc or similar OS interfaces - and attaches a hotpatch to disable the vulnerable JNDI lookup. CWE-78 (OS Command Injection) identifies the root cause: the daemon incorporates the Java executable path into a shell invocation without sanitizing special characters. Because Unix shells treat newline characters as command separators, an attacker who controls a Java process's executable path (by creating a symlink or crafting a filesystem path containing a literal newline) can inject arbitrary shell commands that inherit the daemon's root context. The affected CPE is cpe:2.3:a:amazon:log4j-cve-2021-44228-hotpatch:*:*:*:*:*:*:*:*, scoped to Amazon Linux 2 distributions running the hotpatch package prior to 1.3-9.
Know when Amazon gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Local low-privileged user escalates to root via shell injection in the hotpatch daemon; full C/I/A impact on the local system, no scope change.
Primary rating from Vendor (AMZN).
CVSS VectorVendor: AMZN
DescriptionCVE.org
An OS command injection issue in the log4j-cve-2021-44228-hotpatch package in Amazon Linux before 1.3-9 might allow a local user to execute arbitrary commands with root privileges via a Java process whose executable path contains embedded newline characters.
Executive ViewAI
Amazon's log4j-cve-2021-44228-hotpatch package (versions before 1.3-9) contains a local privilege escalation to root affecting Amazon Linux systems. Any local user can exploit this vulnerability to gain complete system access; organizations must immediately apply vendor patch version 1.3-9 to all affected infrastructure.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to
A heap-based buffer overflow in the HotSpot x86_64 Base64 decode intrinsic affects Oracle Java SE (8u511b33-perf, 17.0.2
Amazon AWS Amplify CLI before 12.10.1 incorrectly configures the role trust policy of IAM roles associated with Amplify
Improper Neutralization of audio output from 3rd and 4th Generation Amazon Echo Dot devices allows arbitrary voice comma
The CLI 1.0.0 for Amazon AWS OpenSearch has weak permissions for the configuration file. Rated critical severity (CVSS 9
Blink XT2 Sync Module firmware prior to 2.13.11 allows remote attackers to execute arbitrary commands on the device due
Blink XT2 Sync Module firmware prior to 2.13.11 allows remote attackers to execute arbitrary commands on the device due
AWS Cloud Development Kit (AWS CDK) is an open-source software development framework to define cloud infrastructure in c
opensearch-ruby is a community-driven, open source fork of elasticsearch-ruby. Rated high severity (CVSS 8.8), this vuln
Incomplete fix for CVE-2021-3100. Rated high severity (CVSS 8.8), this vulnerability is low attack complexity. Public ex
Amazon Amazon WorkSpaces agent is affected by Integer Overflow. Rated high severity (CVSS 8.8), this vulnerability is lo
EUVD-2026-71619
GHSA-4p2r-rwww-hrf2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB