CVE-2026-54354 json
MapServer: PostGIS Numeric Filter Value SQL Injection in MapServer Runtime Query Translation
published 5mo ago modified last mo. also EUVD-2026-82431 , GHSA-xp29-8wp5-wc3p
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository MapServer/MapServer. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 8.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 53%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Is CVE-2026-54354 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-54354 updated cvss 8.2
MapServer: MapServer: SQL Injection via unvalidated PostGIS numeric filter input
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- last mo.
Exploit prediction
0.68% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L |
Affected products
- MapServer MapServer
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
- github.com /MapServer/MapServer/pull/7516
- github.com /MapServer/MapServer/commit/65f1b53c258df2abdf6ce1f437c29e75e9976247
- github.com /MapServer/MapServer/commit/bd59d49779d2ecc64ca8dc1281c53231a50b698e
-
github.com
/MapServer/MapServer/security/advisories/GHSA-xp29-8wp5-wc3p
advisory
- github.com /MapServer/MapServer/releases/tag/rel-8-6-4
- mapserver.org /development/changelog/changelog-8-6.html#changelog-8-6
Sources
- CVE List CVE-2026-54354
- NVD CVE-2026-54354
- Maintainer advisory GHSA-xp29-8wp5-wc3p
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of MapServer/MapServer published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.