Medium

NocoDB: Server-Side Request Forgery via Spreadsheet Import Endpoint

  • Disclosed: 17.06.2026
  • Updated: 11.10.2026 10:22

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 (@p-, @m-y-mo).

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package nocodb <= 0.301.3 no fix

References

CVSS score -
CVSS vector
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
Weakness (CWE)
CWE-441, CWE-918
Platform
npm
Package
nocodb
Disclosed
17.06.2026
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-hmcr-rmjq-47qr - CC BY 4.0

Vulnerability history: nocodb

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (54) in the archive
Total entries
54
First → latest
06.2022 06.2026
Without a fix
13
Exploited in attacks
0

Severity breakdown

  • High 7
  • Medium 41
  • Low 6

Disclosures per year

  1. 2022: 5
  2. 2023: 2
  3. 2024: 3
  4. 2025: 1
  5. 2026: 43
Severity:
  1. NocoDB: Server-Side Request Forgery via Spreadsheet Import Endpoint this entry
    Medium CVE-2026-53931 <= 0.301.3 no fix
  2. High CVE-2026-47387 < 2026.05.1 2026.05.1
  3. High CVE-2026-47383 < 2026.05.1 2026.05.1
  4. High · 7.3 CVE-2023-49781 < 0.202.9 0.202.9
  5. High · 8.8 CVE-2022-2064 < 0.91.9 0.91.9
  6. High · 8.8 CVE-2022-2063 < 0.91.8 0.91.8
  7. High · 7.5 CVE-2022-2062 < 0.91.7 0.91.7

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.