CVE-2026-76904: geotools SQL Injection
Vulnerability summary
CVE-2026-76904 is a critical (CVSS 9.8) SQL Injection vulnerability in geotools. EPSS estimates a 3.98% chance of exploitation in the next 30 days, higher than 90.3% of scored vulnerabilities.
Timeline
- 21-08-2026PublishedVulnerability first disclosed.
- 27-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · MavenEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
3.98%
Chance of exploitation in the next 30 days
Percentile
90%
Versus all other CVEs
30-day change
+2.18 pp
From 1.79% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Geotools1 product
- geotools= 35.0 | ≥ 34.0, < 34.5 | ≥ 30.5, < 33.6
Org.geotools.jdbc1 product
- gt-jdbc-postgis≥ 35.0, < 35.1 | ≥ 34.0, < 34.5 | ≥ 30.5, < 33.6
2 vendors · 2 products
References
10 links- github.com/geotools/geotoolsPACKAGE