# CVE-2022-41954: Temporary File Information Disclosure Vulnerability

- Severity: Low 3.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2022-11-25T00:00:00.000Z
- Modified: 2026-06-17T05:04:07.813Z
- Also known as: GHSA-jf2p-4gqj-849g, PYSEC-2022-42996
- Weaknesses: CWE-200, CWE-377, CWE-668
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- joniles mpxj: < 10.14.1
- net.sf.mpxj:mpxj (Maven): before 10.14.1
- net.sf.mpxj (NuGet): before 10.14.1
- net.sf.mpxj-for-csharp (NuGet): before 10.14.1
- net.sf.mpxj-for-vb (NuGet): before 10.14.1
- mpxj (PyPI): before 10.14.1; before 287ad0234213c52b0638565e14bd9cf3ed44cedd
- mpxj mpxj: before 10.14.1

## Every score

- GitHub_M: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 2.8 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/joniles/mpxj/security/advisories/GHSA-jf2p-4gqj-849g> (advisory, third-party-advisory, web)
- <https://github.com/joniles/mpxj/commit/ae0af24345d79ad45705265d9927fe55e94a5721> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-41954> (advisory)
- <https://github.com/joniles/mpxj/commit/287ad0234213c52b0638565e14bd9cf3ed44cedd> (fix, web)
- <https://github.com/joniles/mpxj> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/mpxj/PYSEC-2022-42996.yaml> (web)

## Sources

- CVE List: [CVE-2022-41954](https://www.cve.org/CVERecord?id=CVE-2022-41954), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-jf2p-4gqj-849g](https://github.com/advisories/GHSA-jf2p-4gqj-849g), CC-BY-4.0, modified 2024-09-26
- NVD: [CVE-2022-41954](https://nvd.nist.gov/vuln/detail/CVE-2022-41954), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-42996](https://osv.dev/vulnerability/PYSEC-2022-42996), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2022-41954 · Whole record: https://cve.day/CVE-2022-41954.json · Rebuilt by cve.day 2026-11-25T22:58:17.074Z
