patchminder
Proof of concept · CISA assessment CVE-2025-11849

Path traversalin the mammoth package.

Published 17 Oct 2025 · Updated 17 Oct 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).

Severity
Critical 9.3
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 1.1% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 1.11.0 or later
In plain words

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 before 1.11.0; versions of the package org.zwobble.mammoth:mammoth before 1.11.0 are vulnerable to Directory Traversal due to the lack of path or file type validation when processing a docx file containing an image with an external link (r:link attribute instead of embedded r:embed). The library resolves the URI to a file path and after reading, the content is encoded as base64 and included in the HTML output as a data URI. An attacker can read arbitrary files on the system where the conversion is performed or cause an excessive resources consumption by crafting a docx file that links to special device files such as /dev/random or /dev/zero.

What to do now
  • Upgrade mammoth (npm) to 1.11.0 or later.
  • Upgrade org.zwobble.mammoth:mammoth (Maven) to 1.11.0 or later.
  • Upgrade mammoth (PyPI) to 1.11.0 or later.
  • Upgrade Mammoth (NuGet) to 1.11.0 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
mammoth
Not confirmed
Not confirmed
CVE record
Mammoth
Not confirmed
Not confirmed
CVE record
org.zwobble.mammoth:mammoth
Not confirmed
Not confirmed
CVE record
mammoth (npm)
0.3.25 to before 1.11.0
1.11.0
GitHub advisory
org.zwobble.mammoth:mammoth (Maven)
before 1.11.0
1.11.0
GitHub advisory
mammoth (PyPI)
0.3.25 to before 1.11.0
1.11.0
GitHub advisory
Mammoth (NuGet)
before 1.11.0
1.11.0
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 16 Oct 2025
    CVE ID reserved by snyk.
  2. 17 Oct 2025
    Published in the CVE List.
  3. 17 Oct 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Same weakness: Path traversal

All CWE-22 vulnerabilities

References
Cite this page

Patchminder. CVE-2025-11849: Path traversal in the mammoth package. https://patchminder.com/cve/cve-2025-11849/ (accessed 5 December 2026).