CVE-2026-77327

Source
https://cve.org/CVERecord?id=CVE-2026-77327
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-77327.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-77327
Aliases
  • GHSA-7624-4mwh-9cxr
Downstream
Published
2026-11-20T19:04:28Z
Modified
2026-11-21T21:00:56Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N CVSS Calculator
Summary
MapServer: MySQL JOIN second-order SQL injection in src/mapjoin.c
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-89"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77327.json"
}
References

Affected packages

Git / github.com/mapserver/mapserver

Affected ranges

Type
GIT
Repo
https://github.com/mapserver/mapserver
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "8.6.5"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "b1aa22b1ea4ba4293c0fddea92e01ce0dc18a300"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "f4f95059e2610d431e0b46d75d713cd52b84f64c"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "rel-8-6-5",
            "range":  [
                {
                    "fixed":  "d25c31936f3f67911a56560e95ed2c8a7cb8ab4f"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

Other
rel-3-4
rel-3-5-0
rel-4-0-0
rel-4-10-0
rel-4-10-0-beta1
rel-4-10-0-beta2
rel-4-10-0-beta3
rel-4-10-0-rc1
rel-4-4-0
rel-4-4-0-beta1
rel-4-4-0-beta2
rel-4-4-0-beta3
rel-4-6-0
rel-4-6-0-beta1
rel-4-6-0-beta2
rel-4-6-0-beta3
rel-4-6-0-rc1
rel-4-8-0-beta1
rel-4-8-0-beta2
rel-4-8-0-beta3
rel-4-8-0-rc2
rel-6-4-0
rel-6-4-0-beta1
rel-6-4-0-beta2
rel-6-4-0-rc1
rel-8-6-0
rel-8-6-0-beta1
rel-8-6-0-beta2
rel-8-6-0-rc1
rel-8-6-1
rel-8-6-2
rel-8-6-3
rel-8-6-4
styleObj

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-77327.json"