{"id":"CVE-2026-73255","aliases":["CVE-2026-73255"],"related":[],"kind":"vulnerability","state":"published","title":"Mongoose: Path traversal in SSI #include directives enables arbitrary file read","summary":"Mongoose is an embedded web server and network library. Prior to 7.22, an attacker who can control an SSI-enabled file can place directory traversal sequences in an #include file or #include virtual directive. The mg_ssi() function in src/ssi.c concatenates the directive argument into a filesystem path without calling mg_path_is_sane(), allowing an MG_ENABLE_SSI deployment with ssi_pattern configured to disclose files readable by the Mongoose process. This issue is fixed in version 7.22.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Mongoose is an embedded web server and network library. Prior to 7.22, an attacker who can control an SSI-enabled file can place directory traversal sequences in an #include file or #include virtual directive. The mg_ssi() function in src/ssi.c concatenates the directive argument into a filesystem path without calling mg_path_is_sane(), allowing an MG_ENABLE_SSI deployment with ssi_pattern configured to disclose files readable by the Mongoose process. This issue is fixed in version 7.22.","source":"cvelist"},{"lang":"es","text":"Mongoose es un servidor web embebido y una biblioteca de red. Antes de la versión 7.22, un atacante que puede controlar un archivo habilitado para SSI puede colocar secuencias de salto de directorio en un archivo #include o en una directiva #include virtual. La función mg_ssi() en src/ssi.c concatena el argumento de la directiva en una ruta del sistema de archivos sin llamar a mg_path_is_sane(), permitiendo un despliegue de MG_ENABLE_SSI con ssi_pattern configurado para divulgar archivos legibles por el proceso de Mongoose. Este problema está corregido en la versión 7.22.","source":"nvd"}],"published":"2026-08-20T17:40:02.443Z","modified":"2026-10-18T20:10:00.110Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 7.22","status":"affected"}],"vendor":"cesanta","product":"mongoose","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"7.22"}],"vendor":"cesanta","product":"mongoose","cpe":"cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/cesanta/mongoose/security/advisories/GHSA-h7m9-764r-7x4x","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cesanta/mongoose/pull/3611","tags":["issue-tracking","patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cesanta/mongoose/commit/a9df523f76f43a38bd53b4232b9cfd4c16869e71","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cesanta/mongoose/releases/tag/7.22","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-08-25T15:09:21.374Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-73255","url":"https://www.cve.org/CVERecord?id=CVE-2026-73255","licence":"CVE Terms of Use","modified":"2026-08-25T15:09:33.679Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-73255","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73255","licence":"Public domain","modified":"2026-10-18T20:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:34.682Z","epss":{"score":0.00657,"percentile":0.52768,"date":"2026-12-02T12:00:21.000Z"}}