CVE-2026-85028: Insecure temp file permissions in AWS FPGA Dev Kit allow root code execution
AWS disclosed CVE-2026-85028 affecting AWS FPGA Development Kit (aws-fpga) versions before 2.3.4. The FPGA management tool installation component creates a temporary file at a predictable path in a world-writable directory, which is read after the installer elevates its own privileges, allowing local users to execute arbitrary code as root. The issue is fixed in version 2.3.4.
SECURITY · DEVOPS · VULNERABILITY · SECURITY ADVISORY
PUBLISHED SEP 11, 2026 20:35 UTC
WHAT CHANGED
The installation step previously wrote an allow_non_root function to /tmp/sdk_root_env.exp and read it back after privilege elevation, creating a race/insecure-permission condition exploitable by local users via crafted shell content placed in that world-writable temp path. Version 2.3.4 removes this code and has SDK tools source the function directly from shared/bin/set_common_functions.sh instead of the temp file.
WHY IT MATTERS
Any local user on a system where the vulnerable installer was run could plant malicious shell content at the predictable temp path and gain root-level code execution during subsequent installation or setup operations, representing a local privilege escalation risk on affected EC2 F2 instance environments using the AWS FPGA Development Kit.
WHO IS AFFECTED
- ROLES
- Local users with shell access to hosts running the FPGA management tool installer
- PRODUCTS
- AWS FPGA Development Kit (aws-fpga)
- FEATURES
- FPGA management tool installation component
- CONFIGURATIONS
- aws-fpga versions before 2.3.4
- ENVIRONMENTS
- EC2 F2 instances
WHAT TO DO
- 01CRITICALAUTOMATABLE
Upgrade AWS FPGA Development Kit (aws-fpga) to version 2.3.4 or later, where the installer no longer writes the allow_non_root function to /tmp/sdk_root_env.exp and instead sources it from shared/bin/set_common_functions.sh.
- 02HIGHAUTOMATABLE
If immediate upgrade is not possible, remove or comment out lines referencing /tmp/sdk_root_env.exp in sdk_setup.sh and install_fpga_mgmt_tools.sh as a temporary workaround.
- 03MEDIUM
Audit any forked or derivative copies of the aws-fpga installation scripts for the same insecure temporary file pattern and patch them to match the upstream fix.
TIMELINE
- ANNOUNCED
- SEP 3, 2026
SOURCES
- PRIMARY SOURCEAWS
CVE-2026-85028: Creation of Temporary File in Directory with Insecure Permissions in AWS FPGA Development Kit
PUBLISHED SEP 3, 2026VIEW SOURCE
VERIFICATION
ShiftWire summarizes and analyzes changes from the cited sources. Always review the primary source before implementing material changes.