CVE-2026-85609
Openpanel before 2.3.0 SSRF via Site Checker Endpoint
Refuses outbound connections from Node.js processes to link-local and cloud metadata addresses to mitigate OpenPanel SSRF CVE-2026-85609.
Medium 6.9Vetted
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-85609 is a medium (CVSS 6.9) vulnerability in OpenPanel, published 4 September 2026. A vetted upatch, cve-2026-85609-ssrf-block, blocks it on running Linux machines with shirudo until OpenPanel is upgraded.
- Severity
- Medium 6.9 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
- OpenPanel (Openpanel-dev)
- Upatch status
- Vetted, merged into the registry
- How to apply
- Build, sign and roll out with shirudo
Overview
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).
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.
Sources
More references from NVD (2)
Mitigation
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 the169.254.169.254cloud 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, includingfd00: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.
Side effects
- Any process whose executable is
nodeon the machine cannot connect to169.254.0.0/16,fe80::/10, orfc00::/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 withEPERM. - 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.
The policy
112 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_refusal(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_link_local_v4(__be32 daddr)
{
__u32 ip = bpf_ntohl(daddr);
return (ip & 0xffff0000U) == 0xa9fe0000U;
}
static __always_inline bool is_blocked_dest(struct sockaddr *address, int addrlen)
{
sa_family_t family;
if (!address || addrlen < (int)sizeof(sa_family_t))
return false;
family = BPF_CORE_READ(address, sa_family);
if (family == AF_INET) {
struct sockaddr_in *sin = (struct sockaddr_in *)address;
__be32 daddr;
if (addrlen < (int)sizeof(struct sockaddr_in))
return false;
daddr = BPF_CORE_READ(sin, sin_addr.s_addr);
return is_link_local_v4(daddr);
}
if (family == AF_INET6) {
struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)address;
__be32 addr32[4] = {};
__u32 w0, w1, w2;
if (addrlen < (int)sizeof(struct sockaddr_in6))
return false;
if (bpf_probe_read_kernel(addr32, sizeof(addr32),
&sin6->sin6_addr) < 0)
return false;
w0 = bpf_ntohl(addr32[0]);
w1 = bpf_ntohl(addr32[1]);
w2 = bpf_ntohl(addr32[2]);
if (w0 == 0 && w1 == 0 && w2 == 0x0000ffffU)
return is_link_local_v4(addr32[3]);
if ((w0 & 0xffc00000U) == 0xfe800000U)
return true;
if ((w0 & 0xfe000000U) == 0xfc000000U)
return true;
return false;
}
return false;
}
static __always_inline bool current_is_node(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;
char buf[8] = {};
if (!exe || BPF_CORE_READ(exe, d_name.len) != 4)
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 buf[0] == 'n' && buf[1] == 'o' && buf[2] == 'd' &&
buf[3] == 'e' && buf[4] == '\0';
}
SEC("lsm/socket_connect")
int BPF_PROG(cve_2026_85609_connect, struct socket *sock,
struct sockaddr *address, int addrlen, int ret)
{
if (ret)
return earlier_verdict(ret);
if (!is_blocked_dest(address, addrlen))
return 0;
if (!current_is_node())
return 0;
count_refusal();
return -EPERM;
}
The package: name, license, the program and the CVE it fixes.
[package]
name = "cve-2026-85609"
description = "Refuses outbound connections from Node.js processes to link-local and cloud metadata addresses to mitigate OpenPanel SSRF CVE-2026-85609"
license = "GPL-2.0 OR BSD-2-Clause"
[[upatches]]
source = "cve-2026-85609-ssrf-block.bpf.c"
[upatches.tree]
id = "cve-2026-85609-ssrf-block"
fixes = ["CVE-2026-85609"]
Process
How this upatch was written, checked and reviewed, from the registry’s history.
- 4 Sept 2026CVECVE published
- 25 Nov 2026Pull requestPull request #96 openedAdd CVE-2026-85609: Refuses outbound connections from Node.js processes to link-local and cloudromanlab
- 25 Nov 2026CICheck entriespassed
- 25 Nov 2026CIingestpassed
- 25 Nov 2026CICompile with clang 23passed
- 25 Nov 2026ReviewReviewedqodo-code-review[bot] (automated)
- 25 Nov 2026MergeMerged #96romanlab
No human review is recorded on GitHub for this upatch yet.
Evidence
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
| 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) |
tools-test.log Output of tools/test --setup on a shirudo test VM.
tools/test --setup, 2026-11-25T15:45:07Z Target: shirudo test VM, Linux 7.4-shirudo-ci-20261123, x86_64, swtpm cve-2026-85609 setup done OPENPANEL_URL=http://127.0.0.1:3333 SSRF_TARGET_URL=http://169.254.169.254:18080/probe before reached /tools/site-checker fetched http://169.254.169.254:18080/probe and returned its HTML title loaded blocked /tools/site-checker could not connect to http://169.254.169.254:18080/probe (fetch failed) after reached /tools/site-checker fetched http://169.254.169.254:18080/probe and returned its HTML title 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-85609shirudo 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>