{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-25299","published":"2022-02-18T13:15:08.383000Z","last_modified":"2026-06-17T04:33:20.967000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-552"],"cpes":[{"criteria":"cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*","part":"a","vendor":"cesanta","product":"mongoose","version_end_excluding":"7.6"}],"cpes_truncated":false,"vendors":["cesanta"],"products":["cesanta/mongoose"],"epss":{"score":0.01281,"percentile":0.70109,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2022-25299/","html_en":"/en/cve/CVE-2022-25299/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-25299","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-25299"},"untrusted":{"vendor_name":"Cesanta","product_name":"Mongoose","desc_en":"This affects the package cesanta/mongoose before 7.6. The unsafe handling of file names during upload using mg_http_upload() method may enable attackers to write files to arbitrary locations outside the designated target folder.","affected":[],"references":[{"url":"https://github.com/cesanta/mongoose/commit/c65c8fdaaa257e0487ab0aaae9e8f6b439335945","tags":["Patch","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-UNMANAGED-CESANTAMONGOOSE-2404180","tags":["Exploit","Third Party Advisory"]}]}}