Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-115325 Overview
CVE-2026-115325 is an authorization bypass vulnerability in Netmaker through version 1.7.0. The flaw resides in the updateExtClient handler within controllers/ext_client.go. The handler retrieves external clients by clientid without scoping the lookup to the target network. Network-scoped users with external client permissions on one network can therefore modify external clients on networks they do not administer.
Attackers send PUT requests to /api/extclients/{network}/{clientid} to replace WireGuard public keys, disable clients, and obtain WireGuard private keys issued to other networks. The weakness is tracked as CWE-639: Authorization Bypass Through User-Controlled Key.
Critical Impact
Authenticated attackers with low-privilege external client permissions on any network can hijack WireGuard clients across every network managed by the Netmaker server, obtaining private keys and pivoting into isolated VPN segments.
Affected Products
- Netmaker versions up to and including 1.7.0
- Netmaker self-hosted deployments exposing the /api/extclients/ REST endpoint
- Netmaker Professional and open-source editions sharing the ext_client.go controller
Discovery Timeline
- 2026-10-22 - CVE-2026-115325 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-115325
Vulnerability Analysis
Netmaker exposes a REST API for managing WireGuard mesh networks and external (non-mesh) clients. The updateExtClient handler accepts a network path parameter and a clientid path parameter. In vulnerable builds, the handler calls logic.GetExtClientByName(r.Context(), clientid) using only the clientid.
Because the lookup ignores the network parameter, any authenticated user with external client permissions on at least one network can target clientid values belonging to any other network. The authorization check validates the caller's rights against the URL-supplied network, but the record returned belongs to a different network, breaking the trust boundary.
Once the handler loads the mismatched client, the subsequent update logic rewrites its WireGuard configuration. The server regenerates or returns the private key associated with the client, which the attacker can retrieve from the response.
Root Cause
The root cause is an unscoped data lookup followed by a scope-limited authorization check. The patch replaces the single-argument GetExtClientByName call with logic.GetExtClient(r.Context(), clientid, network), binding the lookup to the authorized network tuple.
Attack Vector
An attacker needs valid Netmaker credentials with external client permissions on any single network. They enumerate or guess clientid values on other networks, then issue a PUT to /api/extclients/{attacker_network}/{victim_clientid} carrying a crafted payload. The response contains the regenerated WireGuard private key, enabling full impersonation of the victim client.
// Patch: controllers/ext_client.go - PR #4153 / commit 332d8b9
return
}
clientid := params["clientid"]
- oldExtClient, err := logic.GetExtClientByName(r.Context(), clientid)
+ network := params["network"]
+ oldExtClient, err := logic.GetExtClient(r.Context(), clientid, network)
if err != nil {
slog.Error(
"failed to retrieve extclient",
Source: Netmaker commit 332d8b9bab030ee65e78b9141259e4e0e80ac4b0
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-115325
Indicators of Compromise
- PUT requests to /api/extclients/{network}/{clientid} where the authenticated user's permitted network does not match the client's actual home network.
- Unexpected WireGuard public key rotations on external client records without a corresponding administrator action in audit logs.
- External clients transitioning to a disabled state outside of change windows, especially across multiple networks in rapid succession.
- API responses returning WireGuard private key material to users who did not originally provision the external client.
Detection Strategies
- Correlate Netmaker API access logs with the server's internal network membership database to flag cross-network clientid references in updateExtClient calls.
- Alert on any single user account modifying external clients across more than one network within a short time window.
- Hunt in reverse proxy or load balancer logs for PUT /api/extclients/ requests originating from accounts that historically only consume VPN services.
Monitoring Recommendations
- Enable Netmaker verbose logging for the controllers/ext_client.go handler path and forward events to a centralized SIEM.
- Monitor WireGuard peer configuration changes on edge nodes and compare against the Netmaker control plane change history.
- Track issuance of new client configuration files containing private keys and alert when the requester differs from the client owner.
How to Mitigate CVE-2026-115325
Immediate Actions Required
- Upgrade Netmaker to a release containing commit 332d8b9bab030ee65e78b9141259e4e0e80ac4b0 from pull request #4153.
- Rotate WireGuard keys for all external clients across every network managed by the affected server before resuming normal operations.
- Audit Netmaker user accounts and remove external client permissions that are not strictly required.
- Review API access logs for the past 90 days for suspicious PUT /api/extclients/ activity and revoke any clients that may have been tampered with.
Patch Information
The fix is published in the upstream Netmaker repository. See the Netmaker commit log and issue #3875. Additional context is available in the VulnCheck advisory. Operators running Netmaker 1.7.0 or earlier must upgrade to the patched release.
Workarounds
- Restrict access to the /api/extclients/ endpoint at the reverse proxy layer, allowing only administrator source addresses until patching completes.
- Temporarily revoke external client management permissions from non-administrator roles in the Netmaker RBAC configuration.
- Place the Netmaker API behind an authenticated gateway that enforces per-network path authorization independent of the application.
# Example NGINX restriction limiting /api/extclients/ to admin networks
location ~ ^/api/extclients/ {
allow 10.0.0.0/24; # admin management subnet
deny all;
proxy_pass http://netmaker_backend;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

