Skip to main content

onenote_parser CVE-2026-46671

| EUVDEUVD-2026-45987 MEDIUM
Path Traversal (CWE-22)
2026-05-21 https://github.com/msiemens/onenote.rs GHSA-4j5m-wc25-pvh7
4.4
CVSS 3.1 · Vendor: https://github.com/msiemens/onenote.rs
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious .onetoc2 with traversal entry names
  2. Delivery
    Deliver file to target host
  3. Exploit
    Victim application calls Parser::parse_notebook
  4. Execution
    Parser resolves attacker path outside notebook directory
  5. Persist
    Open arbitrary filesystem path
  6. Impact
    Probe file existence via error behavior or trigger DoS

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires three concrete conditions: (1) a target application must call Parser::parse_notebook on a .onetoc2 file that the attacker can supply or influence - applications that exclusively process internally-generated or otherwise trusted notebooks are not at risk; (2) a user or automated application action must trigger processing of the malicious file (CVSS UI:R), meaning passive receipt of the file is insufficient; and (3) the attacker must be able to predict or enumerate target file paths on the host filesystem to probe or cause denial-of-service. The CVSS AV:L vector reflects that exploitation is local in scope - the malicious file must be present on the target host and actively fed to the parser. No privileges are required to supply the malicious input (CVSS PR:N). Direct content exfiltration is not achievable because the parser aborts on parse failure, limiting attacker outcomes to file-existence side-channel inference and availability impact from special or oversized files.

Impact

The CVSS 4.4 (Medium) score appropriately reflects the constrained impact profile: AV:L indicates exploitation requires local file-system context (the malicious .onetoc2 must reach and be processed on the target host), UI:R means a user or application must actively invoke parse_notebook on the attacker-controlled file, and C:L/A:L scores reflect the limited confidentiality impact (file-existence probing only, not content reading) and modest availability risk (DoS via large or special files). No EPSS score was included in the provided intelligence data, so exploitation probability cannot be quantified. KEV status is absent - no confirmed active exploitation. No public proof-of-concept exploit has been identified. Real-world risk is tightly scoped to applications that accept .onetoc2 files from untrusted external sources; any application that parses only internally-generated or trusted notebooks faces negligible practical risk. The inability to return file contents through the parser's API surface substantially reduces the confidentiality impact relative to typical unrestricted path traversal vulnerabilities, making this a lower-priority issue for most deployments unless the attack surface includes externally-supplied notebook files.

Exploit ScenarioDerived

An attacker crafts a .onetoc2 file embedding entry names containing path traversal sequences such as ../../etc/passwd or absolute paths like /proc/sysrq-trigger and delivers it to a victim whose application processes externally-supplied OneNote notebooks using onenote_parser. When the application calls Parser::parse_notebook, the parser attempts to open the attacker-specified paths; depending on the target file's behavior, the attacker can infer file existence from error timing or application responses, or trigger a hang or crash by pointing at a large file or blocking special device. No public proof-of-concept exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 21, 2026

Path traversal in the Rust crate onenote_parser (versions before 1.1.1) enables an attacker who supplies a malicious .onetoc2 notebook table-of-contents file to direct Parser::parse_notebook to open arbitrary files on the host filesystem outside the intended notebook directory. While direct content exfiltration is constrained by the parser aborting when a target file fails to parse as a OneNote section, file-existence probing and denial-of-service via large or special files (e.g., named pipes, device nodes) remain viable attack outcomes. No public exploit has been identified and no confirmed active exploitation exists; vendor-released patch version 1.1.1, published 2026-05-15, resolves the issue.

RemediationAI

Upgrade to onenote_parser 1.1.1, available on crates.io and confirmed via the CHANGELOG at https://github.com/msiemens/onenote.rs/blob/master/CHANGELOG.md#111---2026-05-15 and the fix commit at https://github.com/msiemens/onenote.rs/commit/c9267b2c96e2542be7e7b557d67318e81b733585. For users who cannot immediately upgrade: restrict Parser::parse_notebook calls to .onetoc2 files from verified trusted sources only, eliminating the untrusted-input attack surface with no functional trade-off for trusted-source use cases. Alternatively, replace notebook-level parsing with direct calls to Parser::parse_section or Parser::parse_section_buffer on individual .one files - these functions do not perform the directory walk and are unaffected by this vulnerability, but this workaround requires application-level refactoring and foregoes automatic notebook structure discovery via .onetoc2. Vendor advisory: https://github.com/msiemens/onenote.rs/security/advisories/GHSA-4j5m-wc25-pvh7.

Affected VersionsENISA

onenote.rs < 1.1.1

Affected Packages

cargo onenote_parser fix: 1.1.1
euvd onenote_rs fix: 1.1.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in cargo, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The onenote_parser Rust crate (pkg:rust/onenote_parser) implements parsing of Microsoft OneNote formats, including .onetoc2 table-of-contents files that enumerate section file entry names. The vulnerable Parser::parse_notebook function reads these entry names and appended them directly to the notebook's base directory path using PathBuf::push() without any validation that the result remained within that directory - a textbook CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) root cause. An attacker could supply entry names containing absolute paths (e.g., /etc/passwd), parent-directory components (../), or other traversal sequences to redirect the parser to arbitrary filesystem locations. The fix in commit c9267b2c96e2542be7e7b557d67318e81b733585 introduces a dedicated resolve_entry_path function that rejects absolute paths and ParentDir, RootDir, and Prefix path components, applies sanitise-file-name crate validation to each filename component, and then canonicalizes both the base directory and resolved candidate path to confirm via starts_with() that the result is genuinely contained within the notebook directory.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/msiemens/onenote.rs) PRIMARY 4.4 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
SUSE MEDIUM

Primary rating from Vendor (https://github.com/msiemens/onenote.rs).

CVSS VectorVendor: https://github.com/msiemens/onenote.rs

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
Low

DescriptionCVE.org

Impact

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.

Patches

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.

Workarounds

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Micro 5.5 Affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy