Skip to content

fix(modeling): reject sharded-checkpoint weight_map entries that escape the checkpoint folder (#4067)#4070

Open
Anai-Guo wants to merge 2 commits into
huggingface:mainfrom
Anai-Guo:security/sharded-checkpoint-path-traversal
Open

fix(modeling): reject sharded-checkpoint weight_map entries that escape the checkpoint folder (#4067)#4070
Anai-Guo wants to merge 2 commits into
huggingface:mainfrom
Anai-Guo:security/sharded-checkpoint-path-traversal