CVE-2026-77328
Published:November 20, 2026
Updated:November 23, 2026
MapServer is a system for developing web-based GIS applications. Prior to 8.6.5, MapServer's PostgreSQL JOIN implementation in src/mappostgresql.c copies the source layer attribute selected by JOIN FROM into joininfo->from_value and embeds it without parameterization or escaping into a dynamically generated PostgreSQL query executed by PQexec(). When PostgreSQL JOIN support is enabled, an attacker who can control that source feature attribute can inject quote characters and SQL operators that alter the intended WHERE predicate. This second-order injection can cause unintended rows and JOIN attributes to be returned, potentially exposing information from unrelated PostgreSQL records. This issue is fixed in version 8.6.5.
Affected Packages
mapserver (CONDA):
Affected version(s) =7.6.4 <8.6.5 || >=8.0.0 <8.6.5Fix Suggestion:
Update to version 8.6.5https://github.com/MapServer/MapServer.git (GITHUB):
Affected version(s) >=rel-4-10-0-beta1 <rel-8-6-5 || >=rel-5-0-0-beta1 <rel-8-6-5 || >=rel-6-0-0-beta1 <rel-8-6-5 || >=rel-7-0-0-beta1 <rel-8-6-5 || >=rel-8-0-0-beta1 <rel-8-6-5Fix Suggestion:
Update to version rel-8-6-5Related ResourcesĀ (8)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.2
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an SQL Command
EPSS
Base Score:
0.77