Stackurity Start free trial

CVEs / CVE-2026-76904

CVE-2026-76904: geotools geotools vulnerability

Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.

Check your servers with Stackurity Already using Stackurity? Search for 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.

The CVE record, via NVD · published 21 Aug 2026 · NVD status: Deferred

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
geotools geotools= 35.0—
geotools geotools>= 34.0, < 34.5—
geotools geotools>= 30.5, < 33.6—
As stated by OSV
ProductAffectedFixed in
org.geotools.jdbc:gt-jdbc-postgis (Maven)from 35.0, before 35.135.1
org.geotools.jdbc:gt-jdbc-postgis (Maven)from 34.0, before 34.534.5
org.geotools.jdbc:gt-jdbc-postgis (Maven)from 30.5, before 33.633.6

Package versions from GHSA-mqjf-5f49-2fjh.

Exploitation

Not in the CISA Known Exploited Vulnerabilities catalog as of 25 Nov 2026.

Severity

CVSS 3.19.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored by the CNA ([email protected])
WeaknessCWE-89

References

Sources

Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.

This product uses data from the NVD API but is not endorsed or certified by the NVD.