Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-54354— MapServer: PostGIS Numeric Filter Value SQL Injection in MapServer Runtime Query Translation

Quick assessment

Affected
MapServer MapServer
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

MapServer 是一个用于开发基于 Web 的地理信息系统(GIS)应用程序的系统。在 8.6.4 版本之前,MapServer 在 文件中的 PostGIS 运行时过滤器翻译函数 存在安全缺陷:当配置了 以及类似 的元数据时,该函数将特定的过滤项(filteritem)视为数值类型,但未对攻击者可控的 CGI 查询字符串(qstring)或 OGC API Features 中 参数进行严格的数值字面量验证。 由于未经引用的输入被直接拼接生成 PostgreSQL/PostGIS 谓词表达式,未认证的远程攻击

CVSS 8.2 · High

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-54354

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
MapServer: PostGIS Numeric Filter Value SQL Injection in MapServer Runtime Query Translation
Source: CVE Program / CVE List V5
Vulnerability Description
MapServer is a system for developing web-based GIS applications. Prior to 8.6.4, MapServer's PostGIS runtime filter translation in src/mappostgis.cpp and msPostGISLayerTranslateFilter() treats a filteritem as numeric when CONNECTIONTYPE POSTGIS and metadata such as gml_<item>_type=Integer are configured, but it does not verify that attacker-controlled CGI qstring or OGC API Features featureId input is a numeric literal. The unquoted input is concatenated into the generated PostgreSQL/PostGIS predicate, allowing an unauthenticated remote attacker with access to an affected query endpoint to bypass predicates, enumerate unintended records, perform boolean-based or time-based SQL injection, and increase database load. The issue does not by itself establish database modification capabilities. This issue is fixed in version 8.6.4.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
MapServer MapServer >= 8.4.0, < 8.6.4 -

II. Public POCs for CVE-2026-54354

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-54354

登录查看更多情报信息。

Patches & Fixes for CVE-2026-54354 (3)

Vendor Advisories for CVE-2026-54354 (1)

Vendor Pages for CVE-2026-54354 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2026-54354

No comments yet


Leave a comment