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

Source: https://junglewise.ai/threats/cve-2024-49771-mpxj-has-a-potential-path-traversal-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-07  
License: CC BY 4.0 with a link back

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)](https://junglewise.ai/threats/technologies/net-sf-mpxj-mpxj), [MPXJ.Net (NuGet)](https://junglewise.ai/threats/technologies/mpxj-net), [net.sf.mpxj (NuGet)](https://junglewise.ai/threats/technologies/net-sf-mpxj), [net.sf.mpxj-for-csharp (NuGet)](https://junglewise.ai/threats/technologies/net-sf-mpxj-for-csharp), [net.sf.mpxj-for-vb (NuGet)](https://junglewise.ai/threats/technologies/net-sf-mpxj-for-vb), [mpxj (PyPI)](https://junglewise.ai/threats/technologies/pypi-mpxj), [mpxj (RubyGems)](https://junglewise.ai/threats/technologies/mpxj). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven), [NuGet](https://junglewise.ai/threats/vendors/nuget), [PyPI](https://junglewise.ai/threats/vendors/pypi), [RubyGems](https://junglewise.ai/threats/vendors/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

  ```sh
  # 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

  ```sh
  dotnet add package MPXJ.Net --version 13.5.1
  ```

- net.sf.mpxj (NuGet): upgrade to 13.5.1 or later

  ```sh
  dotnet add package net.sf.mpxj --version 13.5.1
  ```

- net.sf.mpxj-for-csharp (NuGet): upgrade to 13.5.1 or later

  ```sh
  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

  ```sh
  dotnet add package net.sf.mpxj-for-vb --version 13.5.1
  ```

- mpxj (PyPI): upgrade to 13.5.1 or later

  ```sh
  pip install "mpxj>=13.5.1"
  ```

- mpxj (RubyGems): upgrade to 13.5.1 or later

  ```sh
  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

## Related threats

- [MPXJ path traversal in Primavera P3 PRX and SureTrak STX readers](https://junglewise.ai/threats/cve-2026-65829-mpxj-path-traversal-in-primavera-p3-prx-and-suretrak-stx-readers)
- [MPXJ XXE vulnerability in MerlinReader](https://junglewise.ai/threats/cve-2026-61570-mpxj-xxe-vulnerability-in-merlinreader)
- [Temporary File Information Disclosure vulnerability in MPXJ](https://junglewise.ai/threats/cve-2022-41954-temporary-file-information-disclosure-vulnerability-in-mpxj)
- [Improper Restriction of XML External Entity Reference in MPXJ](https://junglewise.ai/threats/cve-2020-25020-improper-restriction-of-xml-external-entity-reference-in-mpxj)
- [MPXJ path Traversal vulnerability](https://junglewise.ai/threats/cve-2020-35460-mpxj-path-traversal-vulnerability)
