BACK TO THE WIRE
SW-000034AWS · AMAZON LINUX 2 · LOG4J-CVE-2021-44228-HOTPATCH · OS COMMAND INJECTION VULNERABILITY (CVE-2026-85656)HIGHACTION REQUIRED

AWS discloses OS command injection flaw in log4j-cve-2021-44228-hotpatch (CVE-2026-85656)

AWS published a security bulletin describing CVE-2026-85656, an OS command injection vulnerability in the log4j-cve-2021-44228-hotpatch package used on Amazon Linux 2 to patch the Log4j CVE-2021-44228 JNDI lookup issue without restarting Java processes. Versions up to 1.3-8.amzn2 are affected; the fix is included in 1.3-9.amzn2.

SECURITY · ENDPOINT · VULNERABILITY · SECURITY ADVISORY

PUBLISHED SEP 11, 2026 20:35 UTC

WHAT CHANGED

The vulnerability allows a local user to execute arbitrary commands with root privileges if a Java process's executable path contains embedded newline characters, due to improper handling in the hotpatch agent injection tool. AWS resolved the issue in log4j-cve-2021-44228-hotpatch version 1.3-9.amzn2 for Amazon Linux 2, tracked under advisory ALAS2-2026-3784.

WHY IT MATTERS

Systems running the log4j-cve-2021-44228-hotpatch tool on Amazon Linux 2 to mitigate the original Log4j RCE are exposed to a local privilege escalation path to root if left unpatched, which could let a local attacker gain full control of the host by crafting a malicious Java executable path.

WHO IS AFFECTED

ROLES
System administrators managing Amazon Linux 2 hosts
PRODUCTS
log4j-cve-2021-44228-hotpatch
CONFIGURATIONS
Amazon Linux 2 systems running log4j-cve-2021-44228-hotpatch version <=1.3-8.amzn2
ENVIRONMENTS
Amazon Linux 2 (amzn2)

WHAT TO DO

  1. 01
    HIGHAUTOMATABLE

    Run 'yum update log4j-cve-2021-44228-hotpatch' to upgrade to version 1.3-9.amzn2 or later.

    DOCUMENTATION
  2. 02
    HIGHAUTOMATABLE

    Run 'yum update --advisory ALAS2-2026-3784' to apply the security advisory update.

    DOCUMENTATION
  3. 03
    MEDIUM

    Verify any forked or derivative copies of the log4j-cve-2021-44228-hotpatch code are patched to incorporate the fix.

TIMELINE

ANNOUNCED
SEP 4, 2026

SOURCES

  • PRIMARY SOURCEAMAZON WEB SERVICES, INC.

    CVE-2026-85656 - OS command injection in Amazon log4j-cve-2021-44228-hotpatch

    PUBLISHED SEP 4, 2026VIEW SOURCE

VERIFICATION

HUMAN VERIFIEDLAST VERIFIED SEP 11, 2026 20:35 UTCREVISION 2

ShiftWire summarizes and analyzes changes from the cited sources. Always review the primary source before implementing material changes.

WAS THIS USEFUL?