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.
Three layers of protection now apply to the endpoint:
@UseGuards(DataApiLimiterGuard, GlobalGuard)
and @Acl('fetchViaUrl'), so unauthenticated callers and callers without
the editor role are rejected before the request body is processed.url.pathname only. Callers can
no longer satisfy the regex by appending a .csv suffix to the query
string.useAgent(url) from
request-filtering-agent, which blocks RFC 1918, loopback, link-local,
and other private destinations at the socket layer.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.
This issue was reported by the GitHub Security Lab (@p-, @m-y-mo).
{
"nvd_published_at": null,
"cwe_ids": [
"CWE-441",
"CWE-918"
],
"github_reviewed": true,
"severity": "MODERATE",
"github_reviewed_at": "2026-06-17T14:08:26Z"
}