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.
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:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- ZOO-Project <= 2.1.0
- ZOO-Project afc0403
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run ZOO-Project and which version.
- Update to a patched version listed above, then confirm the new version.
- 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 alertsExternal References
Data last checked: Nov 25, 2026 14:00 UTC