ModelScan Bypass PoC β glob.glob
Security research for responsible disclosure via Huntr MFV program.
Vulnerability
glob.glob is not in modelscan's unsafe_globals blocklist.
When a pickle file containing this global is scanned by modelscan, it reports "No issues found."
However, loading the file with pickle.loads() / torch.load() triggers directory enumeration β lists files matching any pattern. Information disclosure of filesystem structure..
Impact
- Severity: MEDIUM
- Effect: directory enumeration β lists files matching any pattern. Information disclosure of filesystem structure.
Reproduction
pip install modelscan
modelscan scan -p bypass_poc.pkl
# Output: "No issues found!"
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support