CVE-2026-92719
Quickwit through 0.9.0 SSRF via SQS queue_url Parameter
Refuses outbound connections from Quickwit to loopback, link-local, RFC 1918 and reserved addresses to mitigate CVE-2026-92719.
High 8.7Vetted
EPSS 0.5%: the estimated chance this CVE is exploited in the next 30 days, as of 25 Nov 2026.
At a glance
CVE-2026-92719 is a high (CVSS 8.7) vulnerability in Quickwit, published 16 September 2026. A vetted upatch, cve-2026-92719-quickwit-ssrf-block, blocks it on running Linux machines with shirudo until Quickwit is upgraded.
- Severity
- High 8.7 CVSS 4.0
- Chance of exploitation
- 0.5% in the next 30 days (EPSS, 25 Nov 2026)
- Known exploited
- No, not on CISA’s KEV list
- Weakness
- CWE-918
- Affected software
- Quickwit (quickwit-oss)
- Upatch status
- Vetted, merged into the registry
- How to apply
- Build, sign and roll out with shirudo
Overview
CVE-2026-92719, "Quickwit through 0.9.0 SSRF via SQS queue_url Parameter", was published on 16 September 2026. When a client creates a file source with SQS notifications via POST /api/v1/indexes/{index_id}/sources, queue_url_endpoint and get_sqs_client in quickwit/quickwit-indexing/src/source/queue_sources/sqs_queue.rs extract the scheme and authority (^https?://[^/]+) from the caller-supplied queue_url and pass it directly to sqs_config.set_endpoint_url without validating the destination host or IP address. check_connectivity then issues a synchronous GetQueueAttributes HTTP request to that endpoint and reflects connection and parsing errors in the REST API response, allowing an attacker to scan internal networks and probe loopback, private or cloud metadata services.
Official description
Quickwit through 0.9.0 fails to validate the host and scheme of the queue_url parameter in SQS file sources, allowing attackers to make the node issue requests to arbitrary internal addresses. Attackers can supply a malicious queue_url to the create-source API to scan internal networks and fingerprint services based on connection response differences.
Affected versions
Application: Quickwit through 0.9.0.
Kernels: any Linux kernel with BPF LSM and BTF enabled that shirudo supports.
Sources
More references from NVD (5)
Mitigation
The lsm/socket_connect program returns -EPERM when a process whose command name or executable is quickwit connects an AF_INET or AF_INET6 SOCK_STREAM socket to a non-public IP address:
| Family | Refused destination ranges |
|---|---|
AF_INET |
0.0.0.0/8, 10.0.0.0/8, 100.64.0.0/10, 127.0.0.0/8, 169.254.0.0/16, 172.16.0.0/12, 192.168.0.0/16, 198.18.0.0/15, 224.0.0.0/4, 240.0.0.0/4 |
AF_INET6 |
::, ::1, ::ffff:0:0/96 mapped to any refused IPv4 range, fc00::/7, fe80::/10, ff00::/8 |
The program checks the socket type (SOCK_STREAM) and destination address first and reads the current task's command name or executable dentry only when a stream socket connects to an internal address. It preserves any negative verdict from an earlier BPF LSM program on the same hook and increments key 0 of the refused per-CPU array on each refusal.
Side effects
- Any outbound TCP connection from a process whose command or executable is
quickwitto a loopback, link-local, RFC 1918, carrier-grade NAT, benchmarking, multicast, or reserved IPv4/IPv6 address fails withEPERM. - Outbound TCP connections from
quickwitto public AWS SQS and S3 endpoints keep working, and inbound HTTP or gRPC connections toquickwitcontinue to work becauseacceptdoes not callsocket_connect. - A deployment where
quickwitconnects over TCP to a local or private-network metastore, storage backend (such as LocalStack or MinIO on a private address) or peer gRPC node is also refused while this upatch is loaded.
Preemption model and cost
The program is written for preemptible RCU and keeps no shared state other than the refused per-CPU counter, which it updates with an atomic fetch-and-add so interleaved runs on the same CPU cannot lose counts. On ordinary connections to public IP addresses or non-stream sockets, the program checks the socket type, address family, and IP prefix and returns without inspecting the task structure.
The policy
149 lines of BPF C, attached at lsm/socket_connect.
// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
#include "vmlinux.h"
#include <bpf/bpf_helpers.h>
#include <bpf/bpf_tracing.h>
#include <bpf/bpf_core_read.h>
#include <bpf/bpf_endian.h>
#define EPERM 1
#define AF_INET 2
#define AF_INET6 10
#define SOCK_STREAM 1
char _license[] SEC("license") = "Dual BSD/GPL";
struct {
__uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
__uint(max_entries, 1);
__type(key, __u32);
__type(value, __u64);
} refused SEC(".maps");
static __always_inline void count_refused(void)
{
__u32 key = 0;
__u64 *value = bpf_map_lookup_elem(&refused, &key);
if (value)
__sync_fetch_and_add(value, 1);
}
static __always_inline int earlier_verdict(int ret)
{
return ret >= -4095 && ret < 0 ? ret : -EPERM;
}
static __always_inline bool is_quickwit_name(const char *s)
{
return s[0] == 'q' && s[1] == 'u' && s[2] == 'i' && s[3] == 'c' &&
s[4] == 'k' && s[5] == 'w' && s[6] == 'i' && s[7] == 't' &&
s[8] == '\0';
}
static __always_inline bool current_is_quickwit(void)
{
char comm[16] = {};
struct task_struct *task;
const struct dentry *exe;
const unsigned char *name;
char buf[16] = {};
if (bpf_get_current_comm(&comm, sizeof(comm)) == 0 &&
is_quickwit_name(comm))
return true;
task = bpf_get_current_task_btf();
exe = BPF_CORE_READ(task, mm, exe_file, f_path.dentry);
if (!exe || BPF_CORE_READ(exe, d_name.len) != 8)
return false;
name = BPF_CORE_READ(exe, d_name.name);
if (!name || bpf_probe_read_kernel_str(buf, sizeof(buf), name) < 0)
return false;
return is_quickwit_name(buf);
}
static __always_inline bool ipv4_is_internal(__u32 ip)
{
if ((ip & 0xff000000U) == 0x00000000U)
return true;
if ((ip & 0xff000000U) == 0x0a000000U)
return true;
if ((ip & 0xffc00000U) == 0x64400000U)
return true;
if ((ip & 0xff000000U) == 0x7f000000U)
return true;
if ((ip & 0xffff0000U) == 0xa9fe0000U)
return true;
if ((ip & 0xfff00000U) == 0xac100000U)
return true;
if ((ip & 0xffff0000U) == 0xc0a80000U)
return true;
if ((ip & 0xfffe0000U) == 0xc6120000U)
return true;
if ((ip & 0xe0000000U) == 0xe0000000U)
return true;
if ((ip & 0xf0000000U) == 0xf0000000U)
return true;
return false;
}
static __always_inline bool ipv6_is_internal(const struct in6_addr *addr)
{
__u32 w0 = bpf_ntohl(addr->in6_u.u6_addr32[0]);
__u32 w1 = bpf_ntohl(addr->in6_u.u6_addr32[1]);
__u32 w2 = bpf_ntohl(addr->in6_u.u6_addr32[2]);
__u32 w3 = bpf_ntohl(addr->in6_u.u6_addr32[3]);
if (w0 == 0 && w1 == 0 && w2 == 0 && (w3 == 0 || w3 == 1))
return true;
if (w0 == 0 && w1 == 0 && w2 == 0x0000ffffU)
return ipv4_is_internal(w3);
if ((w0 & 0xfe000000U) == 0xfc000000U)
return true;
if ((w0 & 0xffc00000U) == 0xfe800000U)
return true;
if ((w0 & 0xff000000U) == 0xff000000U)
return true;
return false;
}
SEC("lsm/socket_connect")
int BPF_PROG(cve_2026_92719_connect, struct socket *sock,
struct sockaddr *address, int addrlen, int ret)
{
__u16 family = 0;
if (ret)
return earlier_verdict(ret);
if (!sock || !address || BPF_CORE_READ(sock, type) != SOCK_STREAM)
return 0;
if (addrlen < (int)sizeof(family) ||
bpf_probe_read_kernel(&family, sizeof(family), &address->sa_family))
return 0;
if (family == AF_INET) {
struct sockaddr_in sin = {};
__u32 ip;
if (addrlen < (int)sizeof(sin) ||
bpf_probe_read_kernel(&sin, sizeof(sin), address))
return 0;
ip = bpf_ntohl(sin.sin_addr.s_addr);
if (!ipv4_is_internal(ip))
return 0;
} else if (family == AF_INET6) {
struct sockaddr_in6 sin6 = {};
if (addrlen < (int)sizeof(sin6) ||
bpf_probe_read_kernel(&sin6, sizeof(sin6), address))
return 0;
if (!ipv6_is_internal(&sin6.sin6_addr))
return 0;
} else {
return 0;
}
if (!current_is_quickwit())
return 0;
count_refused();
return -EPERM;
}
The package: name, license, the program and the CVE it fixes.
[package]
name = "cve-2026-92719"
description = "Refuses outbound connections from Quickwit to loopback, link-local, RFC 1918 and reserved addresses to mitigate CVE-2026-92719"
license = "GPL-2.0 OR BSD-2-Clause"
[[upatches]]
source = "cve-2026-92719-quickwit-ssrf-block.bpf.c"
[upatches.tree]
id = "cve-2026-92719-quickwit-ssrf-block"
fixes = ["CVE-2026-92719"]
Process
How this upatch was written, checked and reviewed, from the registry’s history.
- 16 Sept 2026CVECVE published
- 25 Nov 2026CommitCommitted directlyAdd CVE-2026-92719romanlab
No human review is recorded on GitHub for this upatch yet.
Evidence
On a vulnerable Quickwit 0.9.0 node, the loaded upatch refused the SQS queue_url SSRF connection to a loopback target at lsm/socket_connect, while requests before loading and after unloading reached the loopback listener.
- Tested
- 25 Nov 2026
- Target
- Quickwit 0.9.0 (quickwit run) listening on 127.0.0.1:7280
- Kernel
- 7.4-shirudo-ci-20261123
- Architecture
- x86_64
- Distribution
- Ubuntu 26.04
| State | SSRF via SQS queue_url blocked | Loopback listener hit |
|---|---|---|
| Before loading | no | yes |
| Upatch loaded | yes | no |
| After unloading | no | yes |
tools-test.log Output of tools/test --setup showing Quickwit reaching the loopback listener before and after, and being blocked while the upatch was loaded.
tools/test --setup, 2026-11-25T15:55:32Z Target: shirudo test VM, Linux 7.4-shirudo-ci-20261123, x86_64, swtpm cve-2026-92719 setup done QUICKWIT_URL=http://127.0.0.1:7280 before reached Quickwit connected to loopback listener 127.0.0.1:42159 (HTTP 400) loaded blocked Quickwit connection to 127.0.0.1:39257 was refused (HTTP 400) after reached Quickwit connected to loopback listener 127.0.0.1:33357 (HTTP 400) PASS: reached before, blocked while loaded, reached again after
Use it
Build the upatch from source, sign it with your own shirudo key, and publish it to your own OCI registry. Machines that follow your upatch tree load it within about a minute.
git clone https://github.com/copper-helm/upatch-registry
cd upatch-registry
tools/build <shirudo-checkout> <keys-dir> 1.0.0 upatches/cve-2026-92719shirudo bpm push build/packages/cve-2026-92719-1.0.0.bee oci://<registry>/<namespace>/cve-2026-92719 --keys-dir <keys-dir>
shirudo bpm tree append build/packages/cve-2026-92719-1.0.0.bee oci://<registry>/<namespace>/<tree> --tree-id <tree-id> --keys-dir <keys-dir>