CVE-2026-77327: Prior to 8.6.5, MapServer's MySQL JOIN implementation in src/mapjoin.c copies the source layer
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
t = 0 is the CVE’s publication on cve.org
Disclosed: evidence found.
CVE published 20 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CISA SSVC: proof of concept public
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
Timeline
CVE ID reserved
by GitHub, Inc.
, 92 days before disclosure
CVE published
on cve.org
, t = 0
CISA SSVC assessment
proof of concept public
, 19 minutes after disclosure
In Threat Radar
record ingested
, 25 minutes after disclosure
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CISA SSVC, 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 MySQL JOIN implementation in src/mapjoin.c copies the source layer attribute selected by JOIN ... FROM into joininfo->target and inserts it into the query built by msMySQLJoinNext() without parameterization or SQL escaping. When MySQL JOIN support is enabled, an attacker who can control that source feature attribute, including through imported shapefile or DBF data or another untrusted spatial source, can inject SQL operators or expressions that change the intended JOIN predicate. This can bypass the intended key comparison and expose unrelated records from the MySQL or MariaDB JOIN table through output templates, query responses, or downstream application logic. This issue is fixed in version 8.6.5.
References
- ubuntu.com/security/CVE-2026-77327 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-77327 (opens in a new tab)
- github.com/MapServer/MapServer/security/advisories/GHSA-7624-4mwh-9cxr (opens in a new tab)
- github.com/MapServer/MapServer/pull/7547 (opens in a new tab)
- github.com/MapServer/MapServer/pull/7567 (opens in a new tab)
- github.com/MapServer/MapServer/commit/b1aa22b1ea4ba4293c0fddea92e01ce0dc18a300 (opens in a new tab)
- github.com/MapServer/MapServer/commit/f4f95059e2610d431e0b46d75d713cd52b84f64c (opens in a new tab)
- github.com/MapServer/MapServer/releases/tag/rel-8-6-5 (opens in a new tab)