DEF CON 34 - Main - Get Set, Exploit! Unveiling Python Class Pollution   - Z Liu,  G Zhong, J Yu @DEFCONConference
DEF CON 34 - Main - Get Set, Exploit! Unveiling Python Class Pollution   - Z Liu,  G Zhong, J Yu  @DEFCONConference
Uploaded November 2026 | Updated November 2026, 2 days ago
Python is widely used in LLM applications and agent frameworks. Its ease of use comes from two core features: a uniform object model and dynamic reflection, which unfortunately also enable an emerging vulnerability class: Python class pollution. To date, with only one CVE and a handful of synthetic examples since its first disclosure in 2023, what is known is merely the tip of the iceberg, the real threat runs far deeper into the Python ecosystem.

In this talk, we introduce the first complete taxonomy of this vulnerability class, built from two object-resolution primitives and three object-assignment primitives, which together yield six types. Only one was previously known.

Building on this taxonomy, we design and implement Pyrl, the first automated framework for detecting Python class pollution via a novel static analysis technique named operational taint analysis. Applying Pyrl to over 600,000 GitHub and PyPI packages, we found 47 exploitable zero-days in Azure CLI, Taipy, ComfyUI, Google Mesop, HuggingFace Smolagents, and others. Through live case studies, we show how class pollution can be weaponized into token exfiltration, authentication bypass, stored XSS, sandbox escape, and RCE. Most importantly,we demonstrate that even the weakest type—one previously unknown—can still lead to critical impact in practice.
DEF CON 34 - Main - Get Set, Exploit! Unveiling Python Class Pollution   - Z Liu,  G Zhong, J YuDEF CON 34 - BeTheMatch - Donating Bone Marrow  A Donors First Hand Experience - Be The MatchDEF CON 34 - Main - Gotta Phish Em All!  Attack Techniques via Browser in the Middle - G LenziniDEF CON 34 - AI - Pwning Agentic Browsers with PleaseFix  - Stav CohenDEF CON 32 - QuickShell Sharing is caring abt RCE attack chain on QuickShare - Or Yair, Shmuel CohenDEF CON 34 - Maritime - Maritime Threat Hunting  What We Actually Find When We Look - PanelDEF CON 34 - Maritime - Talent, Readiness, and Cyber Power for America’s Armed Services - PanelDEF CON 34 - Main -  gpwn Wiretapping fiber GPON ISP deployments f - Rithwik Jayasi, Rithvik VibhuDEF CON 34 - Main - Rage Against  Sandbox  Bypass  iOS Sec to Run Unsigned Code w SSH - Yuval SaddeDEF CON 34 - Main - How Dealer Installed AntiTheft System Exposes 1M+ Cars - A Schulman, J Yu, Y WeiDEF CON 34 - PhysSec - Physical Security is not sexy - bad for orgs, good for red teams - Roger EganDEF CON 34 - Maritime -  Scuttling Dashboards - Karan Sajnami
DEFCONConference |

DEF CON 34 - Main - Get Set, Exploit! Unveiling Python Class Pollution - Z Liu, G Zhong, J Yu

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER