LIVE NEWSROOM · --:-- · May 25, 2026
A LIBRARY FOR SECURITY RESEARCHERS

CWE WEAKNESSES  /  CWE-322

CWE-322

Key Exchange without Entity Authentication

Base EXPLOIT LIKELIHOOD: HIGH

What it is

The product performs a key exchange with an actor without verifying the identity of that actor.

Performing a key exchange will preserve the integrity of the information sent between two entities, but this will not guarantee that the entities are who they claim they are. 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.

Impact

Access ControlBypass Protection Mechanism
ConfidentialityRead Application Data

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.

Related weaknesses

Test & detect

Browse all common weaknesses, check related exploited CVEs, or map to ATT&CK techniques.

Source: MITRE CWE. View on cwe.mitre.org →

Scroll to Top