# CVE-2026-32599: Netmaker boolean-based SQL injection in DNS deletion

Source: https://junglewise.ai/threats/cve-2026-32599-netmaker-boolean-based-sql-injection-in-dns-deletion  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-15. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-32599 · Severity: medium · CVSS 4 · Published 2026-09-15

Netmaker is a network management and orchestration platform. The DNS deletion API endpoint contains a SQL injection vulnerability that allows authenticated users to extract sensitive data from the SQLite database by crafting specially-formed DNS record names and observing whether the deletion succeeds or fails. This could allow an attacker to discover database structure, usernames, credentials, and other confidential information stored in the database.

Technologies: [github.com/gravitl/netmaker (Go)](https://junglewise.ai/threats/technologies/github-com-gravitl-netmaker). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2026-32599 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-32599 being exploited in the wild.

**How severe is CVE-2026-32599?** Medium severity, with a CVSS score of 4, published 15 September 2026.

**Which products and versions are affected?** github.com/gravitl/netmaker (Go) < 1.5.0, SEMVER:introduced=0,fixed=1.5.0.

**Is there a fix for CVE-2026-32599?** Yes. github.com/gravitl/netmaker (Go): upgrade to 1.5.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-32599 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-32599?** Check whether you run github.com/gravitl/netmaker (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/gravitl/netmaker (Go): upgrade to 1.5.0 or later

  ```sh
  go get github.com/gravitl/netmaker@v1.5.0
  ```


## Technical details

The vulnerability exists in Netmaker's `sqliteDeleteRecord` function, which constructs SQL DELETE statements using string concatenation: `deleteSQL := "DELETE FROM " + tableName + " WHERE key = \"" + key + "\""`. The `key` value originates from the {domain} path parameter of the DELETE /api/dns/{network}/{domain} endpoint and is embedded directly without parameterization. While PostgreSQL deployments are unaffected due to use of parameterized queries, SQLite backends are vulnerable. An authenticated attacker can inject SQL operators (e.g., `" OR 1=1 --`) into the domain parameter to manipulate query logic. By observing whether the DNS record is deleted (condition true) or retained (condition false), the attacker can perform time-efficient data exfiltration to discover table names, column names, values, and their lengths. The vulnerability requires authentication but no user interaction beyond crafting API requests. Patches are available in version 1.5.0 and later, which replace string concatenation with parameterized SQL queries.

## Affected products

- Gravitl Netmaker < 1.5.0

## Identifiers

- CVE-2026-32599
- GHSA-r8cr-4f9w-7r75
- GO-2026-6485

## Timeline

- 2026-09-15: disclosed: Vulnerability published in GitHub Advisory Database
- 2026-09-15: patched: Fixed in version 1.5.0 released February 18, 2027

## References

- [https://github.com/gravitl/netmaker/security/advisories/GHSA-r8cr-4f9w-7r75](https://github.com/gravitl/netmaker/security/advisories/GHSA-r8cr-4f9w-7r75)
- [https://github.com/gravitl/netmaker/releases/tag/v1.5.0](https://github.com/gravitl/netmaker/releases/tag/v1.5.0)
- [https://api.github.com/repos/gravitl/netmaker/security-advisories/GHSA-r8cr-4f9w-7r75](https://api.github.com/repos/gravitl/netmaker/security-advisories/GHSA-r8cr-4f9w-7r75)

## Related threats

- [Gravitl Netmaker authentication bypass in VerifyHostToken](https://junglewise.ai/threats/cve-2026-38651-gravitl-netmaker-authentication-bypass-in-verifyhosttoken)
- [Netmaker: Service User with Network Access Can Access config files with WireGuard Private Keys](https://junglewise.ai/threats/cve-2026-29196-netmaker-service-user-with-network-access-can-access-config-files)
- [GO-2026-4654 - Netmaker has Privilege Escalation from Admin to Super-Admin via User Update in github.com/gravitl/netmaker](https://junglewise.ai/threats/cve-2026-29195-netmaker-has-privilege-escalation-from-admin-to-super-admin-via)
- [GO-2026-4655 - Netmaker has Insufficient Authorization in Host Token Verification in github.com/gravitl/netmaker](https://junglewise.ai/threats/cve-2026-29194-netmaker-has-insufficient-authorization-in-host-token)
- [Gravitl Netmaker denial of service via server shutdown endpoint](https://junglewise.ai/threats/cve-2026-29771-gravitl-netmaker-denial-of-service-via-server-shutdown-endpoint)
