CVE-2026-76904

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductOrg.geotools.jdbc:gt-jdbc-postgis
PublishedAug 21, 2026
First seenAug 21, 2026
Weakness typeCWE-89SQL injection

How to fix

Update
  • org.geotools.jdbc:gt-jdbc-postgis35.1, 34.5, 33.6 or later

Affected products

ProductAffected versionsFixed in
org.geotools.jdbc:gt-jdbc-postgisMaven35.0 ≤ v < 35.1, 34.0 ≤ v < 34.5, 30.5 ≤ v < 33.635.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.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-76904 · Org.geotools.jdbc:gt-jdbc-postgis · Dark Radar