Researcher uncovers a critical SSRF vulnerability in ChatGPT’s Custom GPT

Source Cryptopolitan

OpenAI’s large language model ChatGPT fixed a security flaw found earlier this week by a researcher within the “Actions” feature of Custom GPTs. Attackers could have exploited a Server-Side Request Forgery (SSRF) bug to expose internal credentials within the AI model’s cloud, the investigator claimed.

As an Open Security Engineer and bug hunter, SirLeeroyJenkins was creating his first Custom GPT, and he “sensed” there was an SSRF vulnerability. The Actions feature enables users to define external APIs using OpenAPI schemas for the AI to call them for specific tasks, such as fetching weather data.

While testing his own API, SirLeeroyJenkins discovered the system returned data from a user-provided URL. Alarmed by this behavior, he conducted more tests, suspecting a potential SSRF issue.

“Once I realized this feature could return data from any user-provided URL, the hacker instinct kicked in,” he said. “I had to check for SSRF.”

SSRF vulnerability could make custom GPTs unsafe 

As explained by Jenkins in his Medium post published earlier this week, Server-Side Request Forgery is a web vulnerability that tricks applications into making requests to unintended destinations. If the application does not properly validate user-supplied URLs, attackers can use the server’s access privileges to reach internal networks or cloud metadata services.

ChatGPT hacked using custom GPTs exploiting SSRF vulnerability
Basic full-read SSRF chart. Source: SirLeeroyJenkins Medium blog.

SSRF was prevalent enough to make the OWASP Top 10 list in 2021 and has now expanded its potential damage because insecure default configurations in cloud environments can expose critical systems.

Jenkins explained that there are two main SSRF types, namely full-read and blind. Full-read SSRF returns data from the target service directly to the attacker. At the same time, blind SSRF does not reveal the response but still allows them to interact with internal services, for example, through timing-based port scanning.

He tested the vulnerability by pointing the API URL to Azure’s Instance Metadata Service (IMDS), which stores sensitive cloud credentials. Access to this service normally requires the Metadata: True header, so he was alarmed when his initial attempts could not provide the header as requested.

The Custom GPT feature initially blocked the exploit because it enforced HTTPS URLs, while Azure IMDS operates over HTTP. Using a 302 redirect from an external HTTPS endpoint to the internal metadata URL, the server followed the redirect. However, Azure blocked access without the required header.

“Since the server followed 302 redirects, it returned the response from their internal metadata URL. Mission accomplished, right? Wrong. The response from their metadata service indicated that a required header was not being set,” SirLeeroyJenkins denoted.

After continuing to probe the responses, the feature allowed custom API keys that could be named arbitrarily. He attempted to name a key Metadata with the value true, where the required header was injected to grant the GPT access to the metadata service.

Jenkins promptly reported the vulnerability to OpenAI’s Bugcrowd program, and the issue was assigned high severity and then patched.

He also mentioned that Open Security previously used this type of SSRF attack chain to exploit a vulnerable invoice generation feature at a major global financial firm for security auditing.

OpenAI releases GPT-5.1 after the version 5.0 turmoil

In other related ChatGPT news, OpenAI announced the launch of GPT-5.1, boasting of several updates made from version 5.0 to improve instruction following and adaptive reasoning. 

“GPT-5.1 is out! It’s a nice upgrade. I particularly like the improvements in instruction following, and the adaptive thinking. The intelligence and style improvements are good too,” wrote CEO Sam Altman on X late Wednesday.

Tech writer Mehul Gupta tested GPT-5.1 against its predecessor, noting that GPT-5, while polished and helpful, sometimes overcomplicates simple tasks. GPT-5.1’s instant version supposedly had an improved understanding and subtle adaptive pauses that gave more “context-aware” responses.

In one test, Gupta asked both models to reply in six words. GPT-5 attempted to overexplain, while GPT-5.1 delivered a concise and correct answer. 

Altman also announced 7 new presets, including Default, Friendly, Efficient, Professional, Candid, or Quirky, have been added, but users can choose to “tune it themselves.”

If you're reading this, you’re already ahead. Stay there with our newsletter.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Bitcoin Must Clear This Critical Cost Basis Level For Continued Upside, Analyst SaysIn a recent CryptoQuant Quicktake post, contributor Crazzyblockk highlighted key Bitcoin (BTC) cost basis zones that the leading cryptocurrency must clear – or avoid breaking below – to
Author  NewsBTC
Apr 23, Wed
In a recent CryptoQuant Quicktake post, contributor Crazzyblockk highlighted key Bitcoin (BTC) cost basis zones that the leading cryptocurrency must clear – or avoid breaking below – to
placeholder
OpenAI Introduces Lowest-Cost ChatGPT Subscription in India with UPI Payment OptionOn Tuesday, OpenAI introduced ChatGPT Go, its most affordable AI subscription tier, targeting the price-sensitive Indian market. Nick Turley, OpenAI’s Vice President and Head of ChatGPT, announced the launch via an X post, highlighting that users can pay through India’s Unified Payments Interface (UPI).
Author  Mitrade
Aug 19, Tue
On Tuesday, OpenAI introduced ChatGPT Go, its most affordable AI subscription tier, targeting the price-sensitive Indian market. Nick Turley, OpenAI’s Vice President and Head of ChatGPT, announced the launch via an X post, highlighting that users can pay through India’s Unified Payments Interface (UPI).
placeholder
ANZ Raises Gold Price Forecast to $3,800/Oz, Predicts Rally to Continue Through 2026Gold is expected to continue its upward momentum throughout 2025 and into early 2026, driven by ongoing geopolitical tensions, macroeconomic challenges, and market anticipation of U.S. monetary easing, according to analysts from ANZ in a research note released Wednesday.
Author  Mitrade
Sept 10, Wed
Gold is expected to continue its upward momentum throughout 2025 and into early 2026, driven by ongoing geopolitical tensions, macroeconomic challenges, and market anticipation of U.S. monetary easing, according to analysts from ANZ in a research note released Wednesday.
placeholder
Barclays Boosts S&P 500 Outlook Amid Strong AI-Driven EarningsBarclays has increased its earnings and price projections for the S&P 500 through 2025 and 2026, attributing the upgrade to stronger-than-anticipated corporate results in the first half of the year and a robust earnings landscape despite trade tensions and labor challenges.
Author  Mitrade
Sept 10, Wed
Barclays has increased its earnings and price projections for the S&P 500 through 2025 and 2026, attributing the upgrade to stronger-than-anticipated corporate results in the first half of the year and a robust earnings landscape despite trade tensions and labor challenges.
placeholder
Yen Slips as Japan Embraces Low Rates; Aussie Rises on Job GainsThe yen weakens significantly against the euro and dollar after Japan's Prime Minister supports sustained low interest rates. In contrast, the Australian dollar gains strength following better-than-expected employment figures, reducing the likelihood of near-term rate cuts.
Author  Mitrade
10 hours ago
The yen weakens significantly against the euro and dollar after Japan's Prime Minister supports sustained low interest rates. In contrast, the Australian dollar gains strength following better-than-expected employment figures, reducing the likelihood of near-term rate cuts.
goTop
quote