{"id":"CVE-2026-77327","aliases":[],"cve":{"records":[{"id":"CVE-2026-77327","source":"GitHub_M","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-08-20T19:24:11.618Z","published":"2026-11-20T19:04:28.200Z","modified":"2026-11-20T19:23:36.268Z"}],"publishers":[{"name":"GitHub_M","role":"CNA","organizationId":"a0819718-46f1-4df5-94e2-005712e83aaa","modified":"2026-11-20T19:04:28.200Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-11-20T19:23:36.268Z"}],"references":[{"url":"https://github.com/MapServer/MapServer/security/advisories/GHSA-7624-4mwh-9cxr","tags":["x_refsource_CONFIRM"],"source":"GitHub_M"},{"url":"https://github.com/MapServer/MapServer/pull/7547","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/MapServer/MapServer/pull/7567","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/MapServer/MapServer/commit/b1aa22b1ea4ba4293c0fddea92e01ce0dc18a300","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/MapServer/MapServer/commit/f4f95059e2610d431e0b46d75d713cd52b84f64c","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/MapServer/MapServer/releases/tag/rel-8-6-5","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/MapServer/MapServer/security/advisories/GHSA-7624-4mwh-9cxr","tags":["exploit"],"source":"CISA-ADP"}],"weaknesses":[{"id":"CWE-89","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command","source":"GitHub_M"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-11-20T19:23:11.562509Z","decisions":[{"name":"Exploitation","value":"poc"},{"name":"Automatable","value":"yes"},{"name":"Technical Impact","value":"partial"}]}]},"title":"MapServer: MySQL JOIN second-order SQL injection in src/mapjoin.c","titleSource":"GitHub_M","descriptionSource":"GitHub_M","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.","score":6.9,"severity":"medium","published":"2026-11-20T19:04:28.200Z","modified":"2026-11-20T19:23:36.268Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"MapServer","name":"MapServer","platforms":[],"versions":[{"version":"< 8.6.5","status":"affected"}],"cpes":[],"source":"GitHub_M","url":"https://www.cve.org/CVERecord?id=CVE-2026-77327"}],"remediation":[],"references":["https://github.com/MapServer/MapServer/security/advisories/GHSA-7624-4mwh-9cxr","https://github.com/MapServer/MapServer/pull/7547","https://github.com/MapServer/MapServer/pull/7567","https://github.com/MapServer/MapServer/commit/b1aa22b1ea4ba4293c0fddea92e01ce0dc18a300","https://github.com/MapServer/MapServer/commit/f4f95059e2610d431e0b46d75d713cd52b84f64c","https://github.com/MapServer/MapServer/releases/tag/rel-8-6-5"],"sources":[{"name":"CVE","id":"CVE-2026-77327","modified":"2026-11-20T19:23:36.268Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-77327"}],"assessments":[{"source":"GitHub_M","vector":"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","score":6.9}],"sourceAffected":[],"observedAt":"2026-11-20T19:42:32.929Z","kev":{"status":"not-listed","checkedAt":"2026-11-28T23:10:31.542Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-20T19:50:34.853Z","attemptedAt":"2026-11-20T19:50:34.853Z"},{"source":"GHSA","status":"refresh-failed","attemptedAt":"2026-11-20T19:45:33.024Z"},{"source":"EUVD","status":"no-result","checkedAt":"2026-11-20T19:50:34.692Z","attemptedAt":"2026-11-20T19:50:34.692Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-20T19:50:34.706Z","attemptedAt":"2026-11-20T19:50:34.706Z"}],"evidence":[{"source":"NVD","id":"CVE-2026-77327","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77327","modified":"2026-11-20T19:18:54.270","score":6.9,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","checkedAt":"2026-11-20T19:50:34.853Z"}],"aiSummary":{"text":"MapServer versions prior to 8.6.5 have a SQL injection weakness in the MySQL JOIN implementation, allowing an attacker with control over a source feature attribute to inject SQL operators and expose unrelated records. The attacker must have access to untrusted spatial sources. The impact is exposure of records through output templates or query responses.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-20T20:46:13.433Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-77327"}]}}