CVE-2026-46671 json
Rust OneNote File Parser: Path traversal in `Parser::parse_notebook` allows reading files outside the notebook directory
published 2026-05-21 5 mo ago modified 2026-10-24 15 d ago also GHSA-4j5m-wc25-pvh7 , EUVD-2026-45987
- cvss
- 4.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 4%
- public exploits
- 0
- none known
Summary
Rust OneNote File Parser is a parser for Microsoft OneNote files implemented in Rust. Prior to version 1.1.1, a maliciously crafted `.onetoc2` table-of-contents file can cause `Parser::parse_notebook` to open arbitrary files on the host filesystem outside the notebook's directory. The parser reads entry names listed inside the `.onetoc2` and joins them against the notebook's base directory without validating that they are relative paths confined to that directory. The parser will bail out when the target file fails to parse as a OneNote section, so direct content exfiltration through the parser's return value is not practical, though file-existence probing and denial-of-service via large or special files remain possible. Anyone using `onenote_parser` to parse .onetoc2 files received from untrusted sources is affected. Users who only ever parse their own notebooks are not at meaningful risk. The issue is fixed in onenote_parser 1.1.1. The fix rejects absolute paths, parent-directory components, and other invalid path characters in entry names, and additionally canonicalises the resolved path to confirm it stays inside the notebook's base directory. For users who cannot upgrade to 1.1.1, only call `Parser::parse_notebook` on `.onetoc2` files from trusted sources. Alternatively, use `Parser::parse_section` / `Parser::parse_section_buffer` on individual .one files, which do not perform the directory walk.
Patch / fix
- crates.io onenote_parser 1.1.1
- msiemens rust_onenote_file_parser 1.1.1
- clamav SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +6 more 1.5.4-150400.13.11.1
- clamav SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Basesystem 15 SP7 1.5.4-150600.18.31.1
- clamav SLES 16.0, SLES for SAP applications 16.0 1.5.4-160000.1.1
- clamav SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 1.5.4-3.59.1
suse advisories SUSE-SU-2026:4208-1SUSE-SU-2026:4180-1SUSE-SU-2026:4179-1SUSE-SU-2026:23706-1SUSE-SU-2026:23727-1
- clamav openSUSE Leap 16.0 1.5.4-160000.1.1
- clamav openSUSE Tumbleweed 1.5.4-1.1
opensuse advisories openSUSE-SU-2026:21831-1openSUSE-SU-2026:11583-1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.15% chance of exploitation in the next 30 days, higher than 4% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L |
| GitHub | 3.1 | 4.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | onenote_parser | <1.1.1 |
1.1.1 |
Affected products
- msiemens onenote.rs
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/msiemens/onenote.rs/commit/c9267b2c96e2542be7e7b557d67318e81b733585
web, patch
-
github.com
/msiemens/onenote.rs/security/advisories/GHSA-4j5m-wc25-pvh7
web, patch, release-notes, vendor-advisory, mitigation
-
github.com
/msiemens/onenote.rs/blob/master/CHANGELOG.md#111---2026-05-15
web, release-notes
-
github.com
/msiemens/onenote.rs/releases/tag/v1.1.1
web, product, release-notes
-
github.com
/msiemens/onenote.rs
package
Sources
- CVE List CVE-2026-46671
- GitHub Advisory GHSA-4j5m-wc25-pvh7
- NVD CVE-2026-46671
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.