CVE-2026-47382
NocoDB: Server-Side Request Forgery via Database Connection Host
描述
### 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).
如何修補 CVE-2026-47382
要修補 CVE-2026-47382,請將受影響套件升級到下列已修補版本。
- —升級至 2026.05.1 或更新版本
CVE-2026-47382 正在被利用嗎?
目前沒有被利用訊號。CVE-2026-47382 既不在 CISA KEV 也沒有最新的 EPSS 分數。
受影響套件(1)
- from 0, < 2026.05.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |