# CVE-2026-85199: Eclipse aeriOS Self-orchestrator versions prior to 1.2.1 contain a path traversal vulnerability in the REST API.

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

## At a glance

CVE-2026-85199 is rated High 8.8 (CVSS 4.0, CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/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 Eclipse aeriOS (Eclipse Foundation) and was published on 3 Sept 2026. It is not in CISA's Known Exploited Vulnerabilities catalog. Its EPSS score is 0.9%: the estimated chance it is exploited in the next 30 days, as of 24 Nov 2026. The upatch `cve-2026-85199-aerios-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-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.

## What the upatch does

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.

The policy: [`cve-2026-85199-aerios-block.bpf.c`](https://github.com/copper-helm/upatch-registry/tree/main/upatches/cve-2026-85199), 144 lines of BPF C attached at `lsm/inode_create`, `lsm/file_open` and `lsm/inode_unlink`, licensed GPL-2.0 OR BSD-2-Clause.

## Side effects

- Any attempt by the `node` process running in a `self-orchestrator*` working directory to create, open for writing or unlink a `.json` file in a directory not named `facts` or `rules` fails with `EPERM`. In `script.js`, `fs.writeFileSync` and `fs.unlinkSync` catch 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 does `DELETE /rules` (`fse.emptyDirSync('./rules/')`).
- Read-only opens of `.json` files outside `facts` and `rules` (such as Node.js reading `package.json` or module metadata under `node_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 named `facts` or `rules`.

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

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

## How it was tested

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

### Results

| 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)                           |

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

Publish and roll out:

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

## Review

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

## Sources and links

- [CVE-2026-85199 record (CVE API)](https://cveawg.mitre.org/api/cve/CVE-2026-85199)
- [Eclipse security advisory #832](https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/832)
- [Fix commit c42da0014069](https://github.com/eclipse-aerios/self-orchestrator/commit/c42da0014069528d149ff9f8b038ac93c38a766c)
- [Vulnerable 1.2.0 commit 0601621551e1](https://github.com/eclipse-aerios/self-orchestrator/tree/0601621551e140d1bcdc8910d84ff2f66fa56cfe)

### Links

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

### More references from NVD (2)

- [github.com](https://github.com/eclipse-aerios/self-orchestrator/commit/c42da0014069528d149ff9f8b038ac93c38a766c)
- [gitlab.eclipse.org](https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/832)
