CVE-2026-76904GeoTools has unauthenticated SQL injection in the jsonArrayContains filter function against PostGIS layers
- 9.8CriticalCVSS base score
- 4.0%Exploitation in 30 daysEPSS · top 9.3% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
Description
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Nuclei template for it.
Show the exploits1
Nuclei templates1 template
- GeoServer jsonArrayContains CQL Filter - SQL Injection (Nuclei template) (opens in a new tab)
http/cves/2026/CVE-2026-76904.yamlSeverity critical
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By GitHub_M
- 2 days later
· 2 days later
Published
- 6 days later
· 6 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Deferred | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 4.0% · top 9.3% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.geotools.jdbc:gt-jdbc-postgisGHSA-mqjf-5f49-2fjh (opens in a new tab)
References
References9
- https://github.com/geotools/geotools/security/advisories/GHSA-mqjf-5f49-2fjh (opens in a new tab)x_refsource_CONFIRM
- https://github.com/geotools/geotools/pull/5829 (opens in a new tab)x_refsource_MISC
- https://github.com/geotools/geotools/commit/d821c4d321dd91c22e31fcd5b1ce676645da5176 (opens in a new tab)x_refsource_MISC
- https://github.com/geotools/geotools/releases/tag/33.6 (opens in a new tab)x_refsource_MISC
- https://github.com/geotools/geotools/releases/tag/34.5 (opens in a new tab)x_refsource_MISC
- https://github.com/geotools/geotools/releases/tag/35.1 (opens in a new tab)x_refsource_MISC
- https://osgeo-org.atlassian.net/browse/GEOT-7589 (opens in a new tab)x_refsource_MISC
- https://osgeo-org.atlassian.net/browse/GEOT-7958 (opens in a new tab)x_refsource_MISC
- https://osgeo-org.atlassian.net/browse/GEOT-7959 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-64133 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-mqjf-5f49-2fjh (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-76904)Record last updated .