Skip to content
.ca
4 minhigh

ChatGPT Data Leakage via a Hidden Outbound Channel in the Code Execution Runtime

Check Point Research discovered a vulnerability in ChatGPT's code execution runtime that allowed silent data exfiltration and remote shell access via DNS tunneling. By using malicious prompts or custom GPTs, attackers could bypass outbound network restrictions to steal sensitive user data without triggering security warnings.

Sens:LowConf:highAnalyzed:2026-03-30reports

Authors: Check Point Research

Source:Check Point

Indicators of Compromise2
2domain
Improve this report

Send corrections, useful missing information, or quality feedback. It is private and will not appear as a comment.

Feedback type

Key Takeaways

  • A hidden outbound channel in ChatGPT's code execution runtime allowed silent data exfiltration via DNS tunneling.
  • Malicious prompts or backdoored Custom GPTs could exploit this to steal sensitive user data, uploaded files, and model-generated output.
  • The vulnerability also enabled remote shell access to the underlying Linux container used for data analysis.
  • OpenAI deployed a fix for this vulnerability on February 20, 2026.

Affected Systems

  • ChatGPT (Code Execution / Data Analysis runtime)
  • Custom GPTs

Attack Chain

The attacker tricks a user into submitting a malicious prompt or interacting with a backdoored Custom GPT. This prompt instructs the ChatGPT code execution environment to encode sensitive conversation data or file contents into DNS queries. Since direct outbound HTTP/HTTPS is blocked but DNS is allowed, the queries are routed through recursive resolvers to the attacker's authoritative DNS server. The attacker decodes the exfiltrated data and can optionally send back commands via DNS TXT records, establishing a remote shell inside the ChatGPT Linux container.

Detection Engineering Assessment

Required Log Sources

  • DNS Query Logs (OpenAI internal)
  • Container execution logs (OpenAI internal)

Hunting Hypotheses

copy:
HypothesisTelemetryATT&CK StageFP Risk
Look for unusually high volumes of DNS queries or abnormally long, high-entropy subdomain labels originating from isolated container environments, indicating potential DNS tunneling.DNS Query LogsExfiltrationLow

Control Gaps

  • Lack of strict DNS filtering/inspection in isolated execution containers
  • User inability to monitor outbound traffic from SaaS AI platforms

Key Behavioral Indicators

  • High frequency of DNS requests to a single authoritative domain
  • TXT record responses containing base64 or encoded payloads
  • Long, high-entropy subdomain strings in DNS queries

False Positive Assessment

  • Low

Recommendations

Immediate Mitigation

  • No immediate action required for end-users as OpenAI has patched the vulnerability on their end.

Infrastructure Hardening

  • For organizations hosting similar AI runtimes, implement strict DNS filtering and monitor for DNS tunneling signatures.
  • Restrict DNS resolution in isolated containers to only approved internal or essential external domains.

User Protection

  • Avoid sharing highly sensitive PII, PHI, or confidential corporate data with public AI assistants, even in 'secure' modes.

Security Awareness

  • Train users to be cautious of 'productivity prompts' or 'jailbreaks' found online, as they may contain hidden malicious instructions.
  • Educate employees on the risks of using third-party Custom GPTs with sensitive data.

MITRE ATT&CK Mapping

  • T1048.003 - Exfiltration Over Alternative Protocol: Exfiltration Over Unencrypted Non-C2 Protocol
  • T1071.004 - Application Layer Protocol: DNS
  • T1059.004 - Command and Scripting Interpreter: Unix Shell
IOCs · 2
.txt.json
Showing defanged values