Vulnerabilities in pkg:golang/github.com/gravitl/netmaker
PACKAGECVE-2026-32599 is a MODERATE sql injection vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting Github.com/gravitl/netmaker libraries in the Go ecosystem. The issue involves netmaker has a boolean‑based sql injection. Remediation is available by upgrading affected packages to version 1.5.0.
pkg:golang/github.com/gravitl/netmaker
Vulnerability advisories affecting package pkg:golang/github.com/gravitl/netmaker. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-r8cr-4f9w-7r75 | CVE-2026-32599 | MODERATE | Netmaker has a boolean‑based SQL Injection |
| GHSA-8x8h-hcq8-jwwx | CVE-2023-32077 | HIGH | Netmaker has Hardcoded DNS Secret Key |
| GHSA-86f3-hf24-76q4 | CVE-2022-23650 | HIGH | Use of Hard-coded Cryptographic Key in Netmaker |
| GHSA-qpv2-rwc8-c993 | CVE-2026-38651 | CRITICAL | Netmaker does not verify JWT signatures for host tokens |
| GHSA-ch3w-9456-38v3 | CVE-2026-29195 | MODERATE | Netmaker has Privilege Escalation from Admin to Super-Admin via User Update |
| GHSA-4hgg-c4rr-6h7f | CVE-2026-29196 | HIGH | Netmaker: Service User with Network Access Can Access config files with WireGuard Private Keys |
| GHSA-hmqr-wjmj-376c | CVE-2026-29194 | HIGH | Netmaker has Insufficient Authorization in Host Token Verification |
| GHSA-rhr9-hgcm-x289 | CVE-2026-29771 | HIGH | Netmaker Vulnerable to Denial of Service via Server Shutdown Endpoint |
| GHSA-826j-8wp2-4x6q | CVE-2023-32079 | HIGH | Netmaker Vulnerable to Privilege Escalation From Non Admin To Admin User |
| GHSA-256m-j5qw-38f4 | CVE-2023-32078 | HIGH | Netmaker IDOR Allows User to Update Other User's Password |
| GHSA-ggf6-638m-vqmg | CVE-2022-36110 | HIGH | Netmaker vulnerable to Insufficient Granularity of Access Control |
| GHSA-6rrw-4fm9-rghv | CVE-2022-0664 | HIGH | Use of Hard-coded Cryptographic Key in Netmaker |
CVE-2026-32599 at a Glance
How to Fix CVE-2026-32599
To remediate this vulnerability, upgrade all affected Github.com/gravitl/netmaker dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/gravitl/netmaker to 1.5.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/gravitl/netmaker
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-32599, inspect your project dependencies for Github.com/gravitl/netmaker:
inspect dependencies for github.com/gravitl/netmaker
Analyze the terminal output to locate any version of Github.com/gravitl/netmaker in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.5.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'), where the product constructs all or part of an sql command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended sql command when it is sent to a downstream component. without sufficient removal or quoting of sql syntax in user-controllable inputs, the generated sql query can cause those inputs to be interpreted as sql instead of ordinary user data. In Github.com/gravitl/netmaker, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-32599 Affected Github.com/gravitl/netmaker Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/gravitl/netmaker
|
Go |
< 1.5.0
|
1.5.0
|
References
Frequently Asked Questions
What is CVE-2026-32599?
Which Github.com/gravitl/netmaker versions are affected?
What version fixes CVE-2026-32599?
Is github.com/gravitl/netmaker affected?
What CWE is associated with CVE-2026-32599?
How can I check Go dependencies for CVE-2026-32599?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-r8cr-4f9w-7r75",
"modified" : "2026-09-15T19:48:49Z",
"published" : "2026-09-15T19:48:49Z",
"aliases" : [ "CVE-2026-32599" ],
"summary" : "Netmaker has a boolean‑based SQL Injection",
"details" : "# SQL Injection in Netmaker SQLite Database Backend\n\n## Summary\n\nThe `sqliteDeleteRecord` function in Netmaker's database layer constructs SQL `DELETE` statements using direct string concatenation of user-supplied input. This allows an authenticated attacker to perform **boolean-based SQL injection**.\n\n---\n\n## Details\n\nThe endpoint:\n\n\nDELETE /api/dns/{network}/{domain}\n\n\npasses user-controlled path parameters through the following flow:\n\n\nlogic.DeleteDNS → database.DeleteRecord → sqliteDeleteRecord\n\n\nDepending on the configured database backend, the request eventually reaches the SQLite database implementation.\n\n### Vulnerable Code\n\nThe SQL query is constructed using direct string concatenation without parameterization.\n\n```go\n// database/sqlite.go\ndeleteSQL := \"DELETE FROM \" + tableName + \" WHERE key = \\\"\" + key + \"\\\"\"\n\nThe key value originates from user input ({domain} path parameter) and is embedded directly into the SQL query.\n\nExploitation\n\nAn authenticated attacker can inject SQL operators into the {domain} path parameter to manipulate the query logic.\n\nBecause this injection is boolean-based, attackers extract data indirectly by observing the outcome of the operation:\n\nIf the injected condition evaluates true, the DNS record is deleted.\n\nIf the condition evaluates false, the DNS record remains.\n\nBy repeating this process, an attacker can infer information such as:\n\nDatabase table names\n\nColumn names\n\nColumn values\n\nValue lengths\n\nImpact\n\nAn authenticated attacker can exploit this vulnerability to extract data from arbitrary database tables when using the SQLite backend.\n\nUnaffected backend:\n\nPostgreSQL (uses parameterised queries with $1, $2 placeholders)\n\nPatches\n\nThis vulnerability is fixed in version (fill in).\n\nThe patch replaces string concatenation with parameterised SQL queries for all user-supplied values in database operations.\n\n\n---\nCredit\n\nArtem Danilov\n(Positive Technologies)\n\nDaniil Satyaev (Independent)",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/gravitl/netmaker"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.5.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/gravitl/netmaker/security/advisories/GHSA-r8cr-4f9w-7r75"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/gravitl/netmaker"
}, {
"type" : "WEB",
"url" : "https://github.com/gravitl/netmaker/releases/tag/v1.5.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-89" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-09-15T19:48:49Z",
"nvd_published_at" : null
}
}