CVE-2026-32599: Netmaker has a boolean‑based SQL Injection
SQL Injection in Netmaker SQLite Database Backend Summary The 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.
Published Sep 15, 2026
Affected packages
github.com/gravitl/netmaker
- Ecosystem
- Go
- Affected
- < 1.5.0
- Fixed in
- 1.5.0
- Check
go list -m github.com/gravitl/netmaker
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
SQL Injection in Netmaker SQLite Database Backend
Summary
The 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.
---
Details
The endpoint:
DELETE /api/dns/{network}/{domain}
passes user-controlled path parameters through the following flow:
logic.DeleteDNS → database.DeleteRecord → sqliteDeleteRecord
Depending on the configured database backend, the request eventually reaches the SQLite database implementation.
Vulnerable Code
The SQL query is constructed using direct string concatenation without parameterization.
// database/sqlite.go
deleteSQL := "DELETE FROM " + tableName + " WHERE key = \"" + key + "\""
The key value originates from user input ({domain} path parameter) and is embedded directly into the SQL query.
Exploitation
An authenticated attacker can inject SQL operators into the {domain} path parameter to manipulate the query logic.
Because this injection is boolean-based, attackers extract data indirectly by observing the outcome of the operation:
If the injected condition evaluates true, the DNS record is deleted.
If the condition evaluates false, the DNS record remains.
By repeating this process, an attacker can infer information such as:
Database table names
Column names
Column values
Value lengths
Impact
An authenticated attacker can exploit this vulnerability to extract data from arbitrary database tables when using the SQLite backend.
Unaffected backend:
PostgreSQL (uses parameterised queries with $1, $2 placeholders)
Patches
This vulnerability is fixed in version (fill in).
The patch replaces string concatenation with parameterised SQL queries for all user-supplied values in database operations.
---
Credit
Artem Danilov
(Positive Technologies)
Daniil Satyaev (Independent)References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-38651
Netmaker does not verify JWT signatures for host tokens
critical8.2Apr 28, 2026CVE-2026-29194
Netmaker has Insufficient Authorization in Host Token Verification
high8.1Mar 9, 2026CVE-2026-29195
Netmaker has Privilege Escalation from Admin to Super-Admin via User Update
medium6.9Mar 9, 2026CVE-2026-29196
Netmaker: Service User with Network Access Can Access config files with WireGuard Private Keys
high8.7Mar 9, 2026CVE-2026-29771
Netmaker Vulnerable to Denial of Service via Server Shutdown Endpoint
high8.7Mar 4, 2026
