CVE-2024-49771: PYSEC-2026-1681 - MPXJ has a Potential Path Traversal Vulnerability

CVE-2024-49771 · Severity: low · CVSS 3.1 · Published 2026-07-07

MPXJ has a Potential Path Traversal Vulnerability

Technologies: net.sf.mpxj:mpxj (Maven), MPXJ.Net (NuGet), net.sf.mpxj (NuGet), net.sf.mpxj-for-csharp (NuGet), net.sf.mpxj-for-vb (NuGet), mpxj (PyPI), mpxj (RubyGems). Vendors: Maven, NuGet, PyPI, RubyGems.

Quick answers

Is CVE-2024-49771 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-49771 being exploited in the wild.
How severe is CVE-2024-49771?
Low severity, with a CVSS score of 3.1, published 7 July 2026.
Which products and versions are affected?
net.sf.mpxj:mpxj (Maven) ECOSYSTEM:introduced=8.3.5,fixed=13.5.1; MPXJ.Net (NuGet) ECOSYSTEM:introduced=13.0.0,fixed=13.5.1; net.sf.mpxj (NuGet) ECOSYSTEM:introduced=8.3.5,fixed=13.5.1; net.sf.mpxj-for-csharp (NuGet) ECOSYSTEM:introduced=8.3.5,fixed=13.5.1; and 3 more.
Is there a fix for CVE-2024-49771?
Yes. net.sf.mpxj:mpxj (Maven): upgrade to 13.5.1 or later; MPXJ.Net (NuGet): upgrade to 13.5.1 or later; net.sf.mpxj (NuGet): upgrade to 13.5.1 or later; net.sf.mpxj-for-csharp (NuGet): upgrade to 13.5.1 or later; net.sf.mpxj-for-vb (NuGet): upgrade to 13.5.1 or later; mpxj (PyPI): upgrade to 13.5.1 or later; mpxj (RubyGems): upgrade to 13.5.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2024-49771?
Check whether you run net.sf.mpxj:mpxj (Maven), MPXJ.Net (NuGet), net.sf.mpxj (NuGet) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • net.sf.mpxj:mpxj (Maven): upgrade to 13.5.1 or later
    # set net.sf.mpxj:mpxj to 13.5.1 in your pom.xml or build.gradle
  • MPXJ.Net (NuGet): upgrade to 13.5.1 or later
    dotnet add package MPXJ.Net --version 13.5.1
  • net.sf.mpxj (NuGet): upgrade to 13.5.1 or later
    dotnet add package net.sf.mpxj --version 13.5.1
  • net.sf.mpxj-for-csharp (NuGet): upgrade to 13.5.1 or later
    dotnet add package net.sf.mpxj-for-csharp --version 13.5.1
  • net.sf.mpxj-for-vb (NuGet): upgrade to 13.5.1 or later
    dotnet add package net.sf.mpxj-for-vb --version 13.5.1
  • mpxj (PyPI): upgrade to 13.5.1 or later
    pip install "mpxj>=13.5.1"
  • mpxj (RubyGems): upgrade to 13.5.1 or later
    bundle update mpxj

Affected products

  • net.sf.mpxj:mpxj (Maven) ECOSYSTEM:introduced=8.3.5,fixed=13.5.1
  • MPXJ.Net (NuGet) ECOSYSTEM:introduced=13.0.0,fixed=13.5.1
  • net.sf.mpxj (NuGet) ECOSYSTEM:introduced=8.3.5,fixed=13.5.1
  • net.sf.mpxj-for-csharp (NuGet) ECOSYSTEM:introduced=8.3.5,fixed=13.5.1
  • net.sf.mpxj-for-vb (NuGet) ECOSYSTEM:introduced=8.3.5,fixed=13.5.1
  • mpxj (PyPI) ECOSYSTEM:introduced=8.3.5,fixed=13.5.1
  • mpxj (RubyGems) ECOSYSTEM:introduced=8.3.5,fixed=13.5.1

Identifiers

  • CVE-2024-49771
  • GHSA-j945-c44v-97g6
  • PYSEC-2026-1681

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.