/

CVE-2026-130802

Severity:

CRITICAL RISK

(9.1)

Replay Attack (CWE-294) in NFC Authentication Handshake

CVE-2026-130802

Received

Vulnerability type

Category:

Replay Attack

CWE:

CWE-294, CWE-330

Impact:

Authentication Bypass

Severity:

CRITICAL RISK

(9.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

The NFC authentication handshake uses a fixed challenge rather than a unique, unpredictable value for each session. If an attacker can capture a valid response and retransmit it, the system may accept the replayed response and authenticate the attacker.

Affected context

The issue occurs in NFC authentication flows where a challenge remains static across sessions instead of being freshly generated. It becomes risky when an attacker can observe a legitimate exchange and the system accepts a previously recorded response as valid for a later authentication attempt.

Exploit preconditions

  • Attack surface: NFC authentication communications
  • Required access: Ability to observe and retransmit a valid authentication response; whether authentication or physical proximity is required depends on the deployment
  • Trigger point: The system processes a response during a subsequent authentication session
  • Why exploitation is possible: A static challenge does not distinguish a fresh response from a recorded one

Why this happens

The handshake reuses a fixed challenge instead of generating a unique, unpredictable value for each session. This enables response replay and maps to CWE-294: Authentication Bypass by Capture-replay. The predictable challenge also relates to CWE-330: Use of Insufficiently Random Values, because it lacks the freshness and unpredictability needed to prevent reuse of recorded authentication material.

Potential impact

  • An attacker may authenticate by replaying a previously captured response
  • Unauthorized access to NFC-protected functions or resources could occur
  • Actions performed under the authenticated identity may be misattributed
  • Repeated exploitation could undermine confidence in the authentication system

General mitigation guidance

Mitigation generally focuses on ensuring that each authentication exchange is fresh and bound to its specific session.

Common defensive patterns include:

  • Generating a unique, cryptographically unpredictable challenge for each session
  • Binding authentication responses to the challenge, session context, and intended peer
  • Rejecting reused, expired, or out-of-context responses
  • Using established authentication protocols with replay protection
  • Limiting the privileges and accessible functions available after authentication

These patterns reduce reliance on static values and limit the consequences of authentication failures.

How teams detect issues like this

High-level detection approaches include:

  • Reviewing protocol implementations for constants or reused values in challenge-generation paths
  • Using static analysis or code review to identify predictable randomness and missing freshness checks
  • Testing whether previously observed responses are accepted in later sessions
  • Enforcing protocol policies that require per-session challenges, response binding, and replay rejection

Automated security review tools may help flag predictable values and authentication flows without explicit replay defenses.

Sources

SourceLink
0xd34d.github.io0xd34d.github.io/hanshow/hanshowned.html

Frequently asked

questions

The description identifies NFC as the attack surface. Exploitation depends on whether an attacker can observe and retransmit the authentication exchange; the required proximity and communication conditions vary by implementation.

An attacker generally needs a valid response to capture and a way to submit it during another authentication attempt. Additional access requirements depend on the deployment.

Use a fresh, unpredictable challenge for every session and bind the response to that challenge and the relevant session context.

Follow established authentication protocols with replay protection, review challenge generation for reuse or predictability, and test that old responses are rejected.

Find out what's already
exploitable in your codebase.