CWEweakness
CWE-322 Key Exchange without Entity Authentication
High
Official page ↗
- Abstraction
- Base
- Structure
- Simple
- Status
- Draft
- Likelihood of exploit
- High
- Languages
- Not Language-Specific
- CWE version
- 5.0
Description
The product performs a key exchange with an actor without verifying the identity of that actor.
Common consequences
• Access Control: Bypass Protection Mechanism — No authentication takes place in the key exchange process itself, bypassing an assumed protection of encryption. This may enable an attacker to impersonate an actor by modifying traffic between the two entities. Typically, this involves a victim client that contacts a malicious server that is impersonating a trusted server. If the client skips authentication or ignores an authentication failure, the malicious server may request authentication information from the user. The malicious server can then use this authentication information to log in to the trusted server using the victim's credentials, sniff traffic between the victim and trusted server, etc.
• Confidentiality: Read Application Data — The encrypted communication between a user and a trusted host may be subject to sniffing by any actor in the communication path.
Potential mitigations
• [Architecture and Design] Ensure that proper authentication is included in the system design.
• [Implementation] Understand and properly implement all checks necessary to ensure the identity of entities involved in encrypted communications.
Detection methods
• Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Related
Can precede · CWE (1)
- CWE-923 Improper Restriction of Communication Channel to Intended Endpoints weakness
Child of · CWE (1)
- CWE-306 Missing Authentication for Critical Functionality weakness
Peer of · CWE (1)
- CWE-295 Improper Certificate Validation weakness
Referenced by CVE · weakness (34)
- CVE-2026-94140 Rex versions through 1.16.1 for Perl accept an unknown SSH host key for remote rsync transfers because sync hardcodes… vulnerability
- CVE-2026-94423 Net::LibSSH versions before 0.004 for Perl authenticate to an unverified server because connect never checks the host key against… vulnerability
- CVE-2026-94134 The Apache Airflow SSH provider hook disables SSH host-key verification by default: unless `host_key` is configured or `no_host_key_check`… vulnerability
- CVE-2026-94135 The Apache Airflow SFTP provider's deferrable code paths (`SFTPTrigger`, `SFTPHookAsync`, `SFTPClientPool`) disable SSH host-key… vulnerability
- CVE-2026-107675 FFmpeg through 9.0.2 contains a missing host key verification vulnerability in the libssh-based sftp protocol handler that allows network… vulnerability
- CVE-2026-77703 Key exchange without entity authentication vulnerability in HAVELSAN Inc. vulnerability
- CVE-2026-89422 Key Exchange without Entity Authentication vulnerability in Erlang/OTP ssl allows a peer that answers a TLS 1.3 client connection to… vulnerability
- CVE-2026-18654 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… vulnerability
- CVE-2026-58065 The Apache Airflow Git provider runs its git-over-SSH operations with `StrictHostKeyChecking=no` by default, disabling SSH host-key… vulnerability
- CVE-2026-11745 A vulnerability has been identified in centraldogma-server-mirror-git versions prior to 0.84.0, where the Git mirror SSH client does not… vulnerability
- CVE-2026-45361 Apache Airflow providers-google's `ComputeEngineSSHHook` disables SSH host-key verification by default, exposing SSH traffic between an… vulnerability
- CVE-2026-44467 The Claude Desktop app gives you Claude Code with a graphical interface built for running multiple sessions side by side. vulnerability
- CVE-2026-1354 Zero Motorcycles firmware versions 44 and prior enable an attacker to forcibly pair a device with the motorcycle via Bluetooth. vulnerability
- CVE-2025-13914 A Key Exchange without Entity Authentication vulnerability in the SSH implementation of Juniper Networks Apstra allows a unauthenticated,… vulnerability
- CVE-2026-33697 Cocos AI is a confidential computing system for AI. vulnerability
- CVE-2026-1709 A flaw was found in Keylime. vulnerability
- CVE-2025-62501 SSH Hostkey misconfiguration vulnerability in Archer AX53 and Archer BE3600 (tmpserver modules) allows attackers to obtain device… vulnerability
- CVE-2025-10966 curl's code for managing SSH connections when SFTP was done using the wolfSSH powered backend was flawed and missed host verification… vulnerability
- CVE-2025-54422 Sandboxie is a sandbox-based isolation software for 32-bit and 64-bit Windows NT-based operating systems. vulnerability
- CVE-2025-20163 A vulnerability in the SSH implementation of Cisco Nexus Dashboard Fabric Controller (NDFC) could allow an unauthenticated, remote attacker… vulnerability
- CVE-2024-47519 Backup uploads to ETM subject to man-in-the-middle interception vulnerability
- CVE-2024-7516 A vulnerability in Brocade Fabric OS versions before 9.2.2 could allow man-in-the-middle attackers to conduct remote Service Session… vulnerability
- CVE-2024-6572 Improper host key checking in active check 'Check SFTP Service' and special agent 'VNX quotas and filesystem' in Checkmk before Checkmk… vulnerability
- CVE-2024-4871 A vulnerability was found in Satellite. vulnerability
- CVE-2022-39250 Matrix JavaScript SDK is the Matrix Client-Server software development kit (SDK) for JavaScript. vulnerability
- CVE-2022-39252 matrix-rust-sdk is an implementation of a Matrix client-server library in Rust, and matrix-sdk-crypto is the Matrix encryption library. vulnerability
- CVE-2022-39254 matrix-nio is a Python Matrix client library, designed according to sans I/O principles. vulnerability
- CVE-2022-39246 matrix-android-sdk2 is the Matrix SDK for Android. vulnerability
- CVE-2022-39248 matrix-android-sdk2 is the Matrix SDK for Android. vulnerability
- CVE-2022-39249 Matrix Javascript SDK is the Matrix Client-Server SDK for JavaScript. vulnerability
Referenced by CWE · has member (1)
- CWE-884 CWE Cross-section view
Referenced by CWE · peer of (1)
- CWE-295 Improper Certificate Validation weakness