# CVE-2026-92566: DataGear through 6.0.0 Unauthenticated SSRF via HTTP Dataset Preview

The Markdown version of <https://upatch.dev/cve/CVE-2026-92566>. Last updated 25 Nov 2026.

## At a glance

CVE-2026-92566 is rated High 8.8 (CVSS 4.0, CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X). It affects DataGear (datageartech) and was published on 16 Sept 2026. It is not in CISA's Known Exploited Vulnerabilities catalog. Its EPSS score is 0.5%: the estimated chance it is exploited in the next 30 days, as of 25 Nov 2026. The upatch `cve-2026-92566-ssrf-block` mitigates it, and is vetted (merged into the registry).

A upatch is a signed BPF program that shirudo loads into a running Linux kernel to block the code path this CVE's exploit takes. It holds the line until the fix ships; it does not replace patching.

## The vulnerability

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.

## What the upatch does

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.

The policy: [`cve-2026-92566-ssrf-block.bpf.c`](https://github.com/copper-helm/upatch-registry/tree/main/upatches/cve-2026-92566), 121 lines of BPF C attached at `lsm/socket_connect`, licensed GPL-2.0 OR BSD-2-Clause.

## Side effects

- Any `java` process 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 `java` while 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.

## 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.

## How it was tested

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

### Results

| State           | Loopback SSRF via /dataSet/preview/Http blocked |
| --------------- | ----------------------------------------------- |
| Before loading  | no                                              |
| Upatch loaded   | yes                                             |
| After unloading | no                                              |

## How to apply

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.

Build and sign:

```sh
git clone https://github.com/copper-helm/upatch-registry
cd upatch-registry
tools/build <shirudo-checkout> <keys-dir> 1.0.0 upatches/cve-2026-92566
```

Publish and roll out:

```sh
shirudo 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>
```

## Review

- Contributors: romanlab.
- Reviewers: none recorded yet.

## Sources and links

- [VulnCheck advisory for CVE-2026-92566](https://www.vulncheck.com/advisories/datagear-through-6.0.0-unauthenticated-ssrf-via-http-dataset-preview)
- [DataGear issue #37](https://github.com/datageartech/datagear/issues/37)
- [Fix commit 34c37507dddde677969143c5e63032aeb92c8866](https://github.com/datageartech/datagear/commit/34c37507dddde677969143c5e63032aeb92c8866)
- [HttpDataSet.java](https://github.com/datageartech/datagear/blob/fedefd4269b123e1e4f3e029906ed6e6f378c989/datagear-analysis/src/main/java/org/datagear/analysis/support/HttpDataSet.java#L386-L392)
- [CoreConfigSupport.java](https://github.com/datageartech/datagear/blob/fedefd4269b123e1e4f3e029906ed6e6f378c989/datagear-web/src/main/java/org/datagear/web/config/CoreConfigSupport.java#L386-L390)
- [SecurityConfigSupport.java](https://github.com/datageartech/datagear/blob/fedefd4269b123e1e4f3e029906ed6e6f378c989/datagear-web/src/main/java/org/datagear/web/config/SecurityConfigSupport.java#L449-L453)

### Links

- [CVE-2026-92566 on upatch.dev](https://upatch.dev/cve/CVE-2026-92566) (this page, as HTML)
- [NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-92566)
- [CVE.org](https://www.cve.org/CVERecord?id=CVE-2026-92566)
- [CWE-918](https://cwe.mitre.org/data/definitions/918.html)
- Upatch source: [upatches/cve-2026-92566](https://github.com/copper-helm/upatch-registry/tree/main/upatches/cve-2026-92566)

### More references from NVD (6)

- [github.com](https://github.com/datageartech/datagear)
- [github.com](https://github.com/datageartech/datagear/blob/fedefd4269b123e1e4f3e029906ed6e6f378c989/datagear-analysis/src/main/java/org/datagear/analysis/support/HttpDataSet.java#L386-L392)
- [github.com](https://github.com/datageartech/datagear/blob/fedefd4269b123e1e4f3e029906ed6e6f378c989/datagear-web/src/main/java/org/datagear/web/config/CoreConfigSupport.java#L386-L390)
- [github.com](https://github.com/datageartech/datagear/blob/fedefd4269b123e1e4f3e029906ed6e6f378c989/datagear-web/src/main/java/org/datagear/web/config/SecurityConfigSupport.java#L449-L453)
- [github.com](https://github.com/datageartech/datagear/issues/37)
- [vulncheck.com](https://www.vulncheck.com/advisories/datagear-through-6.0.0-unauthenticated-ssrf-via-http-dataset-preview)
