Prior to 8.6.4, MapServer's PostGIS runtime filter translation in src/mappostgis.cpp and msPostGISLayerTranslateFilter() treats a filteritem as… (CVE-2026-54354)
MapServer versions prior to 8.6.4 contain a vulnerability in the PostGIS runtime filter translation where unverified user input is treated as numeric and concatenated into SQL predicates. This allows unauthenticated remote attackers to bypass filters, enumerate unintended records, and perform boolean- or time-based SQL injection attacks, increasing database load. The vulnerability does not enable direct database modification. The issue is fixed in version 8.6.4.
AI Analysis
Technical Summary
In MapServer versions before 8.6.4, the PostGIS runtime filter translation function msPostGISLayerTranslateFilter() in src/mappostgis.cpp incorrectly treats filter items as numeric based on metadata without verifying that attacker-controlled CGI query strings or OGC API Features featureId inputs are numeric literals. This unquoted input is concatenated into the generated PostgreSQL/PostGIS predicate, enabling unauthenticated remote attackers with access to the query endpoint to bypass predicates, enumerate unintended records, and conduct boolean- or time-based SQL injection attacks, thereby increasing database load. The vulnerability does not by itself allow database modification. The flaw is resolved in version 8.6.4.
Potential Impact
An unauthenticated remote attacker can exploit this vulnerability to bypass intended query filters and enumerate unintended database records. The attacker can also perform boolean-based or time-based SQL injection attacks, which can increase the load on the database server. However, the vulnerability does not grant the ability to modify database contents.
Mitigation Recommendations
This vulnerability is fixed in MapServer version 8.6.4. Users should upgrade to version 8.6.4 or later to remediate this issue. No other mitigation steps are indicated by the vendor advisory.
Prior to 8.6.4, MapServer's PostGIS runtime filter translation in src/mappostgis.cpp and msPostGISLayerTranslateFilter() treats a filteritem as… (CVE-2026-54354)
Description
MapServer versions prior to 8.6.4 contain a vulnerability in the PostGIS runtime filter translation where unverified user input is treated as numeric and concatenated into SQL predicates. This allows unauthenticated remote attackers to bypass filters, enumerate unintended records, and perform boolean- or time-based SQL injection attacks, increasing database load. The vulnerability does not enable direct database modification. The issue is fixed in version 8.6.4.
CVSS v3.1
Score 8.2high
Affected software
pkg:deb/ubuntu/mapserver?arch=source&distro=xenialpkg:deb/ubuntu/mapserver?arch=source&distro=bionicpkg:deb/ubuntu/mapserver?arch=source&distro=focalpkg:deb/ubuntu/mapserver?arch=source&distro=jammypkg:deb/ubuntu/mapserver?arch=source&distro=noblepkg:deb/ubuntu/mapserver?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In MapServer versions before 8.6.4, the PostGIS runtime filter translation function msPostGISLayerTranslateFilter() in src/mappostgis.cpp incorrectly treats filter items as numeric based on metadata without verifying that attacker-controlled CGI query strings or OGC API Features featureId inputs are numeric literals. This unquoted input is concatenated into the generated PostgreSQL/PostGIS predicate, enabling unauthenticated remote attackers with access to the query endpoint to bypass predicates, enumerate unintended records, and conduct boolean- or time-based SQL injection attacks, thereby increasing database load. The vulnerability does not by itself allow database modification. The flaw is resolved in version 8.6.4.
Potential Impact
An unauthenticated remote attacker can exploit this vulnerability to bypass intended query filters and enumerate unintended database records. The attacker can also perform boolean-based or time-based SQL injection attacks, which can increase the load on the database server. However, the vulnerability does not grant the ability to modify database contents.
Mitigation Recommendations
This vulnerability is fixed in MapServer version 8.6.4. Users should upgrade to version 8.6.4 or later to remediate this issue. No other mitigation steps are indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-54354
- Osv Schema Version
- 1.7.0
- Ecosystems
- ["Ubuntu:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]
- Cvss Version
- 3.1
Threat ID: 6ab4be64f7a7c54106f0d3ba
Added to database: 09/24/2026, 06:08:36 UTC
Last enriched: 09/24/2026, 06:51:11 UTC
Last updated: 09/25/2026, 01:47:43 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.