CVE-2026-76904 (GCVE-0-2026-76904)
Vulnerability from cvelistv5
Published
2026-08-21 20:13
Modified
2026-08-27 16:24
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Summary
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.
References
| URL | Tags | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||||||||
Impacted products
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-76904",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-08-25T03:56:51.618521Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-08-27T16:24:50.888Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "geotools",
"vendor": "geotools",
"versions": [
{
"status": "affected",
"version": "= 35.0"
},
{
"status": "affected",
"version": "\u003e= 34.0, \u003c 34.5"
},
{
"status": "affected",
"version": "\u003e= 30.5, \u003c 33.6"
}
]
}
],
"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(\u003ccolumn\u003e, \u003cpointer\u003e, \u003cvalue\u003e)` function writes `\u003cvalue\u003e` 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."
}
],
"metrics": [
{
"cvssV3_1": {
"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"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-89",
"description": "CWE-89: Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-21T20:14:33.940Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/geotools/geotools/security/advisories/GHSA-mqjf-5f49-2fjh",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/geotools/geotools/security/advisories/GHSA-mqjf-5f49-2fjh"
},
{
"name": "https://github.com/geotools/geotools/pull/5829",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/geotools/geotools/pull/5829"
},
{
"name": "https://github.com/geotools/geotools/commit/d821c4d321dd91c22e31fcd5b1ce676645da5176",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/geotools/geotools/commit/d821c4d321dd91c22e31fcd5b1ce676645da5176"
},
{
"name": "https://github.com/geotools/geotools/releases/tag/33.6",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/geotools/geotools/releases/tag/33.6"
},
{
"name": "https://github.com/geotools/geotools/releases/tag/34.5",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/geotools/geotools/releases/tag/34.5"
},
{
"name": "https://github.com/geotools/geotools/releases/tag/35.1",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/geotools/geotools/releases/tag/35.1"
},
{
"name": "https://osgeo-org.atlassian.net/browse/GEOT-7589",
"tags": [
"x_refsource_MISC"
],
"url": "https://osgeo-org.atlassian.net/browse/GEOT-7589"
},
{
"name": "https://osgeo-org.atlassian.net/browse/GEOT-7958",
"tags": [
"x_refsource_MISC"
],
"url": "https://osgeo-org.atlassian.net/browse/GEOT-7958"
},
{
"name": "https://osgeo-org.atlassian.net/browse/GEOT-7959",
"tags": [
"x_refsource_MISC"
],
"url": "https://osgeo-org.atlassian.net/browse/GEOT-7959"
}
],
"source": {
"advisory": "GHSA-mqjf-5f49-2fjh",
"discovery": "UNKNOWN"
},
"title": "GeoTools has unauthenticated SQL injection in the jsonArrayContains filter function against PostGIS layers"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-76904",
"datePublished": "2026-08-21T20:13:20.536Z",
"dateReserved": "2026-08-19T22:43:14.891Z",
"dateUpdated": "2026-08-27T16:24:50.888Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-76904\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-08-25T03:56:51.618521Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-08-27T16:15:12.911Z\"}}], \"cna\": {\"title\": \"GeoTools has unauthenticated SQL injection in the jsonArrayContains filter function against PostGIS layers\", \"source\": {\"advisory\": \"GHSA-mqjf-5f49-2fjh\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 9.8, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"HIGH\"}}], \"affected\": [{\"vendor\": \"geotools\", \"product\": \"geotools\", \"versions\": [{\"status\": \"affected\", \"version\": \"= 35.0\"}, {\"status\": \"affected\", \"version\": \"\u003e= 34.0, \u003c 34.5\"}, {\"status\": \"affected\", \"version\": \"\u003e= 30.5, \u003c 33.6\"}]}], \"references\": [{\"url\": \"https://github.com/geotools/geotools/security/advisories/GHSA-mqjf-5f49-2fjh\", \"name\": \"https://github.com/geotools/geotools/security/advisories/GHSA-mqjf-5f49-2fjh\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/geotools/geotools/pull/5829\", \"name\": \"https://github.com/geotools/geotools/pull/5829\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/geotools/geotools/commit/d821c4d321dd91c22e31fcd5b1ce676645da5176\", \"name\": \"https://github.com/geotools/geotools/commit/d821c4d321dd91c22e31fcd5b1ce676645da5176\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/geotools/geotools/releases/tag/33.6\", \"name\": \"https://github.com/geotools/geotools/releases/tag/33.6\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/geotools/geotools/releases/tag/34.5\", \"name\": \"https://github.com/geotools/geotools/releases/tag/34.5\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/geotools/geotools/releases/tag/35.1\", \"name\": \"https://github.com/geotools/geotools/releases/tag/35.1\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://osgeo-org.atlassian.net/browse/GEOT-7589\", \"name\": \"https://osgeo-org.atlassian.net/browse/GEOT-7589\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://osgeo-org.atlassian.net/browse/GEOT-7958\", \"name\": \"https://osgeo-org.atlassian.net/browse/GEOT-7958\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://osgeo-org.atlassian.net/browse/GEOT-7959\", \"name\": \"https://osgeo-org.atlassian.net/browse/GEOT-7959\", \"tags\": [\"x_refsource_MISC\"]}], \"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(\u003ccolumn\u003e, \u003cpointer\u003e, \u003cvalue\u003e)` function writes `\u003cvalue\u003e` 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.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-89\", \"description\": \"CWE-89: Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2026-08-21T20:14:33.940Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2026-76904\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-25T03:56:50.811Z\", \"dateReserved\": \"2026-08-19T22:43:14.891Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2026-08-21T20:13:20.536Z\", \"assignerShortName\": \"GitHub_M\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…