CVE-2026-76904: Org.geotools.jdbc:gt jdbc postgis: GeoTools has unauthenticated SQL injection in the jsonArrayContains filter function against PostGIS layers
Affects org.geotools.jdbc:gt-jdbc-postgisSource GCVE Database
Exposed hosts seen by OffSeq Mirage · public detection template (Nuclei) · CVSS 9.8 Critical : upgrade to 35.1 as a priority.
Data as of 20 Nov 2026, 17:35 UTC
- EPSS
- 3.9% chance of exploitation in 30 days – higher than 90% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- 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: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: evidence found.
1 exposed host found; no attack traffic recorded
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, OffSeq Mirage (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 20 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-postgis | Affected
| Fixed in
|
| Mavenorg.geotools.jdbc:gt-jdbc-postgis | Affected
| Fixed in
|
| Mavenorg.geotools.jdbc:gt-jdbc-postgis | 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
Official patches are available in GeoTools versions 33.6, 34.5, and 35.1. Users should upgrade to these versions or later to remediate the vulnerability. No other mitigations are provided; however, limiting the database connection pool rights can reduce the potential impact of exploitation.
Description
An unauthenticated SQL injection vulnerability exists in the GeoTools PostGIS DataStore implementation's jsonArrayContains filter function. This affects GeoTools versions prior to patched releases 35.1, 34.5, and 33.6. The vulnerability allows arbitrary SQL expressions to be executed in the database when using PostGIS 12 or greater with String or JSON fields. The vulnerability has a critical severity with a CVSS score of 9.8. No direct mitigation is available other than applying the official patches or limiting database connection rights.
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 (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)