Repository navigation
add advisory hf-hub - #3607
Open
muhammad-hassnain wants to merge 1 commit into
Open
add advisory hf-hub#3607muhammad-hassnain wants to merge 1 commit into
muhammad-hassnain wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Affected crate(s)
Links to upstream issue(s) or PR(s)
huggingface/hf-hub#241
Severity
A file name taken from a repository or bucket listing (or the
ETag/X-Repo-Commitresponse headers) is joined onto the download directory with no../ absolute / UNC check, so a crafted name is written outside that directory (path traversal, CWE-22). On Windows a malicious repository on the genuine Hub can escape the destination, including into the default cache (the case Hugging Face fixed in the Python client as CVE-2026-15717); on any platform it is reachable through a malicious or mirror endpoint. This allows overwriting or planting files the process can write, which can lead to code execution. Affected from1.0.0-rc.0onward; no fixed release (CVSS 7.5).Checklist
RUSTSEC-0000-0000as the IDdatefield is set to the public disclosure dateI emailed them at security@huggingface.co on Oct 30th, and after a week of no response I raised an issue on their GitHub and its been almost 2 weeks and there has been no movement there.