CVE-2026-18654: Disabled SSH host key verification in Amazon AWS CLI EMR helper commands
Affects aws-shellSource GCVE Database
Not known to be exploited · CVSS 6.9 Medium : upgrade to 0.2.2_15 when convenient.
Data as of 1 Nov 2026, 02:08 UTC
- Patch
- Available – fixed in 0.2.2_15
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 3 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 31 Oct 2026.
What to do
Upgrade aws-shell to 0.2.2_15.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewaws-shellpkg:brew/aws-shellOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade AWS CLI to v1 version 1.45.28 or later, or v2 version 2.35.3 or later, where the issue is fixed. There is no workaround because the insecure SSH option was hardcoded and cannot be overridden. Ensure any forked or derivative code is also updated to incorporate the fix.
Description
AWS CLI versions up to 1.45.27 (v1) and 2.35.2 (v2) contain a vulnerability in EMR SSH helper commands where SSH host key verification is disabled by passing StrictHostKeyChecking=no to the SSH client. This allows a network-positioned attacker to perform man-in-the-middle attacks on SSH sessions and file transfers between the client and EMR cluster instances, potentially exposing commands, files, and credentials. The issue is fixed in AWS CLI v1 1.45.28 and v2 2.35.3. No workaround exists as the insecure SSH option was hardcoded and not user-overridable.
References
- github.com/aws/aws-cli/security/advisories/GHSA-hqvf-45jj-mccq (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-18654 (opens in a new tab)
- aws.amazon.com/security/security-bulletins/2026-071-aws (opens in a new tab)
- github.com/aws/aws-cli (opens in a new tab)
- github.com/aws/aws-cli/blob/develop/CHANGELOG.rst (opens in a new tab)
- github.com/aws/aws-cli/blob/v2/CHANGELOG.rst (opens in a new tab)