目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-76904— GeoTools SQL注入漏洞

一分钟漏洞结论

影响对象
geotools geotools
利用判断
存在公开或 AI PoC,应优先验证
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

GeoTools是GeoTools组织开源的一个地理空间数据处理框架。 GeoTools 30.5至33.6之前版本、34.0至34.5之前版本和35.0版本存在SQL注入漏洞,该漏洞源于使用PostGIS DataStore执行OGC Filters时jsonArrayContains函数未对value参数进行转义,导致SQL注入。

CVSS 9.8 · Critical EPSS 3.98% · P90

公开利用映射 1

影响版本矩阵 3

厂商产品 版本范围状态
geotools geotools = 35.0 affected
>= 34.0, < 34.5 affected
>= 30.5, < 33.6 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-76904 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
GeoTools has unauthenticated SQL injection in the jsonArrayContains filter function against PostGIS layers
来源: CVE Program / CVE List V5
Vulnerability 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.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
来源: CVE Program / CVE List V5
Vulnerability Title
GeoTools SQL注入漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
GeoTools是GeoTools组织开源的一个地理空间数据处理框架。 GeoTools 30.5至33.6之前版本、34.0至34.5之前版本和35.0版本存在SQL注入漏洞,该漏洞源于使用PostGIS DataStore执行OGC Filters时jsonArrayContains函数未对value参数进行转义,导致SQL注入。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
geotools geotools = 35.0 -

二、漏洞 CVE-2026-76904 的公开POC

# POC 描述 源链接 神龙链接
1 GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. GeoTools FilterToSqlHelper.constructEquality writes the expected argument of the jsonArrayContains CQL function RAW into the SQL string while only escaping the JSON pointer. A single quote in the value parameter breaks out of the PostgreSQL jsonb_path_exists string literal, enabling unauthenticated SQL injection. When the PostGIS backend runs with superuser privileges, the injection escalates to operating system command execution through PostgreSQL COPY TO PROGRAM. Users are advised to upgrade to either version 2.21.4, or version 2.22.2 to resolve this issue. Users unable to upgrade should enable the PostGIS DataStore preparedStatements setting and disable encode functions as a workaround. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-76904.yaml POC详情
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-76904 的情报信息

请登录查看更多情报信息。

CVE-2026-76904 补丁与修复 (3)

CVE-2026-76904 厂商安全公告 (2)

CVE-2026-76904 厂商页面 (4)

IV. Related Vulnerabilities

V. Comments for CVE-2026-76904

暂无评论


发表评论