CVE-2026-85199
Eclipse aeriOS Self-orchestrator versions prior to 1.2.1 contain a path traversal vulnerability in the REST API.
Refuses JSON file creation, writes and unlinks outside the facts and rules directories to mitigate CVE-2026-85199 in Eclipse aeriOS Self-orchestrator.
High 8.8Vetted
EPSS 0.9%: the estimated chance this CVE is exploited in the next 30 days, as of 24 Nov 2026.
At a glance
CVE-2026-85199 is a high (CVSS 8.8) vulnerability in Eclipse aeriOS, published 3 September 2026. A vetted upatch, cve-2026-85199-aerios-block, blocks it on running Linux machines with shirudo until Eclipse aeriOS is upgraded.
- Severity
- High 8.8 CVSS 4.0
- Chance of exploitation
- 0.9% in the next 30 days (EPSS, 24 Nov 2026)
- Known exploited
- No, not on CISA’s KEV list
- Affected software
- Eclipse aeriOS (Eclipse Foundation)
- Upatch status
- Vetted, merged into the registry
- How to apply
- Build, sign and roll out with shirudo
Overview
CVE-2026-85199, "Path traversal vulnerability in Eclipse aeriOS Self-orchestrator REST API", was published on 3 September 2026. In Eclipse aeriOS Self-orchestrator versions prior to 1.2.1, script.js concatenates user-controlled rule name and fact id values into filesystem paths passed to fs.writeFileSync and fs.unlinkSync (./facts/<id>:<key>.json in POST /data and ./rules/<name>.json in POST /data, POST /rules, PUT /rule and DELETE /rule). Because the REST API has no authentication and validates neither / nor .. in those identifiers, an unauthenticated remote client can include ../ sequences to write, overwrite or delete .json files outside ./facts/ and ./rules/, including the application's own package.json.
Official description
Eclipse aeriOS Self-orchestrator versions prior to 1.2.1 contain a path traversal vulnerability in the REST API. User-controlled identifiers used to create, update, or delete Self-orchestrator resources were incorporated into filesystem paths without adequate validation or sanitization. An unauthenticated remote attacker able to access the Self-orchestrator API could therefore supply specially crafted identifiers containing path traversal sequences to write or delete JSON files outside the intended application directories, subject to the filesystem permissions of the Self-orchestrator process. The impact is increased by the absence of authentication on the affected API and by the container running with elevated privileges in the affected deployment configuration. The issue has been addressed in version 1.2.1 by introducing validation and sanitization of user-controlled identifiers before they are used to construct filesystem paths, preventing path separator characters from being used to escape the intended directories.
Affected versions
Eclipse aeriOS Self-orchestrator:
| Version | Status |
|---|---|
Prior to 1.2.1 (63993c83fb71 through 0601621551e1) |
Affected |
1.2.1 (c42da0014069) |
Fixed |
Kernels: the program uses the lsm/inode_create, lsm/file_open and lsm/inode_unlink BPF LSM hooks with vmlinux.h CO-RE relocations, taking the mount's idmap as the first argument of inode_create as current mainline Linux 7.4 does.
Sources
More references from NVD (2)
Mitigation
Three BPF LSM programs return -EPERM to processes whose executable is named node and whose working directory name starts with self-orchestrator (such as /self-orchestrator in the upstream container image or a self-orchestrator-<commit> checkout), when the target file name ends with .json and its parent directory is neither facts nor rules:
| Hook | Refused |
|---|---|
lsm/inode_create |
Creating a new .json file outside a facts or rules directory |
lsm/file_open |
Opening a .json file for writing (FMODE_WRITE) outside a facts or rules directory |
lsm/inode_unlink |
Unlinking a .json file outside a facts or rules directory |
Each program checks the cheapest conditions first (f_mode & FMODE_WRITE on open, then the .json suffix on the target dentry, then whether the parent dentry is facts or rules) before checking the current task's executable and working directory. A refusal from an earlier BPF LSM program on the same hook is passed on.
The refused per-CPU array counts refusals: key 0 for creates, key 1 for write-opens, and key 2 for unlinks.
Side effects
- Any attempt by the
nodeprocess running in aself-orchestrator*working directory to create, open for writing or unlink a.jsonfile in a directory not namedfactsorrulesfails withEPERM. Inscript.js,fs.writeFileSyncandfs.unlinkSynccatch the error and log it while leaving the filesystem unchanged. - Normal rule and fact creation, updates, reads and deletions inside
./facts/and./rules/continue to work, as doesDELETE /rules(fse.emptyDirSync('./rules/')). - Read-only opens of
.jsonfiles outsidefactsandrules(such as Node.js readingpackage.jsonor module metadata undernode_modules) are untouched. - Not covered: a Self-orchestrator deployment started from a working directory whose name does not begin with
self-orchestrator, or path traversal into another directory that also happens to be namedfactsorrules.
Preemption model and cost
The programs keep no state beyond the refused per-CPU array, updated with __sync_fetch_and_add, so they are safe under every kernel preemption model including PREEMPT_LAZY, PREEMPT_DYNAMIC and PREEMPT_RT. On non-.json file creations and unlinks, and on read-only file opens, each hook returns after reading only f_mode or the dentry name length and 5-byte suffix.
The policy
144 lines of BPF C, attached at lsm/inode_create and lsm/file_open and lsm/inode_unlink.
// 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>
#define EPERM 1
#define FMODE_WRITE 0x2
char _license[] SEC("license") = "Dual BSD/GPL";
enum {
REFUSED_CREATE,
REFUSED_OPEN,
REFUSED_UNLINK,
NR_COUNTERS,
};
struct {
__uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
__uint(max_entries, NR_COUNTERS);
__type(key, __u32);
__type(value, __u64);
} refused SEC(".maps");
static __always_inline void count(__u32 key)
{
__u64 *value = bpf_map_lookup_elem(&refused, &key);
if (value)
__sync_fetch_and_add(value, 1);
}
static __always_inline bool ends_with_json(const struct dentry *dentry)
{
const unsigned char *name = BPF_CORE_READ(dentry, d_name.name);
__u32 len = BPF_CORE_READ(dentry, d_name.len);
char tail[5] = {};
if (!name || len < 6 || len > 255)
return false;
if (bpf_probe_read_kernel(tail, sizeof(tail), name + len - 5))
return false;
return tail[0] == '.' && tail[1] == 'j' && tail[2] == 's' &&
tail[3] == 'o' && tail[4] == 'n';
}
static __always_inline bool is_allowed_dir(const struct dentry *dir)
{
const unsigned char *name = BPF_CORE_READ(dir, d_name.name);
__u32 len = BPF_CORE_READ(dir, d_name.len);
char buf[5] = {};
if (!name || len != 5)
return false;
if (bpf_probe_read_kernel(buf, sizeof(buf), name))
return false;
if (buf[0] == 'f' && buf[1] == 'a' && buf[2] == 'c' &&
buf[3] == 't' && buf[4] == 's')
return true;
return buf[0] == 'r' && buf[1] == 'u' && buf[2] == 'l' &&
buf[3] == 'e' && buf[4] == 's';
}
static __always_inline bool current_is_aerios(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 struct dentry *cwd = BPF_CORE_READ(task, fs, pwd.dentry);
const unsigned char *ename = BPF_CORE_READ(exe, d_name.name);
const unsigned char *cname = BPF_CORE_READ(cwd, d_name.name);
char ebuf[4] = {};
char cbuf[17] = {};
if (!ename || BPF_CORE_READ(exe, d_name.len) != 4)
return false;
if (bpf_probe_read_kernel(ebuf, sizeof(ebuf), ename))
return false;
if (ebuf[0] != 'n' || ebuf[1] != 'o' || ebuf[2] != 'd' || ebuf[3] != 'e')
return false;
if (!cname || BPF_CORE_READ(cwd, d_name.len) < 17)
return false;
if (bpf_probe_read_kernel(cbuf, sizeof(cbuf), cname))
return false;
return cbuf[0] == 's' && cbuf[1] == 'e' && cbuf[2] == 'l' &&
cbuf[3] == 'f' && cbuf[4] == '-' && cbuf[5] == 'o' &&
cbuf[6] == 'r' && cbuf[7] == 'c' && cbuf[8] == 'h' &&
cbuf[9] == 'e' && cbuf[10] == 's' && cbuf[11] == 't' &&
cbuf[12] == 'r' && cbuf[13] == 'a' && cbuf[14] == 't' &&
cbuf[15] == 'o' && cbuf[16] == 'r';
}
static __always_inline int earlier_verdict(int ret)
{
return ret >= -4095 && ret < 0 ? ret : -EPERM;
}
SEC("lsm/inode_create")
int BPF_PROG(cve_2026_85199_create, const struct mnt_idmap *idmap,
struct inode *dir, struct dentry *dentry, umode_t mode, int ret)
{
if (ret)
return earlier_verdict(ret);
if (!ends_with_json(dentry))
return 0;
if (is_allowed_dir(BPF_CORE_READ(dentry, d_parent)) || !current_is_aerios())
return 0;
count(REFUSED_CREATE);
return -EPERM;
}
SEC("lsm/file_open")
int BPF_PROG(cve_2026_85199_open, struct file *file, int ret)
{
const struct dentry *dentry;
if (ret)
return earlier_verdict(ret);
if (!(file->f_mode & FMODE_WRITE))
return 0;
dentry = file->f_path.dentry;
if (!ends_with_json(dentry))
return 0;
if (is_allowed_dir(BPF_CORE_READ(dentry, d_parent)) || !current_is_aerios())
return 0;
count(REFUSED_OPEN);
return -EPERM;
}
SEC("lsm/inode_unlink")
int BPF_PROG(cve_2026_85199_unlink, struct inode *dir,
struct dentry *dentry, int ret)
{
if (ret)
return earlier_verdict(ret);
if (!ends_with_json(dentry))
return 0;
if (is_allowed_dir(BPF_CORE_READ(dentry, d_parent)) || !current_is_aerios())
return 0;
count(REFUSED_UNLINK);
return -EPERM;
}
The package: name, license, the program and the CVE it fixes.
[package]
name = "cve-2026-85199"
description = "Refuses JSON file creation, writes and unlinks outside the facts and rules directories to mitigate CVE-2026-85199 in Eclipse aeriOS Self-orchestrator"
license = "GPL-2.0 OR BSD-2-Clause"
[[upatches]]
source = "cve-2026-85199-aerios-block.bpf.c"
[upatches.tree]
id = "cve-2026-85199-aerios-block"
fixes = ["CVE-2026-85199"]
Process
How this upatch was written, checked and reviewed, from the registry’s history.
- 3 Sept 2026CVECVE published
- 25 Nov 2026Pull requestPull request #28 openedAdd CVE-2026-85199: Refuses JSON file creation, writes and unlinks outside the facts and rulesromanlab
- 25 Nov 2026MergeMerged #28romanlab
- 25 Nov 2026ReviewReviewedqodo-code-review[bot] (automated)
No human review is recorded on GitHub for this upatch yet.
Evidence
On Eclipse aeriOS Self-orchestrator 1.2.0, the loaded upatch refused a path-traversal POST /data write outside ./facts/ while allowing normal fact persistence inside ./facts/.
- Tested
- 25 Nov 2026
- Target
- Eclipse aeriOS Self-orchestrator 1.2.0 (commit 0601621551e1) on Node.js, loopback only
- Kernel
- 7.4-shirudo-ci-20261123
- Architecture
- x86_64
- Distribution
- Ubuntu 26.04
| State | Traversal POST /data writes .json outside facts/ | Normal POST /data writes .json in facts/ |
|---|---|---|
| Before loading | yes (HTTP 201) | yes (HTTP 201) |
| Upatch loaded | no | yes (HTTP 201) |
| After unloading | yes (HTTP 201) | yes (HTTP 201) |
tools-test.log Output of tools/test --setup showing the path-traversal probe reaching before and after, and being blocked while the upatch was loaded.
tools/test --setup, 2026-11-25T11:24:25Z Target: shirudo test VM, Linux 7.4-shirudo-ci-20261123, x86_64, swtpm cve-2026-85199 setup done AERIOS_URL=http://127.0.0.1:8001 AERIOS_APP_DIR=/opt/upatch-payload/cve-2026-85199/self-orchestrator-0601621551e140d1bcdc8910d84ff2f66fa56cfe before reached POST /data wrote upatch-probe-8c3c793d2064:metric.json outside facts/ (HTTP 201); removed it loaded blocked traversal write outside facts/ was refused while normal fact write succeeded after reached POST /data wrote upatch-probe-6d1e820c6b1b:metric.json outside facts/ (HTTP 201); removed it 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-85199shirudo bpm push build/packages/cve-2026-85199-1.0.0.bee oci://<registry>/<namespace>/cve-2026-85199 --keys-dir <keys-dir>
shirudo bpm tree append build/packages/cve-2026-85199-1.0.0.bee oci://<registry>/<namespace>/<tree> --tree-id <tree-id> --keys-dir <keys-dir>