Hacker News new | ask | show | jobs
by cratermoon 1401 days ago
Look closer at the CWE and the linked examples: An attacker can construct a illegitimate, serialized object, like an auth token or sessionID, that instantiates one of Python's subprocesses to execute arbitrary commands
1 comments

That quote supports my statement. Notice that the serialized object is the thing that was constructed by the attacker, not some user data that you serialized yourself.
No the input was not serialized, it was carefully crafted so that when it gets serialized and deserialized, it triggers the malicious payload.