Prior to 8.6.5, MapServer's PostgreSQL JOIN implementation in src/mappostgresql.c copies the source layer attribute
Affects mapserverSource GCVE Database
Not known to be exploited · CVSS 6.9 Medium · fixed in 8.6.5 : update mapserver when convenient.
Data as of 25 Nov 2026, 22:36 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 6.9 |
|---|
- Patch
- Available – fixed in 8.6.5
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSmapserverpkg:deb/ubuntu/mapserver?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSmapserverpkg:deb/ubuntu/mapserver?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSmapserverpkg:deb/ubuntu/mapserver?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSmapserverpkg:deb/ubuntu/mapserver?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSmapserverpkg:deb/ubuntu/mapserver?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Ubuntu 16.04 LTSmapserverpkg:deb/ubuntu/mapserver?arch=source&distro=xenialOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2026-77328 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-77328 (opens in a new tab)
- github.com/MapServer/MapServer/security/advisories/GHSA-m3xh-ccmh-x8rw (opens in a new tab)
- github.com/MapServer/MapServer/pull/7546 (opens in a new tab)
- github.com/MapServer/MapServer/pull/7566 (opens in a new tab)
- github.com/MapServer/MapServer/commit/05babb88314b8f022eb47a3ab1a00eb37f92085f (opens in a new tab)
- github.com/MapServer/MapServer/commit/a39a299a03a767dd966bb40caf044539e7813bce (opens in a new tab)
- github.com/MapServer/MapServer/releases/tag/rel-8-6-5 (opens in a new tab)