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(, , ) function writes `` 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.
CVE-2026-76904
This critical-severity CVE scores 9.8 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 1.8%, top 23% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EG Risk
- 75(Track)EG Risk 75/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation40% × 40%Automatability100% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 2%
- EPSS %ILE
- 77%
- KEV
- Not listed
Published
August 21, 2026
Last Modified
August 25, 2026
Advisory Details (9)
Auto-updated Aug 25, 2026PostGIS SQL Injection int the jsonArrayContains Function · Advisory · geotools/geotools · GitHub
https://github.com/geotools/geotools/security/advisories/GHSA-mqjf-5f49-2fjhGeoTools 35.1
Patch available: geotools/geotools 35.1
https://github.com/geotools/geotools/releases/tag/35.1GeoTools 34.5
Patch available: geotools/geotools 34.5
https://github.com/geotools/geotools/releases/tag/34.5GeoTools 33.6
Patch available: geotools/geotools 33.6
https://github.com/geotools/geotools/releases/tag/33.6[GEOT-7958] Increase FilterToSqlHelper test coverage
Fix merged in geotools/geotools PR #5829 on 2026-08-14 — awaiting tagged release
https://github.com/geotools/geotools/pull/5829commit d821c4d321dd (geotools/geotools)
Fix landed in geotools/geotools commit d821c4d321dd — awaiting tagged release
https://github.com/geotools/geotools/commit/d821c4d321dd91c22e31fcd5b1ce676645da5176Vendor Advisories for CVE-2026-76904(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
Maven(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| org.geotools.jdbc:gt-jdbc-postgis | 35.0 | 35.1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 14× in last 7d / 14× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-26 18:26 UTCEG score recompute
- 2026-08-26 14:47 UTCEPSS rescore
- 2026-08-25 15:48 UTCEG score recompute
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-25 04:23 UTCEG score recompute
- 2026-08-25 04:10 UTCEG score recompute
- 2026-08-24 17:30 UTCEG score recompute
- 2026-08-24 14:18 UTCEPSS rescore
- 2026-08-24 09:57 UTCEG score recompute
- 2026-08-23 03:39 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-21 21:24 UTCEG score recompute
- 2026-08-21 20:19 UTCEG score recompute
- 2026-08-21 20:19 UTCMITRE cvelistV5first tracked
Publicly available exploits
(2 references)Working exploit code is in the public domain (1 GitHub PoC). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCYonLiud/CVE-2026-76904First seen Aug 16, 2026
POC | GeoServer Unauthenticated SQL injection to complete RCE
Open source ↗ - Nucleihttp/cves/2026/CVE-2026-76904.yamlFirst seen Jan 1, 2026
GeoServer jsonArrayContains CQL Filter - SQL Injection
Open source ↗
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-76904?
When was CVE-2026-76904 disclosed?
Is CVE-2026-76904 actively exploited?
What is the CVSS score of CVE-2026-76904?
How do I remediate CVE-2026-76904?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-76904
Is Your Infrastructure Affected by CVE-2026-76904?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.