Jan 28, 2026·5 min read·55 visits
NocoDB checked file metadata (HEAD) before checking if the URL was safe (Validation). Attackers can abuse this to make the server ping internal IPs and cloud metadata endpoints. Fixed in v0.301.0.
A blind Server-Side Request Forgery (SSRF) vulnerability in NocoDB allows authenticated users to force the server to ping internal network resources. The flaw lies in the `uploadViaURL` feature, which validates the target URL only *after* performing an initial HTTP `HEAD` request to fetch file metadata. This architectural hiccup allows attackers to map internal infrastructure or interact with cloud metadata services before security controls kick in.
NocoDB bills itself as an open-source Airtable alternative—a tool to turn your databases into smart spreadsheets. It's the kind of tool developers love to self-host, often sitting deep within a corporate network with access to sensitive internal APIs, databases, and cloud metadata services.
Like many modern applications, NocoDB allows users to upload files by providing a URL. This feature, uploadViaURL, is intended to fetch a cat photo from the public internet and store it in your database. However, to a security researcher, a "fetch from URL" feature is like a red rag to a bull. It screams SSRF (Server-Side Request Forgery).
The developers knew this. They implemented robust SSRF protections: blocklists for private IP ranges, DNS resolution checks, and logic to prevent the server from talking to localhost. But as we often see in complex systems, the devil isn't in the filter—it's in the order of operations.
The root cause of CVE-2026-24767 is a classic case of "act first, think later." When a user submits a URL, the application needs to know two things before downloading the file: "How big is it?" (Content-Length) and "What is it?" (Content-Type).
To get this information efficiently, NocoDB decided to send a lightweight HTTP HEAD request to the target URL. The logic flow went roughly like this:
axios.head(url) to get metadata.169.254.169.254 or 127.0.0.1).GET request.Do you see the problem? Step 2 is the bouncer, but Step 1 already let the guest into the club to check their coat. By the time the application realizes, "Hey, that IP belongs to the AWS Metadata Service!", the HEAD request has already been sent and processed by the destination server.
The vulnerability lived in the storage handling logic. The code essentially trusted the input URL just enough to poke it, but not enough to download from it. In the world of SSRF, a poke is often all you need.
Here is a conceptual reconstruction of the vulnerable flow versus the fixed flow:
The Vulnerable Logic (Simplified):
// 1. Unprotected Probe
// The code fires a request BEFORE checking if the destination is safe.
const metadata = await axios.head(userProvidedUrl);
// 2. Security Check
// This runs too late. The packet has already left the server.
if (isInternalIP(userProvidedUrl)) {
throw new Error("SSRF Detected!");
}
// 3. Download
download(userProvidedUrl);The Fix (v0.301.0):
The patch, associated with commit 656e76bf8248e4bf034b9004c936030e158040da, refactored this logic. It moved the validation to the very top of the funnel, likely within the SDK's shared utilities.
// 1. Security Check First
// Now we validate the URL/IP before opening any socket.
if (isInternalIP(userProvidedUrl)) {
throw new Error("Blocked");
}
// 2. Probe (Safe)
const metadata = await axios.head(userProvidedUrl);It seems trivial, but moving that if statement up a few lines makes the difference between a secure application and a potential foothold for an attacker.
This vulnerability is classified as Blind SSRF. We don't get the HTTP response body back in the UI (since the app throws an error or fails to process the internal response as a valid file), but we can infer a lot.
Attack Scenario: Cloud Reconnaissance
http://169.254.169.254/latest/meta-data/)./api/v2/storage/upload-by-url with {"url": "http://169.254.169.254/latest/meta-data/iam/security-credentials/"}.HEAD request. The AWS service responds with 200 OK (and headers).Attack Scenario: Internal Port Scanning
http://127.0.0.1:6379).HEAD request to the Redis port.While the CVSS score is a moderate 4.9 (mostly because of the "Blind" nature limiting data exfiltration), the real-world impact depends heavily on where NocoDB is hosted.
If this instance is running inside a Kubernetes cluster or on an EC2 instance with an attached IAM role, a Blind SSRF is a golden ticket for reconnaissance. Attackers can verify the existence of internal microservices, dashboards, or unauthenticated APIs.
Furthermore, some internal services perform actions on GET (or even HEAD) requests. While rare, "GET-based state changes" are a thing in legacy or poorly designed internal APIs. Triggering a HEAD request against http://internal-admin/delete?id=1 might not delete anything, but it proves the endpoint is live. It is a crack in the armor that turns the server into a proxy for the attacker.
The remediation is straightforward: Update to NocoDB v0.301.0. The maintainers have patched the order of operations to ensure validation occurs before any network IO.
If you cannot patch immediately, you must rely on Egress Filtering. Your database tool shouldn't be able to talk to the entire internet, and it certainly shouldn't be able to talk to your internal network or cloud metadata IPs.
Defense in Depth:
169.254.169.254 and private ranges (10.0.0.0/8, etc.).CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N| Product | Affected Versions | Fixed Version |
|---|---|---|
NocoDB NocoDB | < 0.301.0 | 0.301.0 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-918 (SSRF) |
| Attack Vector | Network |
| CVSS | 4.9 (Medium) |
| Impact | Internal Reconnaissance |
| Exploit Status | PoC Available |
| Platform | Node.js / Vue |
Server-Side Request Forgery (SSRF) occurs when a web application is fetching a remote resource without validating the user-supplied URL. It allows an attacker to coerce the application to send a crafted request to an unexpected destination.
NATS Server prior to versions 2.12.8 and 2.14.3 contains an incorrect authorization vulnerability (CWE-863) in its message tracing subsystem. When evaluating whether a connection is permitted to publish trace events to a destination subject specified in the Nats-Trace-Dest header, the server only checks standard client permissions and omits permission checks for leaf node connections. This allows a connected leaf node operator with restricted publishing privileges to emit internal trace events to unauthorized subjects and suppress standard message delivery using the Nats-Trace-Only header.
CVE-2026-63341 is a high-severity Denial of Service (DoS) vulnerability in the Aedes MQTT broker for Node.js affecting all versions prior to 1.1.1. The flaw stems from missing input validation on the hierarchical depth of incoming MQTT topic strings before they are passed to the underlying topic-matching engine, qlobber. Because qlobber enforces a hardcoded limit of 100 topic levels and throws a synchronous exception when this threshold is exceeded, an attacker can send a single MQTT packet containing 101 or more forward-slash-separated levels to trigger an uncaught exception that immediately terminates the Node.js broker process.
CVE-2026-61725 is a path traversal vulnerability (CWE-22) in the sevenz-rust2 Cargo package prior to version 0.21.1. The vulnerability occurs because the decompression utility fails to validate or sanitize archive entry filenames before joining them with the destination directory path via std::path::Path::join. An attacker who supplies a crafted 7z archive containing parent directory traversal sequences or absolute paths can write or overwrite arbitrary files on the host filesystem with the privileges of the extracting process.
CVE-2026-77309 (GHSA-jrjx-9jjw-747m) is a high-severity unauthenticated remote code execution vulnerability affecting NASA-AMMOS AIT-GUI versions 1.0.0 through 2.5.0. The flaw results from chaining an incomplete file cleanup error in the telemetry query endpoint (/tlm/query) with a directory traversal flaw in the script execution endpoint (/script/run). An attacker on an adjacent network can stage arbitrary Python statements into a static file on disk and execute that file under the privileges of the AIT-GUI web server process.
A vulnerability classified under CWE-116 (Improper Encoding or Escaping of Output) exists in memtomem-stm versions 0.1.0 through 0.1.33. The software acts as a Model Context Protocol (MCP) short-term memory proxy gateway for AI agent architectures. When surfacing retrieved memories and scratchpad items into downstream Large Language Model (LLM) context envelopes, the SurfacingFormatter component fails to properly sanitize untrusted memory attributes. An attacker with the ability to plant untrusted content into the agent's long-term or working memory store can inject arbitrary structural delimiters, close the <surfaced-memories> XML boundary prematurely, visually obscure instructions using Unicode bidirectional overrides, and execute stored prompt injection attacks against downstream LLM agents.
CVE-2026-77331 (GHSA-72jh-722p-rqr3) is a concurrency and session-state synchronization vulnerability in memtomem-stm, a short-term memory proxy gateway for AI agents. In versions 0.1.2 prior to 0.1.34, concurrent Model Context Protocol (MCP) Remote Procedure Call (RPC) failures or mid-flight task cancellations can initiate duplicate reconnect loops and permit dirty or cancelled transport sessions to be reused. This deficiency results in session-state integrity loss and local service degradation.