RunnableWithMessageHistory revives untrusted constructor payloads into live SystemMessage and persists them to chat history
RunnableWithMessageHistory deserializes dict values in run inputs/outputs with allowed_objects="all", allowing attacker-controlled constructor payloads (e.g., SystemMessage) to be revived into live message objects and written to session history. This can inject malicious system prompts into conversations.
