Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach unauthenticated /cnf OTL route
-
DeliveryEnumerate ≤1000 CRC32 candidate tokens
-
ExploitRedeem valid token, no rate limit
-
ExecutionDownload peer config file
-
PersistExtract PrivateKey and PresharedKey
-
ImpactImpersonate peer on VPN network
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Cryptographic PRNG selection
|
| Exploitation Conditions | Exploitation requires an active/outstanding one-time link (OTL) for a target client to exist and network reachability to the wg-easy /cnf/:oneTimeLink route; the attacker needs no credentials (PR:N) and no user interaction. The exact enabling weakness is that OTL tokens are CRC32 over a 0-999 seed (≤1000 candidates per client ID) and the vulnerable route enforced neither rate limiting nor token expiration, so an active link can be brute-forced and expired links remained redeemable. Limiting factors that reduce real-world risk: the OTL feature must actually be in use and a link must be live within the exposure window (AT:P), and instances not exposed to attacker-reachable networks (e.g., admin UI bound to localhost or behind a VPN/reverse proxy) are not remotely exploitable. This is not persistent unauthenticated access against every default install - it depends on an operator having generated a one-time link. |
| Impact | This is a genuine high-priority issue rather than a high-CVSS paper tiger, but with an important precondition. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N, VC:H, SC:H) correctly captures unauthenticated network reach with high confidentiality impact to both the vulnerable system and the subsequent VPN network, while AT:P (attack requirements present) reflects that an OTL must actually be active to brute-force. The tiny 1000-value keyspace with no rate limiting means that once a link is live, recovery is near-certain and fast, so the effective barrier is timing/opportunity, not cryptographic strength. Countervailing signals: this is NOT in CISA KEV and no public exploit code was identified, and no EPSS score was provided, so there is no evidence of active or widespread exploitation yet. The 'confidentiality' impact is severe (VPN private keys), and the downstream ability to impersonate a peer gives a real integrity foothold on the VPN (reflected as SI:L). Net: prioritize patching for any internet-exposed wg-easy instance, but note the exposure window is limited to periods when one-time links are outstanding. |
| Exploit ScenarioDerived | An admin generates a one-time link to hand a WireGuard config to a new user. An unauthenticated attacker who can reach the wg-easy web interface enumerates all ≤1000 candidate CRC32 tokens for a client ID against /cnf/:oneTimeLink with no rate limiting, retrieves the config, and extracts the peer's PrivateKey and PresharedKey. The attacker then stands up their own WireGuard client with those keys and impersonates the legitimate peer on the VPN. No public exploit code was identified, but the tiny keyspace makes a custom script trivial. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 16, 2026
Peer credential disclosure in WireGuard Easy (wg-easy) through 15.3.0 lets unauthenticated network attackers recover a client's WireGuard PrivateKey and PresharedKey by brute-forcing the one-time configuration link. Because the OTL token is derived from CRC32 over a random value bounded to 0-999, an attacker faces at most 1000 candidate tokens per client ID against the unauthenticated /cnf/:oneTimeLink route, which had no rate limiting and did not enforce token expiration. There is no public exploit identified at time of analysis, but the small keyspace makes exploitation trivial once a valid link is active; the flaw was reported by VulnCheck and is fixed upstream.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - update wg-easy to a build that includes commit 66b292b (PR #2661) via https://github.com/wg-easy/wg-easy/commit/66b292b11bde3664f05ffb016c8082665d261ded, which adds server-side expiration enforcement on the /cnf/:oneTimeLink route (rejecting expired links with HTTP 410) and hardens session handling. Until you can upgrade, remove the wg-easy admin/download interface from untrusted networks by binding it to localhost or placing it behind a VPN or authenticated reverse proxy, and add rate limiting (for example via nginx limit_req) in front of the /cnf/ path to blunt the 1000-token brute force; the trade-off is that legitimate remote self-service config downloads become harder. Operationally, avoid generating one-time links unless immediately needed and treat any peer whose OTL was exposed as potentially compromised - rotate that peer's WireGuard PrivateKey and PresharedKey. Refer to the VulnCheck advisory (https://www.vulncheck.com/advisories/wireguard-easy-weak-token-generation-information-disclosure-via-otl-route) for details.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
wg-easy is a self-hosted web UI and management layer for WireGuard VPN that generates per-peer configuration files and exposes them via 'one-time link' (OTL) download URLs. The root cause is CWE-338 (use of a cryptographically weak PRNG): the OTL token is computed as CRC32 of a randomly chosen integer constrained to the range 0-999, so the effective token space collapses to at most 1000 values per client ID. CRC32 is a non-cryptographic checksum with no keyspace expansion, so the token entropy is bounded entirely by the 0-999 seed. The affected component is cpe:2.3:a:wg-easy:wg-easy (all versions through 15.3.0). The PR diff shows the OTL service itself carried developer comments acknowledging brute-force weakness ('This is known to be vulnerable to brute force attacks'), and that the download route (/cnf/[oneTimeLink].ts) did not check otl.expiresAt before serving the config, compounding the weak-token issue by leaving expired tokens redeemable.
Know when Wg Easy gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:L/SA:N
Unauthenticated network (PR:N/AV:N) but requires racing an active OTL window (AC:H); scope changes to the VPN network (S:C), high confidentiality from key recovery (C:H), low integrity from peer impersonation (I:L).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
WireGuard Easy through 15.3.0, fixed in commit 66b292b, contains a cryptographically weak one-time link token generation vulnerability that allows unauthenticated network attackers to recover WireGuard peer credentials by brute-forcing a keyspace of at most 1000 candidate tokens per client ID, as the token is computed using CRC32 over a random value constrained to 0-999. Attackers can enumerate candidate tokens against the unauthenticated /cnf/:oneTimeLink route, which lacks rate limiting and does not validate token expiration, to obtain a peer's PrivateKey and PresharedKey and impersonate that peer on the VPN network.
Executive ViewAI
WireGuard Easy through version 15.3.0 contains a critical vulnerability allowing unauthenticated remote attackers to steal VPN encryption credentials. While no public exploit currently exists, exploitation is trivial due to weak token validation, making rapid patching essential before weaponized attacks emerge. Organizations using wg-easy face imminent risk of complete VPN compromise enabling eavesdropping and traffic interception.
Apply vendor patch. Interim mitigations if patching is delayed: restrict firewall access to the configuration endpoint and implement WAF rate limiting on /cnf/:oneTimeLink; however, these measures do not fully eliminate risk due to the small exploit keyspace-vendor patch is mandatory.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-45013
GHSA-m894-wgpg-hwpv
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB