Home / geotools / geotools / CVE-2026-76904
CVE-2026-76904: is it exploited, and which versions of geotools are affected and fixed?
CVE-2026-76904 is a SQL injection vulnerability in geotools. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: org.geotools.jdbc:gt-jdbc-postgis from 35.0 before 35.1, org.geotools.jdbc:gt-jdbc-postgis from 34.0 before 34.5 and org.geotools.jdbc:gt-jdbc-postgis from 30.5 before 33.6 (GitHub advisory GHSA-mqjf-5f49-2fjh). Fixed in 35.1, 34.5 and 33.6 (GitHub advisory GHSA-mqjf-5f49-2fjh). Severity: Critical (9.8, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 30, 2026, 20:09 UTC.
What is CVE-2026-76904?
GeoTools has unauthenticated SQL injection in the jsonArrayContains filter function against PostGIS layers
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.
From the CVE record by GitHub_M, last updated August 27, 2026, 16:24 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| geotools | geotools | = 35.0 >= 34.0, < 34.5 >= 30.5, < 33.6 |
As the CVE record by GitHub_M states it, last updated August 27, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.geotools.jdbc:gt-jdbc-postgis | >= 35.0, < 35.1 | 35.1 | GHSA-mqjf-5f49-2fjh |
| Maven | org.geotools.jdbc:gt-jdbc-postgis | >= 34.0, < 34.5 | 34.5 | GHSA-mqjf-5f49-2fjh |
| Maven | org.geotools.jdbc:gt-jdbc-postgis | >= 30.5, < 33.6 | 33.6 | GHSA-mqjf-5f49-2fjh |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 21, 2026. Summary: GeoTools has unauthenticated SQL injection in the jsonArrayContains filter function against PostGIS layers.
How severe is CVE-2026-76904?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-76904 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, August 25, 2026)
- EPSS
- 29.8% probability of exploitation activity in the next 30 days, percentile 98.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Where are the vendor advisories and references?
- https://github.com/geotools/geotools/security/advisories/GHSA-mqjf-5f49-2fjh x_refsource_CONFIRM
- https://github.com/geotools/geotools/pull/5829 x_refsource_MISC
- https://github.com/geotools/geotools/commit/d821c4d321dd91c22e31fcd5b1ce676645da5176 x_refsource_MISC
- https://github.com/geotools/geotools/releases/tag/33.6 x_refsource_MISC
- https://github.com/geotools/geotools/releases/tag/34.5 x_refsource_MISC
- https://github.com/geotools/geotools/releases/tag/35.1 x_refsource_MISC
- https://osgeo-org.atlassian.net/browse/GEOT-7589 x_refsource_MISC
- https://osgeo-org.atlassian.net/browse/GEOT-7958 x_refsource_MISC
- https://osgeo-org.atlassian.net/browse/GEOT-7959 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- August 19, 2026
- Published
- August 21, 2026, 20:13 UTC
- CVE record updated
- August 27, 2026, 16:24 UTC by GitHub_M
- NVD
- Deferred, last modified November 30, 2026, 19:11 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 30, 2026, 20:09 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect geotools?
- Jul 2, 2024CVE-2024-36404 geotools: code injection through eval
- Feb 21, 2023CVE-2023-25158 geotools: SQL injection
- Apr 13, 2022CVE-2022-24818 geotools: improper input validation
Questions about CVE-2026-76904
Is CVE-2026-76904 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 29.8% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of geotools are affected by CVE-2026-76904?
org.geotools.jdbc:gt-jdbc-postgis from 35.0 before 35.1, org.geotools.jdbc:gt-jdbc-postgis from 34.0 before 34.5 and org.geotools.jdbc:gt-jdbc-postgis from 30.5 before 33.6, per the GitHub advisory GHSA-mqjf-5f49-2fjh. The tables above give every range the sources list.
Which version fixes CVE-2026-76904?
35.1, 34.5 and 33.6, per the GitHub advisory GHSA-mqjf-5f49-2fjh. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-76904?
Critical (9.8, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-76904?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.