ChatGPT's newly updated file upload feature carries a prompt injection risk, and data can be sent to malicious websites
ChatGPT has a scary security risk after new update. Is your data in trouble?
Security researcher Johann Rehberger's research and follow-up testing by Tom's Hardware show that the Code Interpreter sandbox newly added to ChatGPT Plus is vulnerable to prompt injection attacks, in which an attacker can induce ChatGPT to execute instructions from a third-party URL and encode user-uploaded files into URL-suitable strings sent to a malicious website. This attack technique has existed on ChatGPT for some time, and the new file upload feature makes the data exfiltration risk more prominent. The attack requires specific conditions, such as the user actively pasting a malicious URL into ChatGPT, and may also be achieved through a trusted website implanted with a malicious prompt or through social engineering. Tom's Hardware tested with a forged environment variable file, and ChatGPT sent the data to an external server during processing, but the effect varied by session, and sometimes it refused to load external pages or transmit file data. OpenAI did not immediately respond to a request for comment.