cve.bz

CVE-2026-18654 amazon aws command line interface

6.9 mediumEPSS 0.5%Fix available

Medium (6.9) in amazon aws command line interface. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in awscli 1.45.28.

On this page
Key exchange without entity authentication in the EMR SSH helper commands in Amazon AWS CLI before 1.45.28 and AWS CLI v2 before 2.35.3 might allow man-in-the-middle attackers to intercept SSHsessions and file transfers via network positioning between the client and the EMR cluster endpoint. To remediate this issue, users should upgrade to AWS CLI v1 1.45.28 or later, or AWS CLI v2 2.35.3 or later.

Severity

CVSS 4.0

6.9 medium
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N

CVSS 3.1

6.8 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 41st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-08-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-322 Key Exchange without Entity Authentication
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-18654 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-18654?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-18654?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-18654 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
aws-clithrough 1.45.27
aws-clithrough 2.35.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hqvf-45jj-mccqPyPIawscli<1.45.281.45.28
PYSEC-2026-3627PyPIawscli<1.45.281.45.28

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The AWS CLI disables SSH host key verification (StrictHostKeyChecking=no) when running the `aws emr ssh`, `aws emr socks`, `aws emr put`, and `aws emr get` subcommands against an Amazon EMR cluster. An attacker holding a machine-in-the-middle position on the network path between the client and the EMR node can impersonate the target host, causing information transmitted over the SSH session to be disclosed. Exploitation requires both interactive use of one of these EMR subcommands and an active MITM position, giving a high attack complexity; the vulnerable code is present in all shipped builds and is gated only by version (fixed in awscli 1.45.28 for the v1 line and awscli2 2.35.3 for the v2 line). Red Hat rates the impact of this flaw as Moderate. Red Hat products ship the affected command-line tool but do not invoke the EMR SSH helper subcommands as part of any product function, so the affected components are deferred.

Red Hat's mitigation

Users who do not run the `aws emr ssh`, `aws emr socks`, `aws emr put`, or `aws emr get` subcommands are not exposed. Where these subcommands are required, verify the EMR node's SSH host key out-of-band before connecting, or restrict their use to trusted networks where a machine-in-the-middle attacker cannot intercept traffic. Upgrading to awscli 1.45.28 or later (v1 line) or awscli2 2.35.3 or later (v2 line) removes the vulnerable behavior.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10awscli2Fix deferred
Red Hat Enterprise Linux 7awscliFix deferred
Red Hat Enterprise Linux 8awscliFix deferred
Red Hat Enterprise Linux 9awscli2Fix deferred
Red Hat Enterprise Linux 9fence-agentsFix deferred
Red Hat Hardened Imagesmariadb11.8Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-18654.

References

Check your stackJSON