Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-41954

LOW 3.3EPSS 12%

Temporary File Information Disclosure Vulnerability

Also known as GHSA-jf2p-4gqj-849g, PYSEC-2022-42996

Mitigation

  • Upgrade mpxj to 10.14.1 or later.
  • Upgrade net.sf.mpxj:mpxj to 10.14.1 or later.
  • Upgrade net.sf.mpxj to 10.14.1 or later.
  • Upgrade net.sf.mpxj-for-csharp to 10.14.1 or later.
  • Upgrade net.sf.mpxj-for-vb to 10.14.1 or later.

Who should check

  • Projects that depend on PyPI package mpxj (< 10.14.1)
  • Projects that depend on Maven package net.sf.mpxj:mpxj (< 10.14.1)
  • Projects that depend on NuGet package net.sf.mpxj (< 10.14.1)
  • Projects that depend on NuGet package net.sf.mpxj-for-csharp (< 10.14.1)
  • Projects that depend on NuGet package net.sf.mpxj-for-vb (< 10.14.1)
  • Anyone running joniles mpxj < 10.14.1

Vulnerability facts

Affected
mpxj < 10.14.1; net.sf.mpxj:mpxj < 10.14.1; net.sf.mpxj < 10.14.1; net.sf.mpxj-for-csharp < 10.14.1; net.sf.mpxj-for-vb < 10.14.1
Fixed in
10.14.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
3.3 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: None
  • Availability impact: None
EPSS
0.27% chance of exploitation in 30 days (percentile 12, 2026-11-26)
CWE
CWE-200, CWE-377
Published
Modified

Description

MPXJ is an open source library to read and write project plans from a variety of file formats and databases. On Unix-like operating systems (not Windows or macos), MPXJ's use of `File.createTempFile(..)` results in temporary files being created with the permissions `-rw-r--r--`. This means that any other user on the system can read the contents of this file. When MPXJ is reading a schedule file which requires the creation of a temporary file or directory, a knowledgeable local user could locate these transient files while they are in use and would then be able to read the schedule being processed by MPXJ. The problem has been patched, MPXJ version 10.14.1 and later includes the necessary changes. Users unable to upgrade may set `java.io.tmpdir` to a directory to which only the user running the application has access will prevent other users from accessing these temporary files.

Affected and fixed versions

Package / productAffectedFixedSource
PyPI mpxj< 10.14.110.14.1osv
Maven net.sf.mpxj:mpxj< 10.14.110.14.1osv
NuGet net.sf.mpxj< 10.14.110.14.1osv
NuGet net.sf.mpxj-for-csharp< 10.14.110.14.1osv
NuGet net.sf.mpxj-for-vb< 10.14.110.14.1osv
joniles mpxj< 10.14.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-41954. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-41954.md
Affected: mpxj < 10.14.1; net.sf.mpxj:mpxj < 10.14.1; net.sf.mpxj < 10.14.1; net.sf.mpxj-for-csharp < 10.14.1; net.sf.mpxj-for-vb < 10.14.1
Fixed in: 10.14.1

Steps:
1. Search this machine and project for mpxj (PyPI), net.sf.mpxj:mpxj (Maven), net.sf.mpxj (NuGet), net.sf.mpxj-for-csharp (NuGet), net.sf.mpxj-for-vb (NuGet), joniles mpxj: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-41954 being exploited?

There is no confirmed exploitation: CVE-2022-41954 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-41954?

Low: CVSS 3.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2022-41954?

mpxj < 10.14.1; net.sf.mpxj:mpxj < 10.14.1; net.sf.mpxj < 10.14.1; net.sf.mpxj-for-csharp < 10.14.1; net.sf.mpxj-for-vb < 10.14.1.

Is there a fix for CVE-2022-41954?

Yes. Fixed in 10.14.1. Upgrade mpxj to 10.14.1 or later. Upgrade net.sf.mpxj:mpxj to 10.14.1 or later. Upgrade net.sf.mpxj to 10.14.1 or later. Upgrade net.sf.mpxj-for-csharp to 10.14.1 or later. Upgrade net.sf.mpxj-for-vb to 10.14.1 or later.

How do I check if I'm affected by CVE-2022-41954?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors