{"id":"CVE-2026-73255","published":"2026-08-20T17:40:02Z","modified":"2026-08-25T15:09:33Z","title":"Mongoose: Path traversal in SSI #include directives enables arbitrary file read","vendor":"cesanta","product":"mongoose","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00657,"percentile":0.5239,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/cesanta/mongoose/security/advisories/GHSA-h7m9-764r-7x4x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/cesanta/mongoose/pull/3611","tags":["x_refsource_MISC"]},{"url":"https://github.com/cesanta/mongoose/commit/a9df523f76f43a38bd53b4232b9cfd4c16869e71","tags":["x_refsource_MISC"]},{"url":"https://github.com/cesanta/mongoose/releases/tag/7.22","tags":["x_refsource_MISC"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":10.48},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"cesanta","affectedVersions":[{"vendor":"cesanta","product":"mongoose","versions":["< 7.22"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-25T15:09:21.374366Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-63499","exploited":false,"provenance":"source"}}