NocoDB: Server-Side Request Forgery via Spreadsheet Import Endpoint
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · GHSA-hmcr-rmjq-47qr
Published### Summary The spreadsheet-import endpoint `axiosRequestMake` could be used as a generic HTTP proxy. Before the fix it was reachable unauthenticated, and its URL-extension allowlist was a regex tested against the full URL string, so URLs whose query string ended in `.csv` (for example `https://example.com/robots.txt?.csv`) satisfied the gate even though the underlying request was for `robots.txt`. ### Details Three layers of protection now apply to the endpoint: - The controller is decorated with `@UseGuards(DataApiLimiterGuard, GlobalGuard)` and `@Acl('fetchViaUrl')`, so unauthenticated callers and callers without the editor role are rejected before the request body is processed. - The extension allowlist is tested against `url.pathname` only. Callers can no longer satisfy the regex by appending a `.csv` suffix to the query string. - The downstream axios call is wired to `useAgent(url)` from `request-filtering-agent`, which blocks RFC 1918, loopback, link-local, and other private destinations at the socket layer. ### Impact Unauthenticated callers could previously coerce the NocoDB process to issue HTTP requests on their behalf, including to internal services reachable from the host. With the auth gate in place and the pathname-anchored extension check combined with socket-layer destination filtering, the endpoint is no longer usable as a generic proxy and can no longer reach private ranges. ### Credit This issue was reported by the [GitHub Security Lab](https://securitylab.github.com/) ([@p-](https://github.com/p-), [@m-y-mo](https://github.com/m-y-mo)).
- Source published
- 17 Jun 2026 14:08:26 UTC
- Source modified
- 20 Jul 2026 21:30:40 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- GitHub Advisory Database · CC-BY-4.0
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS_V4 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Publisher rating · MODERATE