CVEs / CVE-2026-76904
CVE-2026-76904: geotools geotools vulnerability
- critical 9.8 CVSS 3.1 (from the CNA)
- EPSS 29.7% chance of exploitation in the next 30 days, higher than 98% of CVEs (26 Nov 2026)
- Last changed at its sources
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.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| geotools geotools | = 35.0 | — |
| geotools geotools | >= 34.0, < 34.5 | — |
| geotools geotools | >= 30.5, < 33.6 | — |
| Product | Affected | Fixed in |
|---|---|---|
| org.geotools.jdbc:gt-jdbc-postgis (Maven) | from 35.0, before 35.1 | 35.1 |
| org.geotools.jdbc:gt-jdbc-postgis (Maven) | from 34.0, before 34.5 | 34.5 |
| org.geotools.jdbc:gt-jdbc-postgis (Maven) | from 30.5, before 33.6 | 33.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.1 | 9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HScored by the CNA ([email protected]) |
|---|---|
| Weakness | CWE-89 |
References
- CVE-2026-76904 on NVD
- CVE-2026-76904 on OSV
- https://github.com/geotools/geotools/commit/d821c4d321dd91c22e31fcd5b1ce676645da5176
- https://github.com/geotools/geotools/pull/5829
- https://github.com/geotools/geotools/releases/tag/33.6
- https://github.com/geotools/geotools/releases/tag/34.5
- https://github.com/geotools/geotools/releases/tag/35.1
- https://github.com/geotools/geotools/security/advisories/GHSA-mqjf-5f49-2fjh
- https://osgeo-org.atlassian.net/browse/GEOT-7589
- https://osgeo-org.atlassian.net/browse/GEOT-7958
- https://osgeo-org.atlassian.net/browse/GEOT-7959
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.