fix(deps): update dependency unstructured to v0.18.18 [security] #243
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.18.15->0.18.18GitHub Vulnerability Alerts
CVE-2025-64712
A Path Traversal vulnerability in the
partition_msgfunction allows an attacker to write or overwrite arbitrary files on the filesystem when processing malicious MSG files with attachments.Impact
An attacker can craft a malicious .msg file with attachment filenames containing path traversal sequences (e.g.,
../../../etc/cron.d/malicious). When processed withprocess_attachments=True, the library writes the attachment to anattacker-controlled path, potentially leading to:
Affected Functionality
The vulnerability affects the MSG file partitioning functionality when
process_attachments=Trueis enabled.Vulnerability Details
The library does not sanitize attachment filenames in MSG files before using them in file write operations, allowing directory
traversal sequences to escape the intended output directory.
Workarounds
Until patched, users can:
process_attachments=Falsewhen processing untrusted MSG filesRelease Notes
Unstructured-IO/unstructured (unstructured)
v0.18.18Compare Source
Fixes
partition_msgfunctionsConfiguration
📅 Schedule: Branch creation - "" in timezone UTC, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.