CVE-2026-76904GeoTools has unauthenticated SQL injection in the jsonArrayContains filter function against PostGIS layers
A critical-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 29.8% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 29.8%
- percentile 99%
- Fix
- Named by a source
- CVE published 21 Aug 2026
Needs attention
- EPSS up by 10 percentage points or more in about a week
EPSS 29.8% (+30) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- org.geotools.jdbc:gt-jdbc-postgis (Maven): upgrade to 35.1 / 34.5 / 33.6 or later on your release line.
- Commit / pull request: https://github.com/geotools/geotools/commit/d821c4d321dd91c22e31fcd5b1ce676645da5176
- Commit / pull request: https://github.com/geotools/geotools/pull/5829
Who should check
org.geotools.jdbc:gt-jdbc-postgis (Maven) pkg:maven/org.geotools.jdbc/gt-jdbc-postgis
- Affected>= 35.0, < 35.1Fixed in35.1OSV (GHSA-mqjf-5f49-2fjh)
- Affected>= 34.0, < 34.5Fixed in34.5OSV (GHSA-mqjf-5f49-2fjh)
- Affected>= 30.5, < 33.6Fixed in33.6OSV (GHSA-mqjf-5f49-2fjh)
geotools geotools product:geotools/geotools
- Affected35.0Fixed innot namedas published by CNA (CVE List)
- Affected>= 34.0, < 34.5Affected range ends before34.5as published by CNA (CVE List)
- Affected>= 30.5, < 33.6Affected range ends before33.6as published by CNA (CVE List)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 9.8 CRITICAL (version 3.1)
- Score from
- CNA ([email protected])
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-89
- Exploitation (CISA SSVC)
- none
- Automatable (CISA SSVC)
- yes
- Assigned by
- [email protected]
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
- 26 Nov 2026Exploitation more likely 4.0% → 29.8%
- 21 Aug 2026Published
References
- commit / pull requesthttps://github.com/geotools/geotools/commit/d821c4d321dd91c22e31fcd5b1ce676645da5176
- commit / pull requesthttps://github.com/geotools/geotools/pull/5829
- otherhttps://github.com/geotools/geotools/releases/tag/33.6
- otherhttps://github.com/geotools/geotools/releases/tag/34.5
- otherhttps://github.com/geotools/geotools/releases/tag/35.1
- otherhttps://github.com/geotools/geotools/security/advisories/GHSA-mqjf-5f49-2fjh
- otherhttps://osgeo-org.atlassian.net/browse/GEOT-7589
- otherhttps://osgeo-org.atlassian.net/browse/GEOT-7958
- otherhttps://osgeo-org.atlassian.net/browse/GEOT-7959
- otherhttps://github.com/geotools/geotools
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2026-76904 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-mqjf-5f49-2fjh (GitHub Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 70 min ago · osv 56 min ago · nvd 89 min ago · epss 57 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-mqjf-5f49-2fjh