{"schemaVersion":3,"id":"CVE-2026-18654","aliases":["GHSA-hqvf-45jj-mccq","PYSEC-2026-3627","CGA-2jgc-whfr-56vq","CGA-5q4q-3jpm-2fh9","CGA-g8hv-hxq6-fxmr"],"status":"published","duplicateOf":null,"title":null,"description":"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.\n\n\n\nTo remediate this issue, users should upgrade to AWS CLI v1 1.45.28 or later, or AWS CLI v2 2.35.3 or later.","dates":{"published":"2026-08-03T19:38:51.922Z","modified":"2026-08-04T19:32:59.576Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.9,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.9,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":6.9,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":6.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N","exploitability":5.6,"impact":6.7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":6.9,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.9,"severity":"medium","vector":"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/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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00291,"percentile":0.20348,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00291},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00291,"percentile":0.20348}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00291,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00291,"percentile":0.20348}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-322","name":"Key Exchange without Entity Authentication","description":"The product performs a key exchange with an actor without verifying the identity of that actor.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/322.html"}],"affected":[{"vendor":"chainguard","product":"localstack","name":"localstack","label":"localstack","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/localstack","purlType":"apk","versions":[{"text":"< 4.14.0-r22","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.14.0-r22","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.12-aws-cli-1","name":"py3.12-aws-cli-1","label":"py3.12-aws-cli-1","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.12-aws-cli-1","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"aws","product":"aws-cli","name":"aws-cli","label":"aws-cli","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.45.27","noFixRecorded":false,"fixedIn":null},{"text":"≤ 2.35.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.45.27 | ≤ 2.35.2","eol":null,"hubHref":"/vendor/aws/aws-cli"},{"vendor":"PyPI","product":"awscli","name":"awscli","label":"awscli","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/awscli","purlType":"pypi","versions":[{"text":"< 1.45.28","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.45.28","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/aws/aws-cli/blob/develop/CHANGELOG.rst","label":"github.com/aws/aws-cli/blob/develop/CHANGELOG.rst","hostname":"github.com","tags":["Patch","Release Notes","WEB","FIX"]},{"url":"https://github.com/aws/aws-cli/blob/v2/CHANGELOG.rst","label":"github.com/aws/aws-cli/blob/v2/CHANGELOG.rst","hostname":"github.com","tags":["Patch","Release Notes","WEB","FIX"]},{"url":"https://aws.amazon.com/security/security-bulletins/2026-071-aws/","label":"aws.amazon.com/security/security-bulletins/2026-071-aws/","hostname":"aws.amazon.com","tags":["Vendor Advisory","Advisory"]},{"url":"https://github.com/aws/aws-cli/security/advisories/GHSA-hqvf-45jj-mccq","label":"github.com/aws/aws-cli/security/advisories/GHSA-hqvf-45jj-mccq","hostname":"github.com","tags":["Release Notes","WEB","Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18654","label":"nvd.nist.gov/vuln/detail/CVE-2026-18654","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://aws.amazon.com/security/security-bulletins/2026-071-aws","label":"aws.amazon.com/security/security-bulletins/2026-071-aws","hostname":"aws.amazon.com","tags":["WEB"]},{"url":"https://github.com/aws/aws-cli","label":"github.com/aws/aws-cli","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/awscli","label":"pypi.org/project/awscli","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-hqvf-45jj-mccq","label":"github.com/advisories/GHSA-hqvf-45jj-mccq","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/18xxx/CVE-2026-18654.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/18xxx/CVE-2026-18654.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-P48R-WJ7X-P8HX"]},"timeline":[{"kind":"published","date":"2026-08-03T19:38:51.922Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-04T19:32:59.576Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T09:27:45.250Z","stale":false,"partial":false}}