Adhyan Agarwal logoadhyan agarwal
BACK TO ARCHIVE
HTB|2026.05.16

SmartHire — MLflow Pickle RCE to Python .pth Privesc

OS

Linux

Difficulty

Medium

Category

WEB

Released

2026.05.16

Found a models subdomain running MLflow 2.14.1, logged in with default creds, and got a shell as svcweb via pickle-deserialization RCE (CVE-2024-37054). Escalated to root by abusing a sudo Python script calling site.addsitedir, dropping a malicious .pth file to SUID /bin/bash.

Want to try this box yourself?

Spoiler-free mode is on by default — every solution stays hidden behind a reveal. Peek the hints, attempt each step, then unlock the answer when you're stuck. Turn it off to read every solution inline.

Nmap

Web Enumeration

Initial Foothold

Privilege Escalation