๐Ÿ” CVE Alert

CVE-2026-77328

UNKNOWN 0.0

MapServer: PostgreSQL JOIN second-order SQL injection in src/mappostgresql.c

CVSS Score
0.0
EPSS Score
0.8%
EPSS Percentile
56th

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.

CWE CWE-89
Vendor mapserver
Product mapserver
Published Nov 20, 2026
Last Updated Nov 25, 2026
Stay Ahead of the Next One

Get instant alerts for mapserver mapserver

Be the first to know when new unknown vulnerabilities affecting mapserver mapserver are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

MapServer / MapServer
< 8.6.5

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/MapServer/MapServer/security/advisories/GHSA-m3xh-ccmh-x8rw github.com: https://github.com/MapServer/MapServer/pull/7546 github.com: https://github.com/MapServer/MapServer/pull/7566 github.com: https://github.com/MapServer/MapServer/commit/05babb88314b8f022eb47a3ab1a00eb37f92085f github.com: https://github.com/MapServer/MapServer/commit/a39a299a03a767dd966bb40caf044539e7813bce github.com: https://github.com/MapServer/MapServer/releases/tag/rel-8-6-5