CVE-2026-76904
GeoTools has unauthenticated SQL injection in the jsonArrayContains filter function against PostGIS layers
Exploitation confirmed. First attested on 2026-08-18 by GCVE · previdian, GCVE · shadowserver.
- Published2026-08-21
- Fixed in35.1 · 34.5 · 33.6
- WeaknessCWE-89
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-08-1809:07Listed as exploited by GCVEGCVE
- 2026-08-1809:07Exploitation first reportedGCVE
- 2026-08-2121:17CVE publishedNVD
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 35.x | ≥ 35.0, < 35.1 | 35.1 | OSV |
| 34.x | ≥ 34.0, < 34.5 | 34.5 | OSV |
| 33.6 | ≥ 30.5, < 33.6 | 33.6 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- geotoolsAffected
- = = 35.0no fix stated
- = >= 34.0, < 34.5no fix stated
- = >= 30.5, < 33.6no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-08-21
Fix
- Update gt-jdbc-postgis to 35.1 · 34.5 · 33.6
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- available ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub2 repositories, unverifiedknown since 2026-11-01YonLiud/CVE-2026-76904bickZero93/CVE-2026-76904
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- GCVEexploitation2026-08-18
- CISA-ADPSSVC decisionnone2026-08-25
- CNACVSS 3.19.8known since 2026-10-23
- CNAweakness (CWE)CWE-89known since 2026-10-23
- FIRST EPSSEPSS score4.0 %2026-11-09
- PoC-in-GitHubproof of concept2known since 2026-11-01
- ProjectDiscoverydetectionread 2026-11-10
- OSVaffected packages—
- GitHub AdvisoriesadvisoryCRITICAL2026-08-21
Identifiers
- EUVD-2026-64133same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-mqjf-5f49-2fjhsame flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2026-08-21
- Last Modified
- 2026-10-14
- NVD status
- Deferred
- GitHub Advisory
- GHSA-mqjf-5f49-2fjh
Frequently asked questions
What is CVE-2026-76904?
Is CVE-2026-76904 actively exploited?
What is the CVSS score for CVE-2026-76904?
Hear about the next vulnerability in your software
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-mqjf-5f49-2fjh
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- CISA Vulnrichment · CC0-1.0