CVSS 4.0
6.9 mediumCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:NMedium (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.
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:NCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:Nawscli (PyPI): fixed in 1.45.28Explain 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.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| aws-cli | through 1.45.27 |
| aws-cli | through 2.35.2 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-hqvf-45jj-mccq | PyPI | awscli | <1.45.28 | 1.45.28 |
| PYSEC-2026-3627 | PyPI | awscli | <1.45.28 | 1.45.28 |
Red Hat rates this Moderate.
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.
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.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | awscli2 | Fix deferred | |
| Red Hat Enterprise Linux 7 | awscli | Fix deferred | |
| Red Hat Enterprise Linux 8 | awscli | Fix deferred | |
| Red Hat Enterprise Linux 9 | awscli2 | Fix deferred | |
| Red Hat Enterprise Linux 9 | fence-agents | Fix deferred | |
| Red Hat Hardened Images | mariadb11.8 | Not 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.