{"id":"GHSA-w43h-r5m5-p832","revision":"f2a83466fad24a5892149f3eec4c705d","records":[{"revision":"f2a83466fad24a5892149f3eec4c705d","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-w43h-r5m5-p832","aliases":["CVE-2026-47382"],"title":"NocoDB: Server-Side Request Forgery via Database Connection Host","description":"### Summary\nThe connection-test endpoint opened a raw TCP socket to the user-supplied database\nhost without resolving and range-checking the destination, so private and link-local\naddresses (including IPv4-mapped IPv6 forms and `localhost`) reached the driver.\n\n### Details\nA new `validateDbConnectionHost` helper resolves hostnames through DNS, parses each\naddress with `ipaddr.js`, normalises IPv4-mapped IPv6, and rejects addresses in the\nprivate, loopback, link-local, unique-local, reserved, unspecified, broadcast, and\ncarrier-grade-NAT ranges. `0.0.0.0`, `::`, and the literal `localhost` are special-cased.\nThe check runs before the existing SSL block in the connection-test controller and\ngates the driver invocation.\n\n### Impact\nAuthenticated users with connection-test permission could probe internal services\n(Redis, the cloud metadata endpoint, internal databases) reachable from the NocoDB\nprocess. A DNS rebinding attacker could still race the resolve-vs-connect window.\n\n### Credit\nThis issue was reported by [@helwor-01](https://github.com/helwor-01).","state":0,"publishedAt":"2026-06-05T16:19:01+00:00","modifiedAt":"2026-07-20T21:30:43.0497835+00:00","affected":[{"ecosystem":"npm","name":"nocodb","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2026.05.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/nocodb/nocodb/security/advisories/GHSA-w43h-r5m5-p832","https://nvd.nist.gov/vuln/detail/CVE-2026-47382","https://github.com/nocodb/nocodb","https://github.com/nocodb/nocodb/releases/tag/2026.05.1"],"sourceUrl":"https://github.com/advisories/GHSA-w43h-r5m5-p832","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-w43h-r5m5-p832","identifiers":["GHSA-w43h-r5m5-p832","CVE-2026-47382"]},"retained":false,"historicalAffected":[]}],"coverage":[]}