CVE-2025-11849CWE-22path-traversal

CVE-2025-11849

Critical · published October 17, 2025

CVSS v3.1
9.3
EPSS
1%
Percentile
66.1
In the wild
Unconfirmed
What it is

⚠️ A crafty docx file can sneak right through if you’re using Mammoth before 1.11.0! This vulnerability opens a door to directory traversal that could lead attackers to sensitive files. 🔥 Think of it like a hotel manager handing over a master key without verifying the guest's identity. The manager can be tricked into letting an unauthorized person through the back door! An attacker could exploit this vulnerability to access arbitrary files on the server or even cause resource exhaustion by linking to special device files like /dev/random. The potential for data breaches or server slowdowns is absolutely devastating!

Put simply

Think of it like a hotel manager handing over a master key without verifying the guest's identity. The manager can be tricked into letting an unauthorized person through the back door! This directory traversal vulnerability occurs due to a lack of path and file type validation in the Mammoth package when processing a docx file with external links. This allows attackers to resolve URIs to sensitive file paths on the server.

What to do

An attacker could exploit this vulnerability to access arbitrary files on the server or even cause resource exhaustion by linking to special device files like /dev/random. The potential for data breaches or server slowdowns is absolutely devastating! Upgrade to Mammoth version 1.11.0 or later to close this security gap. Additionally, Review your input validation processes to ensure only safe file types are processed. Don't let your guards down! You've got this! Just follow these steps and you'll have your systems locked down tight in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.3 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.01126 · 66.1th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-10-17T09:15Z
References (7)
EPSS history
Timeline
  • 17 OCT 05:00Z
    Versions of the package mammoth from 0.3.25 and before 1.11.0; versions of the package mammoth from 0.3.25 and before 1.11.0; versions of the package mammoth…
    cvelistv5