ChatGPT Lockdown Mode Bypass Allowed Hackers to Steal Private Chats Without User Interaction
A flaw in ChatGPT's Lockdown Mode let attackers steal chat histories, deliver malware, and phish credentials without user interaction.
Overview
A security flaw allowed attackers to bypass ChatGPT's Lockdown Mode, a setting designed to stop data theft. This bypass let hackersA person who explores and manipulates computer systems, either as a criminal intruder or a security researcher steal private chat histories, deliver malwareSoftware built to steal data, spy on users, lock files, or take control of a computer, and phish credentialsThe login details, such as a username and password or key, that prove who an account belongs to without user interaction. The vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend existed in the HTML page preview feature added to ChatGPT code blocks in February 2026. OpenAI had placed this feature in nested sandboxedAn isolated test environment where a program can run without touching the rest of the computer iframesAn HTML element that embeds one web page inside a frame on another web page to block external requests and remote images. However, the sandbox permissionsThe specific rights granted to an account or app to read, write, or run files and services allowed popups to escape the secure environment. This meant a script could create a new window that ran arbitrary code outside the sandbox.
Terms in this story
- Hackers
- A person who explores and manipulates computer systems, either as a criminal intruder or a security researcher. In news headlines, the word hacker usually means an unauthorized intruder, though the security community also uses it for researchers who find and fix flaws.
- malware
- Software built to steal data, spy on users, lock files, or take control of a computer. News reports use malware as the umbrella term for viruses, ransomware, spyware, and trojans that criminals install on phones, laptops, or servers without permission. Security+ objective 2.4 lists the term
- credentials
- The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
- vulnerability
- A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
- sandboxed
- An isolated test environment where a program can run without touching the rest of the computer. Web browsers run each tab inside a sandbox so a malicious page cannot read your personal files, and analysts detonate suspicious attachments in a sandbox to watch what they do. Security+ objective 4.1 lists the term
- iframes
- An HTML element that embeds one web page inside a frame on another web page. Online services use an iframe to embed videos or payment forms, and attackers sometimes hide an invisible iframe on a compromised site to load exploit kits or phish clicks.
- permissions
- The specific rights granted to an account or app to read, write, or run files and services. When a mobile app or browser extension asks for broad permissions, such as reading every web page you visit, a malicious update can abuse those rights to steal passwords.
- prompt-injection
- Hiding instructions inside text or data so an AI model ignores its rules and obeys the attacker. An attacker might hide invisible text on a web page or inside an email so that when an AI assistant summarizes it, the assistant forwards private data to the attacker.
- prompt
- The text instruction or question a user or program sends to an artificial intelligence model. In AI security news, a prompt includes both the visible question typed by a user and the hidden instructions that an attacker might embed in a web page.
- JavaScript
- The programming language that web browsers run to make web pages interactive, and that also runs on servers. Because every browser runs JavaScript automatically when loading a page, attackers use malicious JavaScript in cross-site scripting, fake browser updates, and compromised software packages.
- scripts
- A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
- URL
- The full web address used to locate a specific page, file, or resource on the internet. Security filters inspect every URL in an incoming message to see whether the domain name is a newly registered lookalike or points to a known credential-harvesting server. Security+ objective 4.5 lists the term
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the GBHackers website. Cite the article, not this page.
Read the full article on GBHackers (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Vulnerability and patch
"Research found a flaw that bypassed..." Found by reading the article; these exact words are in it - Who is affected: "ChatGPT Classic desktop app..."
Copied word for word from the article - Security+ 2.2 Explain common threat vectors and attack surfaces.
"......exfiltrate full chat histories, deliver malware, and phish credentials from inside a trusted interface." Found in the opening sentences - Security+ 2.3 Explain various types of vulnerabilities.
"Research found a flaw that bypassed ChatGPT's Lockdown Mode. It let..." Found in the opening sentences - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"......attackers silently exfiltrate full chat histories, deliver malware, and phish credentials from inside a..." Found in the opening sentences - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"......full chat histories, deliver malware, and phish credentials from inside a trusted interface." Found in the opening sentences - CYBR 101 week 10: the web, cookies, phishing, incident response and logs
"......exfiltrate full chat histories, deliver malware, and phish credentials from inside a trusted interface." Found in the opening sentences - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"ChatGPT Lockdown Mode Bypass Allowed Hackers to Steal..." Found in the headline - CYBR 101 week 9: malware, indicators and how detection works
"......attackers silently exfiltrate full chat histories, deliver malware, and phish credentials from inside a..." Found in the opening sentences
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- Hackers Could Bypass ChatGPT Lockdown Mode to Steal Conversations Without Users Knowing
- Researchers Bypass ChatGPT Lockdown Mode to Exfiltrate Chats Without User Interaction
- ChatGPT Lockdown Mode Bypass: Phishing, Malware Delivery, and Silent Data Exfiltration