# CVE-2026-86189: WWBN AVideo Unauthenticated Path Traversal via notify.ffmpeg.json.php

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

## At a glance

CVE-2026-86189 is rated Critical 9.3 (CVSS 4.0, CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/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 AVideo (WWBN) and was published on 5 Sept 2026. It is not in CISA's Known Exploited Vulnerabilities catalog. Its EPSS score is 0.7%: the estimated chance it is exploited in the next 30 days, as of 24 Nov 2026. The upatch `cve-2026-86189-notify-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-86189 (GHSA-cprx-fggj-7vpq), "WWBN AVideo Unauthenticated Path Traversal via notify.ffmpeg.json.php", was published on 5 September 2026. In WWBN AVideo up to commit `e01e41ecc`, `plugin/API/notify.ffmpeg.json.php` decrypts `$_REQUEST['notifyCode']` with `decryptString()` and checks only whether the result is non-empty, allowing any ciphertext previously issued by the site (such as a `video_id_hash`) to pass authentication. When `$obj->standAloneFFMPEG` is configured, `processNotifyVideoFile()` in `objects/functionsFFMPEG.php` calls `buildLocalPathForNotify()`, which concatenates `$global['systemRootPath']` and `$notify['avideoRelativePath']` without checking for path traversal or containment, while checking the file extension on `$notify['avideoPath']` instead. It then fetches content from the configured encoder URL and writes it to that path with `file_put_contents()`.

### Official description

WWBN AVideo contains a path traversal vulnerability in notify.ffmpeg.json.php that allows unauthenticated attackers to write files to arbitrary locations by supplying a caller-chosen path in the avideoRelativePath parameter. Attackers can replay any previously issued ciphertext as a notifyCode token, which is decrypted but never validated, to bypass authentication and write files to the application root and subdirectories.

## What the upatch does

The BPF LSM program attaches to `lsm/file_open` and returns `-EPERM` when a process whose executable starts with `php` (such as `php`, `php8.3`, or `php-fpm8.3`) or is named `apache2` or `httpd` opens a file named `notify.ffmpeg.json.php` whose parent directories are `API` under `plugin`.

It checks the dentry name length (`22`) first and returns `0` immediately on almost every open. Only 22-byte file names proceed to compare `notify.ffmpeg.json.php`, its parent `API`, its grandparent `plugin`, and the process executable name. A refusal from an earlier BPF LSM program on the same hook is preserved.

The `refused` per-CPU array counts refused opens at key 0.

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

## Side effects

- Requests to `plugin/API/notify.ffmpeg.json.php` fail because the PHP or web server process cannot open the script.
- Standalone FFMPEG encoder notifications to `plugin/API/notify.ffmpeg.json.php` do not work while the upatch is loaded.
- All other AVideo pages, scripts, and administrative tools (such as `git`, `tar`, or `rsync` run by other executables) continue to work normally.

## Preemption model and cost

The program keeps no shared state beyond the per-CPU refusal counter, which it updates with `__sync_fetch_and_add`, making it safe under every preemption model including preemptible RCU and `PREEMPT_RT`. On nearly every `file_open` call, a run costs one integer comparison on `dentry->d_name.len`.

## Affected versions

This is an application vulnerability in WWBN AVideo (`e01e41ecc` and earlier, listed as `<= 29.0` in the CVE record). The upatch uses the `lsm/file_open` BPF LSM hook and CO-RE against `vmlinux.h`.

## How it was tested

On WWBN AVideo at commit e01e41ecc with standAloneFFMPEG enabled, the loaded upatch refused opening plugin/API/notify.ffmpeg.json.php by the PHP server process so no file was written, while the unauthenticated request wrote the probe file into the application root before loading and after unloading.

- **Tested:** 25 Nov 2026
- **Target:** WWBN AVideo e01e41ecc with standAloneFFMPEG enabled on PHP built-in server, loopback only
- **Kernel:** 7.4-shirudo-ci-20261123
- **Architecture:** x86_64
- **Distribution:** Ubuntu 26.04

### Results

| State           | notify.ffmpeg.json.php writes probe file in application root | Normal endpoint (objects/functionsFFMPEG.php) |
| --------------- | ------------------------------------------------------------ | --------------------------------------------- |
| Before loading  | yes (reached)                                                | 200                                           |
| Upatch loaded   | no (blocked)                                                 | 200                                           |
| After unloading | yes (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-86189
```

Publish and roll out:

```sh
shirudo bpm push build/packages/cve-2026-86189-1.0.0.bee oci://<registry>/<namespace>/cve-2026-86189 --keys-dir <keys-dir>
shirudo bpm tree append build/packages/cve-2026-86189-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-86189 record (CVE API)](https://cveawg.mitre.org/api/cve/CVE-2026-86189)
- [GitHub Security Advisory GHSA-cprx-fggj-7vpq](https://github.com/WWBN/AVideo/security/advisories/GHSA-cprx-fggj-7vpq)
- [VulnCheck Advisory](https://www.vulncheck.com/advisories/wwbn-avideo-unauthenticated-path-traversal-via-notify-ffmpeg-json-php)

### Links

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

### More references from NVD (2)

- [github.com](https://github.com/WWBN/AVideo/security/advisories/GHSA-cprx-fggj-7vpq)
- [vulncheck.com](https://www.vulncheck.com/advisories/wwbn-avideo-unauthenticated-path-traversal-via-notify-ffmpeg-json-php)
