CVE-2026-76904: geotools · SQL Injection
Affects geotoolsSource GCVE Database
Not known to be exploited · public detection template (Nuclei) · CVSS 9.8 Critical · fixed in 35.1 : patch geotools as a priority.
Data as of 30 Nov 2026, 19:49 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 9.8 |
|---|
- Patch
- Available – fixed in 35.1, 34.5, 33.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 21 Aug 2026
Detectable: evidence found.
nuclei template: GeoServer jsonArrayContains CQL Filter - SQL Injection
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade org.geotools.jdbc:gt-jdbc-postgis to 35.1; org.geotools.jdbc:gt-jdbc-postgis to 34.5; org.geotools.jdbc:gt-jdbc-postgis to 33.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Mavenorg.geotools.jdbc:gt-jdbc-postgispkg:maven/org.geotools.jdbc/gt-jdbc-postgisOther threats | Affected
| Fixed in
|
Mavenorg.geotools.jdbc:gt-jdbc-postgispkg:maven/org.geotools.jdbc/gt-jdbc-postgisOther threats | Affected
| Fixed in
|
Mavenorg.geotools.jdbc:gt-jdbc-postgispkg:maven/org.geotools.jdbc/gt-jdbc-postgisOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade GeoTools to version 33.6 or 34.5 or later where the vulnerability is patched. No workaround is available. To reduce risk before patching, configure the PostGIS database connection pool with limited database user rights to restrict the scope of potential SQL injection attacks.
Description
GeoTools versions 30.5 up to but excluding 33.6, and versions from 34.0 up to but excluding 34.5, contain an SQL Injection vulnerability in the PostGIS DataStore implementation when using the jsonArrayContains function. This vulnerability affects PostGIS 12 or greater with String or JSON fields, where the function inserts unescaped values into generated SQL queries. Patches fixing this issue are available in GeoTools versions 33.6 and 34.5. No workaround is currently available, but limiting database user rights can reduce risk.
References
- github.com/geotools/geotools/security/advisories/GHSA-mqjf-5f49-2fjh (opens in a new tab)
- github.com/geotools/geotools/pull/5829 (opens in a new tab)
- github.com/geotools/geotools/commit/d821c4d321dd91c22e31fcd5b1ce676645da5176 (opens in a new tab)
- github.com/geotools/geotools/releases/tag/33.6 (opens in a new tab)
- github.com/geotools/geotools/releases/tag/34.5 (opens in a new tab)
- github.com/geotools/geotools/releases/tag/35.1 (opens in a new tab)
- osgeo-org.atlassian.net/browse/GEOT-7589 (opens in a new tab)
- osgeo-org.atlassian.net/browse/GEOT-7958 (opens in a new tab)
- osgeo-org.atlassian.net/browse/GEOT-7959 (opens in a new tab)