CVE Watchtower

CVE-2026-104864ZOO-Project SQL Injection

NVD

Vulnerability Summary

Summary remove_service builds a DELETE statement with %-formatting using `self.get_process_identifier()` (taken from the URL path) and `self.user`, with the identifier wrapped only in regular single quotes that the attacker can close directly. Details `self.get_process_identifier()` returns `conf["lenv"]["deployedServiceId"]`, which `zoo_service_loader.c` sets directly from the URL path component after `/processes/`: ```c char* pcaProcessId=zStrdup(strstr(cgiQueryString,"/processes/")+11); ... setMapInMaps(pmsaConfig,"lenv","deployedServiceId",pcaProcessId); ``` `UndeployProcess.remove_service` then runs: ```python cur.execute( "DELETE FROM collectiondb.ows_process WHERE identifier='%s' AND user_id=(select id from public.users where name=$q$%s$q$)" % (self.get_process_identifier(), self.user) ) ``` The `identifier` is enclosed in ordinary single quotes, so any URL-encoded apostrophe in the path closes the literal and turns the rest into SQL. Even worse, the same attack used against the dollar-quoted `name=$q$...$q$` works via `self.user`. There is no parameter binding (no second tuple argument to `cur.execute`). Proof of concept Send a DELETE/undeploy request such as: `DELETE /ogc-api/processes/x'%3BDROP%20TABLE%20collectiondb.ows_process%3B--` Zoo extracts `x';DROP TABLE collectiondb.ows_process;--` as `deployedServiceId`. `remove_service` then builds: ```sql DELETE FROM collectiondb.ows_process WHERE identifier='x';DROP TABLE collectiondb.ows_process;--' AND user_id=(select id from public.users where name=$q$anonymous$q$) ``` which psycopg2 sends as a single statement string and Postgres happily executes both statements. Impact Any client that can reach the UndeployProcess endpoint, which has no built-in auth in the kernel, can run arbitrary SQL against the ZOO-Project metadata database, including dropping the process catalog or reading users/credentials tables, and potentially escalating to OS commands via privileged Postgres roles.
Severity Level
CRITICAL(9.8)
Published Date
Aug 17, 2026
Last Modified
Aug 17, 2026
Exploitation Status
Public exploit available
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)
Improper neutralization of special elements used in an SQL command, allowing attackers to modify queries.
CVSS v3.1 Base Metrics — Score 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • ZOO-Project <= 2.1.0
Patched Versions
  • ZOO-Project afc0403

What to do

Prioritize this fix. Exploit code is public, so attacks can follow quickly.

  1. Check whether you run ZOO-Project and which version.
  2. Update to a patched version listed above, then confirm the new version.
  3. Review logs and exposed services for signs of earlier compromise.

Timeline

  • Aug 17, 2026Published
  • Aug 17, 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-104864. 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