Vulnerabilities in pkg:nuget/net.sf.mpxj-for-vb

PACKAGE
Advisory Identifier: GHSA-7952-gx68-cjqr
Advisory Summary

CVE-2026-65829 is a MODERATE (CVSS 5.3) path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting MPXJ libraries in the RubyGems ecosystem. The issue involves potential path traversal vulnerability in primavera p3 prx and suretrak stx readers. Remediation is available by upgrading affected packages to version 16.5.0.

4 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:nuget/net.sf.mpxj-for-vb

4 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:nuget/net.sf.mpxj-for-vb. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-7952-gx68-cjqr CVE-2026-65829 MODERATE MPXJ: Potential Path Traversal Vulnerability in Primavera P3 PRX and SureTrak STX readers
GHSA-5vvx-3h34-f3gj CVE-2026-61570 HIGH MPXJ: XXE Vulnerability in MerlinReader
GHSA-j945-c44v-97g6 CVE-2024-49771 MODERATE MPXJ has a Potential Path Traversal Vulnerability
GHSA-jf2p-4gqj-849g CVE-2022-41954 LOW Temporary File Information Disclosure vulnerability in MPXJ

CVE-2026-65829 at a Glance

CVE Identifier CVE-2026-65829
GHSA Identifier GHSA-7952-gx68-cjqr
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Product MPXJ
Package Ecosystem RubyGems
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-65829

To remediate this vulnerability, upgrade all affected MPXJ dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

mpxj fixed: 16.5.0
Upgrade mpxj to 16.5.0
MPXJ.Net fixed: 16.5.0
Upgrade MPXJ.Net to 16.5.0
mpxj fixed: 16.5.0
pip install mpxj>=16.5.0
net.sf.mpxj fixed: 16.5.0
Upgrade net.sf.mpxj to 16.5.0
net.sf.mpxj-for-csharp fixed: 16.5.0
Upgrade net.sf.mpxj-for-csharp to 16.5.0
net.sf.mpxj-for-vb fixed: 16.5.0
Upgrade net.sf.mpxj-for-vb to 16.5.0
net.sf.mpxj:mpxj fixed: 16.5.0
<dependency>
    <groupId>net.sf.mpxj</groupId>
    <artifactId>mpxj</artifactId>
    <version>16.5.0</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for mpxj

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-65829, inspect your project dependencies for MPXJ:

inspect dependencies for mpxj

Analyze the terminal output to locate any version of MPXJ in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 16.5.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In MPXJ, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact When reading a suitably crafted PRX or STX file, MPXJ can be made to write files to arbitrary locations in the file system. ### Patches This issue is addressed in MPXJ version 16.5.0. ### Workarounds Do not read PRX or STX files from untrusted sources.

CVE-2026-65829 Affected MPXJ Versions

7 component(s)
Fixed Versions:
16.5.0
Product / Package Ecosystem Affected Versions Fixed Version
mpxj
RubyGems
≥ 7.3.0
< 16.5.0
16.5.0
MPXJ.Net
NuGet
≥ 7.3.0
< 16.5.0
16.5.0
mpxj
PyPI
≥ 7.3.0
< 16.5.0
16.5.0
net.sf.mpxj
NuGet
≥ 7.3.0
< 16.5.0
16.5.0
net.sf.mpxj-for-csharp
NuGet
≥ 7.3.0
< 16.5.0
16.5.0
net.sf.mpxj-for-vb
NuGet
≥ 7.3.0
< 16.5.0
16.5.0
net.sf.mpxj:mpxj
Maven
≥ 7.3.0
< 16.5.0
16.5.0

References

Frequently Asked Questions

What is CVE-2026-65829?
CVE-2026-65829 is a security vulnerability in MPXJ involving Potential Path Traversal Vulnerability in Primavera P3 PRX and SureTrak STX readers under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Which MPXJ versions are affected?
Affected versions include releases prior to 16.5.0 across affected packages: mpxj, MPXJ.Net, net.sf.mpxj, net.sf.mpxj-for-csharp, net.sf.mpxj-for-vb, net.sf.mpxj:mpxj.
What version fixes CVE-2026-65829?
Upgrading to 16.5.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is mpxj affected?
Yes, mpxj is affected in releases prior to 16.5.0. Upgrade your dependency to 16.5.0 or later.
Is MPXJ.Net affected?
Yes, MPXJ.Net is affected in releases prior to 16.5.0. Upgrade your dependency to 16.5.0 or later.
What is the CVSS score of CVE-2026-65829?
CVE-2026-65829 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2026-65829?
CVE-2026-65829 is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.).
How can I check RubyGems dependencies for CVE-2026-65829?
Run the dependency tree command: 'inspect dependencies for mpxj'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-7952-gx68-cjqr",
  "modified" : "2026-09-22T20:34:27Z",
  "published" : "2026-09-22T20:34:27Z",
  "aliases" : [ "CVE-2026-65829" ],
  "summary" : "MPXJ: Potential Path Traversal Vulnerability in Primavera P3 PRX and SureTrak STX readers",
  "details" : "### Impact\nWhen reading a suitably crafted PRX or STX file, MPXJ can be made to write files to arbitrary locations in the file system.\n\n### Patches\nThis issue is addressed in MPXJ version 16.5.0.\n\n### Workarounds\nDo not read PRX or STX files from untrusted sources.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "MPXJ.Net"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.3.0"
      }, {
        "fixed" : "16.5.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "mpxj"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.3.0"
      }, {
        "fixed" : "16.5.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "mpxj"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.3.0"
      }, {
        "fixed" : "16.5.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "net.sf.mpxj"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.3.0"
      }, {
        "fixed" : "16.5.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "net.sf.mpxj-for-csharp"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.3.0"
      }, {
        "fixed" : "16.5.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "net.sf.mpxj-for-vb"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.3.0"
      }, {
        "fixed" : "16.5.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "net.sf.mpxj:mpxj"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.3.0"
      }, {
        "fixed" : "16.5.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/joniles/mpxj/security/advisories/GHSA-7952-gx68-cjqr"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/joniles/mpxj/commit/4347315afab1ef5a2907978a754fbc5b0ff58e6f"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/joniles/mpxj"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/joniles/mpxj/releases/tag/v16.5.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-22T20:34:27Z",
    "nvd_published_at" : null
  }
}