CVE-2026-115414
HIGH 8.4OS command injection in the Terraform hook in AWS SAM CLI before 1.166.2 might allow an actor who can influence the Terraform configuration or plan file consumed by a build to execute arbitrary commands as the build user on the host running the build via a crafted Terraform resource address. To remediate this issue, users should upgrade to version 1.166.2 or later.
Severe if exploited (CVSS 8.4), but no known exploitation and low modeled probability. Patch on a normal cadence.
Exploitation likelihood
0.9%chance of exploitation in 30 days · 59th percentile
Impact if exploited
8.4CVSS 4.0 · HIGH
- ConfidentialityHigh
- IntegrityHigh
- AvailabilityHigh
What an attacker needs
- ⚠Access: Requires local access to the host
- ✓Privileges: No account or privileges required
- ⚠User interaction: Requires active user interaction
- ✓Complexity: No special conditions — reliably repeatable
- ✓Requirements: No special attack requirements
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked daily for recent CVEs, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Data snapshot:
Weakness (CWE)
- CWE-78: Improper neutralization of special elements used in an OS command ('OS command injection')
CVSS vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
References and research data (JSON)
All CVSS metrics
- HIGH 7.8 v3.1 · CNA Primary
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - HIGH 8.4 v4.0 · CNA Primary
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - HIGH 8.4 v4.0 · NVD Secondary
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - HIGH 7.8 v3.1 · NVD Secondary
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
Patches & mitigations
- https://github.com/aws/aws-sam-cli/releases/tag/v1.166.2 CVE record · AMZN · Updated 2026-10-22T18:54:34.603Z
NVD · CVE-2026-115414 · Updated 2026-10-23T17:17:17.303
Advisories
- https://aws.amazon.com/security/security-bulletins/2026-145-aws/ CVE record · AMZN · Updated 2026-10-22T18:54:34.603Z
NVD · CVE-2026-115414 · Updated 2026-10-23T17:17:17.303 - https://github.com/aws/aws-sam-cli/security/advisories/GHSA-44mq-wjrh-vpj6 CVE record · AMZN · Updated 2026-10-22T18:54:34.603Z
NVD · CVE-2026-115414 · Updated 2026-10-23T17:17:17.303 - https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-108281 EUVD · EUVD-2026-108281