PT-2026-85157

Published

2026-08-24

·

Updated

2026-08-24

Description by

CVSS 3.1
6.5
Medium
MetricsAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
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.
Exploitability
Fix
Vendors
Affected products
Related identifiers
JLSEC-2026-1379
Found an issue in the description? Have something to add? Feel free to write us 👾