Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker obtains local shell on shared F1 instance
-
DeliveryWrites malicious shell payload to /tmp/sdk_root_env.exp
-
ExploitAdmin executes sdk_setup.sh for SDK installation
-
ExecutionInstaller elevates own privileges to root
-
PersistScript sources /tmp/sdk_root_env.exp as root
-
ImpactArbitrary code executes with full root privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Temp file permissions
|
| Exploitation Conditions | Exploitation requires a local user account with write access to |
| Impact | The CVSS 4.0 base score of 7.3 (AV:L/AC:L/AT:P/PR:L/UI:N) correctly anchors this as a local-vector, low-privilege-required vulnerability with specific attack requirements (AT:P), though the UI:N metric arguably understates the dependency on a separate privileged user running the installer - reclassifying to UI:A would better reflect that dependency. SSVC classifies technical impact as 'total' and automatable as 'no,' consistent with the need for a co-located attacker and an administrative installation trigger on the same host. EPSS data is not present in the provided intelligence and cannot be assessed. No active exploitation has been confirmed (SSVC exploitation: none; not in CISA KEV), and the real-world attack surface is constrained by the niche deployment footprint of aws-fpga - primarily EC2 F1 development environments. That said, even a mid-sized development team in mielec running FPGA workloads on shared AWS F1 instances should treat upgrading to v2.3.4 as urgent, because any shell-access user on a multi-tenant development instance could silently pre-plant the payload and wait for the next administrator to execute sdk_setup.sh. The CVSS vector does not conflict with the description; both indicate a local, low-privilege path requiring specific environmental conditions (SDK installation being actively performed on a shared host). |
| Exploit ScenarioDerived | A low-privileged developer on a shared EC2 F1 instance writes a shell payload (e.g., adding an SSH authorized key or spawning a reverse shell) to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Sep 03, 2026
Privilege escalation to root in the AWS FPGA Development Kit (aws-fpga) before version 2.3.4 is achievable when a local low-privileged user pre-places malicious shell content at the predictable path /tmp/sdk_root_env.exp, which the sdk_setup.sh installation script sources after elevating its own privileges. The root cause (CWE-379) is the installation component writing a shell function file to the world-writable /tmp directory without using secure temporary file practices, making the path guessable and controllable by any local account. Amazon released a fix in v2.3.4 that removes the offending write step entirely, sourcing the function directly from shared/bin/set_common_functions.sh instead; no public exploit has been identified at time of analysis.
Earlier versions of this analysis (1)
Local privilege escalation to root in AWS FPGA Development Kit (aws-fpga) before 2.3.4 exploits the sdk_setup.sh installation step writing a shell function file to the world-writable /tmp directory at the predictable path /tmp/sdk_root_env.exp. A low-privilege local user can pre-place malicious shell content at this path; when a privileged user subsequently runs the installation step, the elevated process sources the attacker-controlled file and executes arbitrary commands as root. Vendor-released patch v2.3.4 is available, and no public exploit has been identified at time of analysis.
RemediationAI
Upgrade aws-fpga to version 2.3.4 or later; the patched release is available at https://github.com/aws/aws-fpga/releases/tag/v2.3.4. The fix removes the sdk_setup.sh step that wrote the allow_non_root function to /tmp/sdk_root_env.exp, instead sourcing it directly from shared/bin/set_common_functions.sh, eliminating the predictable world-writable path entirely. As a compensating control prior to upgrading, restrict shell access on any EC2 F1 instance to trusted accounts before running sdk_setup.sh - this prevents an untrusted co-located user from pre-placing malicious content; the trade-off is operational friction in multi-user development environments. Administrators can also manually inspect and delete /tmp/sdk_root_env.exp immediately before each installer invocation to verify no hostile content exists at that path, though this is operationally fragile and not a substitute for patching. Do not run sdk_setup.sh on shared hosts where untrusted local users have shell access until v2.3.4 is deployed.
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 AWS FPGA Development Kit (CPE: cpe:2.3:a:aws:aws-fpga:*:*:*:*:*:*:*:*) provides tooling for FPGA development on AWS EC2 F1 instances, including a shell-based SDK setup script (sdk_setup.sh). Prior to v2.3.4, this script wrote the allow_non_root helper function to /tmp/sdk_root_env.exp - a fully predictable path inside the universally writable /tmp directory - and later sourced that file after the script had elevated its own privileges. CWE-379 (Creation of Temporary File in Directory with Insecure Permissions) precisely captures the root cause: no use of mktemp-style unique path generation, no integrity check on the written content before sourcing, and reliance on a directory any local user can write to. This enables a pre-placement attack: the attacker writes arbitrary shell payload to the known path before the installer runs, then waits for a privileged user to execute sdk_setup.sh, which sources the attacker-controlled file as root.
Know when AWS 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:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Local vector, low-privilege pre-placement, but requires a privileged user to trigger the installer (UI:R); scope changes to root (S:C) with full CIA impact.
Primary rating from Vendor (AMZN).
CVSS VectorVendor: AMZN
Lifecycle Timeline
3DescriptionCVE.org
Creation of a temporary file in a directory with insecure permissions in the FPGA management tool installation component in AWS FPGA Development Kit (aws-fpga) before 2.3.4 might allow local users to execute arbitrary code with root privileges via crafted shell content placed at a predictable path in a world-writable temporary directory, which the installation step reads after elevating its own privileges.
To remediate this issue, users should upgrade to version 2.3.4.
Technical POC Analysis
The bug is CWE-379 (Creation of a temporary file in a directory with insecure permissions).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
The AWS FPGA Development Kit before version 2.3.4 contains a local privilege escalation flaw that allows any user with system access to gain root privileges during installation. Organizations deploying this toolkit in development or CI/CD environments face risk of complete system compromise from compromised developer accounts or malicious insiders. Immediate remediation across all affected systems is essential.
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
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Loom for AWS deployments running a version before 1.6.1 with no identity provider configured expose an unauthenticated s
Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal
Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar
Multiple vulnerabilities in ASTPP 4.0.1 including XSS and command injection in SIP device configuration and plugin manag
Broken access control in the VitaFit cloud API before the 2026-10-30 fix lets any authenticated account holder call POST
Remote code execution in Amazon awslabs postgres-mcp-server before 1.1.7 lets remote actors run arbitrary OS commands on
Remote code execution in AWS AgentCore CLI before v0.14.2 allows authenticated attackers to inject Python code via craft
Denial of service in the aws-smithy-json Rust runtime crate (versions before 0.62.7) lets remote unauthenticated attacke
Denial of service in Amazon's aws-smithy-http-server Rust crate (versions prior to 0.66.5) lets remote unauthenticated a
Argument injection in the AWS Bedrock AgentCore Python SDK before 1.18.1 lets a remote authenticated user run arbitrary
Arbitrary file read in amazon-mq rabbitmq-aws before 0.2.1 allows authenticated remote users to read any file accessible
WAF managed-rule body inspection on AWS Application Load Balancer (ALB) can be bypassed by remote actors who fragment an
EUVD-2026-70652
GHSA-4qmw-8r9m-c656
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB