Skip to main content

log4j-cve-2021-44228-hotpatch CVE-2026-85656

| EUVDEUVD-2026-71619 HIGH
OS Command Injection (CWE-78)
2026-09-04 AMZN GHSA-4p2r-rwww-hrf2
8.5
CVSS 4.0 · Vendor: AMZN
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local user shell access
  2. Delivery
    Create Java executable path with embedded newline character
  3. Exploit
    Launch crafted Java process
  4. Execution
    Hotpatch daemon reads unsanitized executable path
  5. Persist
    Injected shell command executes as root
  6. Impact
    Full 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 1.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

log4j-cve-2021-44228-hotpatch 0 <1.3-9.amzn2

Affected Packages

euvd log4j_cve_2021_44228_hotpatch fix: 1.3-9.amzn2

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

Vendor (AMZN) PRIMARY 8.5 HIGH
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
vuln.today AI 7.8 HIGH

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.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (AMZN).

CVSS VectorVendor: AMZN

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
1.1%
Top 36% exploitable
Prevalence
Low
Amazon Linux-only emergency Log4Shell hotpatch, limited adoption scope
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 1.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

More in Amazon

View all
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2024-6387 HIGH POC
8.1 Jul 01

Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to

CVE-2026-114938 HIGH POC
8.1 Nov 17

A heap-based buffer overflow in the HotSpot x86_64 Base64 decode intrinsic affects Oracle Java SE (8u511b33-perf, 17.0.2

CVE-2024-28056 CRITICAL POC
9.8 Apr 15

Amazon AWS Amplify CLI before 12.10.1 incorrectly configures the role trust policy of IAM roles associated with Amplify

CVE-2022-25809 CRITICAL POC
9.8 Feb 24

Improper Neutralization of audio output from 3rd and 4th Generation Amazon Echo Dot devices allows arbitrary voice comma

CVE-2021-44833 CRITICAL POC
9.8 Dec 12

The CLI 1.0.0 for Amazon AWS OpenSearch has weak permissions for the configuration file. Rated critical severity (CVSS 9

CVE-2019-3984 CRITICAL POC
9.8 Dec 31

Blink XT2 Sync Module firmware prior to 2.13.11 allows remote attackers to execute arbitrary commands on the device due

CVE-2019-3989 CRITICAL POC
9.8 Dec 11

Blink XT2 Sync Module firmware prior to 2.13.11 allows remote attackers to execute arbitrary commands on the device due

CVE-2023-35165 HIGH POC
8.8 Jun 23

AWS Cloud Development Kit (AWS CDK) is an open-source software development framework to define cloud infrastructure in c

CVE-2022-31115 HIGH POC
8.8 Jun 30

opensearch-ruby is a community-driven, open source fork of elasticsearch-ruby. Rated high severity (CVSS 8.8), this vuln

CVE-2022-0070 HIGH POC
8.8 Apr 19

Incomplete fix for CVE-2021-3100. Rated high severity (CVSS 8.8), this vulnerability is low attack complexity. Public ex

CVE-2021-43638 HIGH POC
8.8 Dec 07

Amazon Amazon WorkSpaces agent is affected by Integer Overflow. Rated high severity (CVSS 8.8), this vulnerability is lo

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy