Vulnerability database / CVE-2022-25299
CVE-2022-25299
HIGH 7.5 CVSS 3.1 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.
Published 18 Feb 2022
Last modified 17 Jun 2026 Assigned by report@snyk.io NVD status Modified Weakness
CWE-552 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
report@snyk.io (Secondary)
CVSS 3.1
CRITICAL 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
nvd@nist.gov (Primary)
CVSS 3.1
HIGH 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 5.0
AV:N/AC:L/Au:N/C:N/I:P/A:N
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
cesanta
mongoosecpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*
< 7.6
7.6
References
History
25 Nov 2026 20:34 UTC · NVD: first stored (published 18 Feb 2022)