Read the docs
TI-2025-10864 Aliases CVE-2025-11849GHSA-rmjr-87wv-gf87

Path traversal in mammoth

Priority MEDIUM 64CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01126 66th percentileScored 2026-11-07
Fix Fixed mammoth: 1.11.0Mammoth: 1.11.0+5 more products

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—mammoth0.3.25 to before 1.11.01.11.0Patch availableCNA
—mammoth0.3.25 to before 1.11.01.11.0Patch availableCNA
—Mammothbefore 1.11.01.11.0Patch availableCNA
—org.zwobble.mammoth:mammothbefore 1.11.01.11.0Patch availableCNA
—mammoth (npm)0.3.25 to before 1.11.01.11.0Patch availableGHSA-rmjr-87wv-gf87
—org.zwobble.mammoth:mammoth (Maven)before 1.11.01.11.0Patch availableGHSA-rmjr-87wv-gf87
—mammoth (PyPI)0.3.25 to before 1.11.01.11.0Patch availableGHSA-rmjr-87wv-gf87
—Mammoth (NuGet)before 1.11.01.11.0Patch availableGHSA-rmjr-87wv-gf87
  • mammoth Vendor— Affected 0.3.25 to before 1.11.0 Fixed in 1.11.0 Patch available CNA
  • mammoth Vendor— Affected 0.3.25 to before 1.11.0 Fixed in 1.11.0 Patch available CNA
  • Mammoth Vendor— Affected before 1.11.0 Fixed in 1.11.0 Patch available CNA
  • org.zwobble.mammoth:mammoth Vendor— Affected before 1.11.0 Fixed in 1.11.0 Patch available CNA
  • mammoth (npm) Vendor— Affected 0.3.25 to before 1.11.0 Fixed in 1.11.0 Patch available GHSA-rmjr-87wv-gf87
  • org.zwobble.mammoth:mammoth (Maven) Vendor— Affected before 1.11.0 Fixed in 1.11.0 Patch available GHSA-rmjr-87wv-gf87
  • mammoth (PyPI) Vendor— Affected 0.3.25 to before 1.11.0 Fixed in 1.11.0 Patch available GHSA-rmjr-87wv-gf87
  • Mammoth (NuGet) Vendor— Affected before 1.11.0 Fixed in 1.11.0 Patch available GHSA-rmjr-87wv-gf87

Remediation

  • Fix · CNA mammoth Fixed in 1.11.0
  • Fix · CNA mammoth Fixed in 1.11.0
  • Fix · CNA Mammoth Fixed in 1.11.0
  • Fix · CNA org.zwobble.mammoth:mammoth Fixed in 1.11.0
  • Fix · GHSA-rmjr-87wv-gf87 mammoth (npm) Fixed in 1.11.0 Advisory →
  • Fix · GHSA-rmjr-87wv-gf87 org.zwobble.mammoth:mammoth (Maven) Fixed in 1.11.0 Advisory →
  • Fix · GHSA-rmjr-87wv-gf87 mammoth (PyPI) Fixed in 1.11.0 Advisory →
  • Fix · GHSA-rmjr-87wv-gf87 Mammoth (NuGet) Fixed in 1.11.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-11849
  2. 2026-10-03 Alias added: GHSA-rmjr-87wv-gf87

References

Sources