huggingface-hub is vulnerable to Path Traversal
59
Medium Risk
Commit operations such as CommitOperationAdd accepted a path_in_repo value containing embedded .. segments without rejecting it. A path built from externally influenced input could escape the intended repository directory structure once the commit is applied. The fix validates commit paths and rejects any that contain embedded .. segments.
You are affected if you are using a version that falls within the vulnerable range and you build commit operation paths from externally influenced input.
huggingface-hub is vulnerable to Path Traversal in versions 0.8.1 - 1.31.0.
Upgrade the huggingface-hub library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.