CVE-2026-76904
Description
GeoTools is an open source Java library that provides tools for geospatial data. Starting in version 30.5 and prior to versions 33.6, 34.5, and 33.6, an SQL Injection Vulnerability is present when executing OGC Filters with PostGIS DataStore implementation: `jsonArrayContains` function; Requires PostGIS 12 or greater with a String or JSON field. For PostGIS 12 and greater `jsonArrayContains(<column>, <pointer>, <value>)` function writes `<value>` into generated SQL without escaping. Patches are available in versions 33.6, 34.5, and 33.6. No known workaround is available. To limit scope of SQL Injection the PostGIS connection pool should be configured with limited rights.
How to fix
- org.geotools.jdbc:gt-jdbc-postgis35.1, 34.5, 33.6 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.geotools.jdbc:gt-jdbc-postgisMaven | 35.0 ≤ v < 35.1, 34.0 ≤ v < 34.5, 30.5 ≤ v < 33.6 | 35.1, 34.5, 33.6 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.