CVE-2026-54354CWE-89sql-injection

CVE-2026-54354

High · published September 18, 2026

CVSS v3.1
8.2
EPSS
1%
Percentile
52.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.2 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.00684 · 52.0th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2026-09-18T01:17Z
References (6)
EPSS history
Timeline
  • 19 SEP 03:53Z
    EPSS moved — → 0%
    epss
  • 17 SEP 20:22Z
    MapServer: PostGIS Numeric Filter Value SQL Injection in MapServer Runtime Query Translation
    cvelistv5