Fickling check_safety() Bypass via Dotted __qualname__ Resolution
A dotted __qualname__ in a pickle STACK_GLOBAL (for example optparse.Values.read_file) resolves to a class-method attribute path that fickling records as an import and never analyzes as a call. check_safety() returns LIKELY_SAFE while the method executes arbitrary code during fickling.load(). Confirmed still exploitable on the vendor master branch.
CVE record →