# CVE-2026-85609: Openpanel before 2.3.0 SSRF via Site Checker Endpoint

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

## At a glance

CVE-2026-85609 is rated Medium 6.9 (CVSS 4.0, CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L/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 OpenPanel (Openpanel-dev) and was published on 4 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-85609-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-85609 (GHSA-r3jv-rmrg-j395) is an unauthenticated server-side request forgery (SSRF) vulnerability in OpenPanel before 2.3.0, published on 4 September 2026. The public `GET /tools/site-checker` endpoint in `apps/api/src/controllers/tools.controller.ts` accepts a `url` query parameter and passes it directly to `fetchWithRedirects()`, which calls `fetch()`, `checkRobotsTxt()`, `checkSitemap()`, and `getSSLInfo()` without validating the destination IP address. An unauthenticated remote attacker can reach cloud instance metadata endpoints such as `http://169.254.169.254/` and read returned status codes, response timing, page size, and HTML metadata.

### Official description

Openpanel before 2.3.0 contains an unauthenticated full-read server-side request forgery (SSRF) vulnerability in the GET /tools/site-checker endpoint (apps/api/src/controllers/tools.controller.ts). The endpoint passes a user-supplied url query parameter to fetchWithRedirects() and performs server-side HTTP requests to arbitrary URLs without any SSRF/IP validation. An unauthenticated remote attacker can access cloud instance metadata endpoints, probe internal services, scan internal network ports, and read returned content (status code, page size, timing, and parsed HTML metadata), and leak internal IP addresses (via getIPInfo() to a third party).

## What the upatch does

One BPF LSM program attaches to `lsm/socket_connect` and returns `-EPERM` when a process whose executable is named `node` attempts to connect an IPv4 or IPv6 socket to:

- IPv4 link-local addresses (`169.254.0.0/16`, including the `169.254.169.254` cloud metadata endpoint),
- IPv4-mapped IPv6 link-local addresses (`::ffff:169.254.0.0/112`),
- IPv6 link-local addresses (`fe80::/10`), or
- IPv6 unique-local addresses (`fc00::/7`, including `fd00:ec2::254`).

The program checks the socket address family and destination IP prefix first, and checks the current task's executable (`mm->exe_file->f_path.dentry->d_name`) only when the destination lies in one of those ranges. A refusal from an earlier BPF LSM program on the same hook is preserved. Refusals are counted in the per-CPU array map `refused`.

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

## Side effects

- Any process whose executable is `node` on the machine cannot connect to `169.254.0.0/16`, `fe80::/10`, or `fc00::/7`. If a Node.js application on the host relies on the instance metadata service (`169.254.169.254`) for cloud credentials instead of environment variables or workload identity files, those metadata requests will fail with `EPERM`.
- Connections to loopback (`127.0.0.0/8`, `::1`) and RFC 1918 private networks (`10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) are left open so OpenPanel's own connections to local or internal PostgreSQL, ClickHouse, and Redis services continue to work.
- All other processes on the machine (`curl`, `python3`, cloud agents, `sshd`, and root shells) are unaffected.

## Preemption model and cost

The program holds no state other than the `refused` per-CPU counter, which is updated with `__sync_fetch_and_add`, making it safe under all preemption models including preemptible RCU, `PREEMPT_LAZY`, and `PREEMPT_RT`. On every `connect()` call to a public, loopback, or RFC 1918 address, the program inspects only `address->sa_family` and the 32-bit IPv4 or IPv6 prefix words in kernel memory and returns immediately without calling BPF helpers or reading task structures.

## Affected versions

The vulnerable software is OpenPanel before 2.3.0 (tested on commit `f72310c335732ebf4fb44b375e10d362980da593`, tagged in the 2.2.0 series). The vulnerability was fixed in commit `373be136190aa73debd4508fa4ac05619ce04a53` ("refactor(api): centralize outbound fetching and tighten input handling") and released in OpenPanel 2.3.0 by introducing `safeFetch` in `apps/api/src/utils/safe-fetch.ts`.

On the kernel side, the upatch uses the standard `lsm/socket_connect` hook (`struct socket *sock, struct sockaddr *address, int addrlen`) and CO-RE reads on `struct task_struct`, which are present on all Linux kernels supported by shirudo.

## How it was tested

On OpenPanel commit f72310c335732ebf4fb44b375e10d362980da593, the loaded upatch refused GET /tools/site-checker outbound connections from node to a link-local metadata listener on 169.254.169.254 while leaving loopback requests working.

- **Tested:** 25 Nov 2026
- **Target:** OpenPanel commit f72310c335732ebf4fb44b375e10d362980da593 (pre-2.3.0) GET /tools/site-checker on Node.js 22.20.0
- **Kernel:** 7.4-shirudo-ci-20261123
- **Architecture:** x86_64
- **Machine:** shirudo test VM

### Results

| State           | GET /tools/site-checker?url=http\://169.254.169.254:18080/probe |
| --------------- | --------------------------------------------------------------- |
| Before loading  | reached (200)                                                   |
| Upatch loaded   | blocked (500)                                                   |
| After unloading | reached (200)                                                   |

## 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-85609
```

Publish and roll out:

```sh
shirudo bpm push build/packages/cve-2026-85609-1.0.0.bee oci://<registry>/<namespace>/cve-2026-85609 --keys-dir <keys-dir>
shirudo bpm tree append build/packages/cve-2026-85609-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

- [GHSA-r3jv-rmrg-j395: Unauthenticated Full-Read SSRF via Site Checker Endpoint](https://github.com/Openpanel-dev/openpanel/security/advisories/GHSA-r3jv-rmrg-j395)
- [VulnCheck advisory for CVE-2026-85609](https://www.vulncheck.com/advisories/openpanel-before-2.3.0-ssrf-via-site-checker-endpoint)
- [Vulnerable source (`apps/api/src/controllers/tools.controller.ts` at `f72310c335732ebf4fb44b375e10d362980da593`)](https://github.com/Openpanel-dev/openpanel/blob/f72310c335732ebf4fb44b375e10d362980da593/apps/api/src/controllers/tools.controller.ts)
- [Fix commit `373be136190aa73debd4508fa4ac05619ce04a53`](https://github.com/Openpanel-dev/openpanel/commit/373be136190aa73debd4508fa4ac05619ce04a53)

### Links

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

### More references from NVD (2)

- [github.com](https://github.com/Openpanel-dev/openpanel/security/advisories/GHSA-r3jv-rmrg-j395)
- [vulncheck.com](https://www.vulncheck.com/advisories/openpanel-before-2.3.0-ssrf-via-site-checker-endpoint)
