CVE-2026-92566
DataGear through 6.0.0 Unauthenticated SSRF via HTTP Dataset Preview
Refuses outbound connections from java to loopback, private, link-local and cloud metadata addresses to mitigate DataGear SSRF CVE-2026-92566.
High 8.8Vetted
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-92566 is a high (CVSS 8.8) vulnerability in DataGear, published 16 September 2026. A vetted upatch, cve-2026-92566-ssrf-block, blocks it on running Linux machines with shirudo until DataGear is upgraded.
- Severity
- High 8.8 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
- DataGear (datageartech)
- Upatch status
- Vetted, merged into the registry
- How to apply
- Build, sign and roll out with shirudo
Overview
CVE-2026-92566 is an unauthenticated server-side request forgery (CWE-918) vulnerability in DataGear through 5.5.0 (described in NVD as through 6.0.0). By default, DataGear grants anonymous users the ROLE_DATA_ANALYST role, and SecurityConfigSupport.dataSetModuleAccess permits that role to call /dataSet/**, including the /dataSet/preview/Http endpoint. When a caller posts a preview request to /dataSet/preview/Http, HttpDataSet.resolveResult uses the default Apache HttpClient from CoreConfigSupport.httpClient to execute an HTTP request to the caller-supplied dataSet.uri without validating the destination address, returning the response body to the unauthenticated caller.
Official description
DataGear through 6.0.0 contains a server-side request forgery vulnerability in the /dataSet/preview/Http endpoint that allows unauthenticated attackers to execute arbitrary HTTP requests by supplying a caller-controlled URI. Attackers can issue GET, POST, PUT, PATCH, or DELETE requests to internal endpoints and cloud metadata services, receiving full response bodies without authentication or validation.
Affected versions
The vulnerable software is DataGear through 5.5.0; commit 34c37507dddde677969143c5e63032aeb92c8866 restricts /dataSet/preview/* to ROLE_DATA_ADMIN in DataGear 6.0.0 and later. The upatch uses the lsm/socket_connect hook and CO-RE reads on struct task_struct, struct file and struct dentry, which are present across all Linux kernels supported by shirudo.
Sources
More references from NVD (6)
Mitigation
One BPF LSM program attached to lsm/socket_connect returns -EPERM when a process whose executable is named java attempts to connect an IPv4 or IPv6 socket to an internal or metadata address:
| Family | Refused destination ranges |
|---|---|
AF_INET |
127.0.0.0/8, 0.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.0.0/16 (including 169.254.169.254) |
AF_INET6 |
::1/128, ::/128, fc00::/7, fe80::/10, and IPv4-mapped ::ffff:0:0/96 addresses in the refused IPv4 ranges |
The program checks the destination socket address first and returns immediately for public destinations or non-IP families, then checks that the current task's executable dentry name is java. Refusals are counted in the refused per-CPU array map.
Side effects
- Any
javaprocess on the machine is prevented from initiating outbound TCP or UDP connections to loopback (127.0.0.0/8,::1), RFC 1918 private ranges (10.0.0.0/8,172.16.0.0/12,192.168.0.0/16), link-local and cloud metadata addresses (169.254.0.0/16,fe80::/10), and IPv6 unique local addresses (fc00::/7). - DataGear's embedded Derby database runs in-process and does not use network sockets, and inbound client connections to DataGear are accepted rather than connected out, so normal dashboard and embedded-database use continues to work.
- External JDBC data sources or legitimate HTTP datasets hosted on loopback or RFC 1918 private addresses cannot be reached by
javawhile the upatch is loaded.
Preemption model and cost
The program is stateless apart from a per-CPU refusal counter updated with __sync_fetch_and_add, making it safe under all preemption models including PREEMPT_LAZY and PREEMPT_RT. Each socket_connect call performs a short stack copy of struct sockaddr_in or struct sockaddr_in6 and returns before inspecting the task unless the destination address is internal.
The policy
121 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
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 current_is_java(void)
{
struct task_struct *task = bpf_get_current_task_btf();
const struct dentry *exe = BPF_CORE_READ(task, mm, exe_file, f_path.dentry);
const unsigned char *name = BPF_CORE_READ(exe, d_name.name);
char buf[8] = {};
if (!exe || BPF_CORE_READ(exe, d_name.len) != 4)
return false;
if (bpf_probe_read_kernel_str(buf, sizeof(buf), name) < 0)
return false;
return buf[0] == 'j' && buf[1] == 'a' && buf[2] == 'v' && buf[3] == 'a';
}
static __always_inline bool ipv4_is_internal(__u32 ip)
{
if ((ip & 0xff000000U) == 0x7f000000U)
return true;
if ((ip & 0xff000000U) == 0x00000000U)
return true;
if ((ip & 0xff000000U) == 0x0a000000U)
return true;
if ((ip & 0xfff00000U) == 0xac100000U)
return true;
if ((ip & 0xffff0000U) == 0xc0a80000U)
return true;
if ((ip & 0xffff0000U) == 0xa9fe0000U)
return true;
return false;
}
static __always_inline bool addr_is_internal(struct sockaddr *address, int addrlen)
{
__u16 family = 0;
if (!address || addrlen < (int)sizeof(family))
return false;
if (bpf_probe_read_kernel(&family, sizeof(family), &address->sa_family))
return false;
if (family == AF_INET) {
struct sockaddr_in sin = {};
if (addrlen < (int)sizeof(sin))
return false;
if (bpf_probe_read_kernel(&sin, sizeof(sin), address))
return false;
return ipv4_is_internal(bpf_ntohl(sin.sin_addr.s_addr));
}
if (family == AF_INET6) {
struct sockaddr_in6 sin6 = {};
__u32 w0, w1, w2, w3;
if (addrlen < (int)sizeof(sin6))
return false;
if (bpf_probe_read_kernel(&sin6, sizeof(sin6), address))
return false;
w0 = bpf_ntohl(sin6.sin6_addr.in6_u.u6_addr32[0]);
w1 = bpf_ntohl(sin6.sin6_addr.in6_u.u6_addr32[1]);
w2 = bpf_ntohl(sin6.sin6_addr.in6_u.u6_addr32[2]);
w3 = bpf_ntohl(sin6.sin6_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;
}
return false;
}
SEC("lsm/socket_connect")
int BPF_PROG(cve_2026_92566_connect, struct socket *sock,
struct sockaddr *address, int addrlen, int ret)
{
if (ret)
return earlier_verdict(ret);
if (!addr_is_internal(address, addrlen))
return 0;
if (!current_is_java())
return 0;
count_refused();
return -EPERM;
}
The package: name, license, the program and the CVE it fixes.
[package]
name = "cve-2026-92566"
description = "Refuses outbound connections from java to loopback, private, link-local and cloud metadata addresses to mitigate DataGear SSRF CVE-2026-92566"
license = "GPL-2.0 OR BSD-2-Clause"
[[upatches]]
source = "cve-2026-92566-ssrf-block.bpf.c"
[upatches.tree]
id = "cve-2026-92566-ssrf-block"
fixes = ["CVE-2026-92566"]
Process
How this upatch was written, checked and reviewed, from the registry’s history.
- 16 Sept 2026CVECVE published
- 25 Nov 2026Pull requestPull request #85 openedAdd CVE-2026-92566: Refuses outbound connections from java to loopback, private, link-local andromanlab
- 25 Nov 2026CIUpdate upatch.devpassed
- 25 Nov 2026CICIpassed
- 25 Nov 2026MergeMerged #85romanlab
No human review is recorded on GitHub for this upatch yet.
Evidence
Unauthenticated SSRF probe to /dataSet/preview/Http targeting a loopback listener succeeded before and after loading the upatch and was refused with EPERM while the upatch was loaded.
- Tested
- 25 Nov 2026
- Target
- DataGear 5.5.0 with default anonymous ROLE_DATA_ANALYST access on OpenJDK 21
- Kernel
- 7.4-shirudo-ci-20261123
- Architecture
- x86_64
- Distribution
- Ubuntu 26.04
| State | Loopback SSRF via /dataSet/preview/Http blocked |
|---|---|
| Before loading | no |
| Upatch loaded | yes |
| After unloading | no |
tools-test.log Output of tools/test --setup for cve-2026-92566.
tools/test --setup, 2026-11-25T14:47:43Z Target: shirudo test VM, Linux 7.4-shirudo-ci-20261123, x86_64, swtpm cve-2026-92566 setup done DATAGEAR_URL=http://127.0.0.1:50401 before reached DataGear connected to loopback probe listener on 127.0.0.1:44325 (HTTP 200) loaded blocked DataGear failed to connect to loopback probe listener (HTTP 400) after reached DataGear connected to loopback probe listener on 127.0.0.1:45831 (HTTP 200) 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-92566shirudo bpm push build/packages/cve-2026-92566-1.0.0.bee oci://<registry>/<namespace>/cve-2026-92566 --keys-dir <keys-dir>
shirudo bpm tree append build/packages/cve-2026-92566-1.0.0.bee oci://<registry>/<namespace>/<tree> --tree-id <tree-id> --keys-dir <keys-dir>