Live threats

All CVEs / Cesanta

CVE-2022-25299Cesanta Mongoose

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.3%
probability of exploitation in 30 days · percentile 70
Auth required
No
Published
Feb 18, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-552
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mongoose.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
cesantamongoose< 7.6

Official sources

References

Links published by the sources. Open them with care.