NocoDB: Server-Side Request Forgery via Database Connection Host
cve-program · CVE-2026-47382
PublishedNocoDB is software for building databases as spreadsheets. Prior to 2026.05.1, the connection-test endpoint opened a raw TCP socket to the user-supplied database host without resolving and range-checking the destination, so private and link-local addresses (including IPv4-mapped IPv6 forms and localhost) reached the driver. This vulnerability is fixed in 2026.05.1.
Read the publisher's advisoryeuvd · EUVD-2026-38621
PublishedNocoDB is software for building databases as spreadsheets. Prior to 2026.05.1, the connection-test endpoint opened a raw TCP socket to the user-supplied database host without resolving and range-checking the destination, so private and link-local addresses (including IPv4-mapped IPv6 forms and localhost) reached the driver. This vulnerability is fixed in 2026.05.1.
Read the publisher's advisorynvd · CVE-2026-47382
PublishedNocoDB is software for building databases as spreadsheets. Prior to 2026.05.1, the connection-test endpoint opened a raw TCP socket to the user-supplied database host without resolving and range-checking the destination, so private and link-local addresses (including IPv4-mapped IPv6 forms and localhost) reached the driver. This vulnerability is fixed in 2026.05.1.
Read the publisher's advisoryosv · GHSA-w43h-r5m5-p832
Published### Summary The connection-test endpoint opened a raw TCP socket to the user-supplied database host without resolving and range-checking the destination, so private and link-local addresses (including IPv4-mapped IPv6 forms and `localhost`) reached the driver. ### Details A new `validateDbConnectionHost` helper resolves hostnames through DNS, parses each address with `ipaddr.js`, normalises IPv4-mapped IPv6, and rejects addresses in the private, loopback, link-local, unique-local, reserved, unspecified, broadcast, and carrier-grade-NAT ranges. `0.0.0.0`, `::`, and the literal `localhost` are special-cased. The check runs before the existing SSL block in the connection-test controller and gates the driver invocation. ### Impact Authenticated users with connection-test permission could probe internal services (Redis, the cloud metadata endpoint, internal databases) reachable from the NocoDB process. A DNS rebinding attacker could still race the resolve-vs-connect window. ### Credit This issue was reported by [@helwor-01](https://github.com/helwor-01).
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-47382 · CVE overview and exploitation status
cve-program · CVE-2026-47382
euvd · EUVD-2026-38621
nvd · CVE-2026-47382
osv · GHSA-w43h-r5m5-p832
Related changes
Linked by CVE identifierNo related changes are available here.