cve-2026-76904
CRITICAL CVSS 9.8 nvd
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
- Published
- 2026-08-21
- Last Modified
- 2026-09-09
CVSS Details
- Attack Vector
- NETWORK
- Attack Complexity
- LOW
- Privileges Required
- NONE
Affected Products
No product information available.
Weaknesses (CWE)
CVSS metrics
| Version | Base | Severity | Vector | Exploitability | Impact | Source |
|---|---|---|---|---|---|---|
| 3.1 | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9 | 5.9 | security-advisories@github.com |
NVD metadata
- NVD status
- Deferred
- Source identifier
security-advisories@github.com
References
- https://github.com/geotools/geotools/commit/d821c4d321dd91c22e31fcd5b1ce676645da5176
- https://github.com/geotools/geotools/pull/5829
- https://github.com/geotools/geotools/releases/tag/33.6
- https://github.com/geotools/geotools/releases/tag/34.5
- https://github.com/geotools/geotools/releases/tag/35.1
- https://github.com/geotools/geotools/security/advisories/GHSA-mqjf-5f49-2fjh
- https://osgeo-org.atlassian.net/browse/GEOT-7589
- https://osgeo-org.atlassian.net/browse/GEOT-7958
- https://osgeo-org.atlassian.net/browse/GEOT-7959
Linked Vulnerabilities
No linked vulnerabilities found.
{
"cvss": 9.8,
"datePublished": "2026-08-21T21:17:06.143",
"dateUpdated": "2026-09-09T21:06:39.057",
"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.",
"id": "CVE-2026-76904",
"raw": {
"affected": [
{
"affectedData": [
{
"product": "geotools",
"vendor": "geotools",
"versions": [
{
"status": "affected",
"version": "= 35.0"
},
{
"status": "affected",
"version": ">= 34.0, < 34.5"
},
{
"status": "affected",
"version": ">= 30.5, < 33.6"
}
]
}
],
"source": "security-advisories@github.com"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"id": "CVE-2026-76904",
"lastModified": "2026-09-09T21:06:39.057",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9,
"source": "security-advisories@github.com",
"type": "Secondary"
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-76904",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-08-25T03:56:51.618521Z",
"version": "2.0.3"
}
}
]
},
"published": "2026-08-21T21:17:06.143",
"references": [
{
"source": "security-advisories@github.com",
"url": "https://github.com/geotools/geotools/commit/d821c4d321dd91c22e31fcd5b1ce676645da5176"
},
{
"source": "security-advisories@github.com",
"url": "https://github.com/geotools/geotools/pull/5829"
},
{
"source": "security-advisories@github.com",
"url": "https://github.com/geotools/geotools/releases/tag/33.6"
},
{
"source": "security-advisories@github.com",
"url": "https://github.com/geotools/geotools/releases/tag/34.5"
},
{
"source": "security-advisories@github.com",
"url": "https://github.com/geotools/geotools/releases/tag/35.1"
},
{
"source": "security-advisories@github.com",
"url": "https://github.com/geotools/geotools/security/advisories/GHSA-mqjf-5f49-2fjh"
},
{
"source": "security-advisories@github.com",
"url": "https://osgeo-org.atlassian.net/browse/GEOT-7589"
},
{
"source": "security-advisories@github.com",
"url": "https://osgeo-org.atlassian.net/browse/GEOT-7958"
},
{
"source": "security-advisories@github.com",
"url": "https://osgeo-org.atlassian.net/browse/GEOT-7959"
}
],
"sourceIdentifier": "security-advisories@github.com",
"vulnStatus": "Deferred",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-89"
}
],
"source": "security-advisories@github.com",
"type": "Secondary"
}
]
},
"severity": "CRITICAL",
"source": "nvd",
"title": "GeoTools is an open source Java library that provides tools for geospatial data"
}
Enrichment data
Aggregated bundle (all enrichments)