Skip to main content
EPSS 0.2%top 85%

CVE-2026-13734: auth in zephyrproject zephyr

0
Medium
VulnerabilityCVE-2026-13734cvecve-2026-13734
Published: 08/28/2026 (08/28/2026, 20:38:49 UTC)
Source: CVE Database V5
Vendor/Project: zephyrproject
Product: zephyr

Description

Zephyr's WireGuard VPN data-plane receive handler wg_process_data_message() in subsys/net/lib/wireguard/wg_crypto.c validated the anti-replay counter too late. After AEAD decryption of a MESSAGE_TRANSPORT_DATA packet succeeded, the code committed several peer-state changes — update_peer_addr() (endpoint roaming update), the keypair->last_rx/peer->last_rx liveness timers, and keypair_update() (promote next→current and destroy the previous keypair) — and only afterward called wg_check_replay(). On a replayed packet the replay check returned -EINVAL, but none of the preceding mutations were rolled back. The AEAD tag authenticates content but not freshness, so a replayed-but-authentic transport packet decrypts correctly. An attacker who captures one valid ciphertext off the wire (an on-path or shared-medium observer) can re-inject it from an arbitrary spoofed source address. Reaching the handler requires no credentials: it is driven directly from inbound UDP datagrams via the dispatch in subsys/net/lib/wireguard/wg.c. Because the state mutations committed before the replay check, the replay repoints the peer endpoint to the attacker-chosen source address (roaming hijack), redirecting the victim's subsequent outbound tunnel traffic until the legitimate peer's next packet re-corrects it; it also prematurely destroys the previous keypair and refreshes the RX liveness timer. The tunnel payload stays encrypted under the session keypair, so this is an integrity/availability impact (traffic redirection and session disruption), not payload disclosure. The fix moves wg_check_replay() to immediately after a successful decrypt, before any peer-state mutation, matching the WireGuard specification and the Linux reference implementation.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H

Affected software

zephyrproject

zephyr

Affected versions
>=4.4.0 <4.4.2
GitHub Actionsmore threats →cve
zephyr
pkg:github/zephyr
Affected versions
>=4.4.0 <4.4.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 15:06:21 UTC

Technical Analysis

The vulnerability exists in the WireGuard VPN data-plane receive handler wg_process_data_message() in Zephyr's network subsystem. After successful AEAD decryption of a MESSAGE_TRANSPORT_DATA packet, several peer-state changes are committed before the replay check wg_check_replay() is performed. If a replayed packet is detected, the replay check returns an error but does not roll back the prior state mutations. This allows an attacker who can capture a valid ciphertext to re-inject it from a spoofed source address, causing the victim's peer endpoint to be redirected (roaming hijack), prematurely destroying the previous keypair and refreshing liveness timers. The payload remains encrypted, so the impact is on traffic redirection and session disruption rather than confidentiality. The fix involves moving the replay check immediately after decryption and before any state changes, aligning with the WireGuard specification and Linux reference implementation.

Potential Impact

An attacker capable of capturing a valid encrypted WireGuard packet can replay it from an arbitrary spoofed source address without credentials. This causes the victim's WireGuard peer endpoint to be redirected to the attacker-chosen address, disrupting the tunnel session and prematurely destroying cryptographic keypairs. The payload confidentiality is not affected, but the integrity and availability of the VPN tunnel are compromised, potentially redirecting traffic and causing session disruption until corrected by legitimate packets.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability fix involves reordering the replay check to occur immediately after decryption and before any peer-state mutations. Until an official fix is released, monitor vendor communications for updates. No generic mitigations are specifically recommended by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
zephyr
Date Reserved
2026-06-29T14:44:08.624Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a9206c1acd9273b4963cdf2

Added to database: 08/28/2026, 22:08:01 UTC

Last enriched: 09/07/2026, 15:06:21 UTC

Last updated: 10/11/2026, 06:48:14 UTC

Views: 62

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses