SQL injection in geotools - #VU142660

 

SQL injection in geotools - #VU142660

Published: August 15, 2026


Vulnerability identifier: #VU142660
CSH Severity: Critical
CVSS v4: 9.3 [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]
CVE-ID: N/A
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary SQL expressions in the database.

The vulnerability exists due to sql injection in the jsonArrayContains filter function when executing OGC Filters against PostGIS layers. A remote attacker can send a specially crafted filter input to execute arbitrary SQL expressions in the database.

The issue requires PostGIS 12 or greater with a String or JSON field.

Note, the vulnerability is being actively exploited in the wild against GeoServer instances. 


Affected software

geotools
GeoServer

Remediation

Install security update from vendor's website.

geotools - addressed in versions 33.6, 34.5, 35.1
GeoServer - addressed in versions 2.27.6, 2.28.5, 3.0.1

External References

Related Security Bulletins