Skip to main content

WireGuard Easy CVE-2026-63089

| EUVDEUVD-2026-45013 CRITICAL
Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) (CWE-338)
2026-07-16 VulnCheck GHSA-m894-wgpg-hwpv
9.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach unauthenticated /cnf OTL route
  2. Delivery
    Enumerate ≤1000 CRC32 candidate tokens
  3. Exploit
    Redeem valid token, no rate limit
  4. Execution
    Download peer config file
  5. Persist
    Extract PrivateKey and PresharedKey
  6. Impact
    Impersonate 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

wg-easy patch: 66b292b11bde3664f05ffb016c8082665d261ded
wg-easy 0 ≤15.3.0

Affected Packages

euvd wg_easy no fix

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

Vendor (VulnCheck) PRIMARY 9.0 CRITICAL
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
vuln.today AI 7.5 HIGH

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).

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
Low
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Medium
popular self-hosted WireGuard admin UI, common in homelab/SMB, not enterprise-ubiquitous
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +45
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy