Skip to main content
EPSS 0.7%top 50%

Prior to 8.6.4, MapServer's PostGIS runtime filter translation in src/mappostgis.cpp and msPostGISLayerTranslateFilter() treats a filteritem as… (CVE-2026-54354)

0
Medium
Published: 09/17/2026 (09/17/2026, 21:17:00 UTC)
Source: GCVE Database
Product: mapserver

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L

Affected software

Ubuntu:16.04:LTSmore threats →ghsa
mapserver
pkg:deb/ubuntu/mapserver?arch=source&distro=xenial
Affected versions
=7.0.0-4build1=7.0.0-5ubuntu1=7.0.0-7=7.0.0-8=7.0.0-8build1=7.0.0-9=7.0.0-9ubuntu1=7.0.0-9ubuntu2=7.0.0-9ubuntu3=7.0.0-9ubuntu3.1
Ubuntu:18.04:LTSmore threats →ghsa
mapserver
pkg:deb/ubuntu/mapserver?arch=source&distro=bionic
Affected versions
=7.0.6-2build1=7.0.7-1=7.0.7-1build1=7.0.7-1build2
Ubuntu:20.04:LTSmore threats →ghsa
mapserver
pkg:deb/ubuntu/mapserver?arch=source&distro=focal
Affected versions
=7.4.1-1build1=7.4.1-1build3=7.4.2-1=7.4.2-1build1=7.4.3-1=7.4.3-1build2=7.4.3-2=7.4.3-2build1
Ubuntu:22.04:LTSmore threats →ghsa
mapserver
pkg:deb/ubuntu/mapserver?arch=source&distro=jammy
Affected versions
=7.6.3-1~exp1ubuntu1=7.6.4-2=7.6.4-2build2
Ubuntu:24.04:LTSmore threats →ghsa
mapserver
pkg:deb/ubuntu/mapserver?arch=source&distro=noble
Affected versions
=8.0.1-2build1=8.0.1-2build2=8.0.1-2build3=8.0.1-2build5=8.0.1-4ubuntu1=8.0.1-4ubuntu2
Ubuntu:26.04:LTSmore threats →ghsa
mapserver
pkg:deb/ubuntu/mapserver?arch=source&distro=resolute
Affected versions
=8.4.0-4build1=8.4.1-1=8.4.1-1build1=8.4.1-2=8.4.1-2build1=8.6.0-1=8.6.0-1build1

Run 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

AILast updated: 09/24/2026, 06:51:11 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses