If you’re coding with Gemini CLI, you need this security update

0
1كيلو بايت

If you’re coding with Gemini CLI, you need this security update

Researchers discovered that Google's AI coding tool has a serious vulnerability.

 By 

Meera Navlakha

 on 

Share on Facebook Share on Twitter Share on Flipboard

A Google logo in the background, with a phone displaying "Gemini" on the screen.

Credit: CFOTO / Future Publishing / Getty Images.

Cybersecurity researchers say they've identified a major vulnerability within Google's Gemini CLI, an open-source AI agent for coding. Because of the vulnerability, attackers could use prompt injection attacks to steal sensitive data, the researchers claim.

Google released a preview version of Gemini CLI in June, and this isn't the first issue that's been brought to light. A "vibe coder" recently described how Gemini CLI deleted his code by mistake.

Researchers at security firm Tracebit devised an attack that overrode the tool's embedded security controls. Attackers could use an exploit to hide malicious commands, using "a toxic combination of improper validation, prompt injection and misleading UX," as Tracebit explains.

Mashable Light Speed

Sam Cox, Tracebit's founder, says he personally tested the exploit, which ultimately allowed him to execute any command — including destructive ones. "That's exactly why I found this so concerning," Cox told Ars Technica. "The same technique would work for deleting files, a fork bomb or even installing a remote shell giving the attacker remote control of the user's machine."

After reports of the vulnerability surfaced, Google classified the situation as Priority 1 and Severity 1 on July 23, releasing the improved version two days later.

Those planning to use Gemini CLI should immediately upgrade to its latest version (0.1.14). Additionally, users could use the tool's sandboxing mode for additional security and protection.

Mashable Image

Meera is a journalist based between London and New York. Her work has been published in The New York Times, Vice, The Independent, Vogue India, W Magazine, and others. She was previously a Culture Reporter at Mashable. 

These newsletters may contain advertising, deals, or affiliate links. By clicking Subscribe, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.

البحث
الأقسام
إقرأ المزيد
الألعاب
2XKO confirms dates for closed beta, featuring a new League of Legends brawler
2XKO confirms dates for closed beta, featuring a new League of Legends brawler As an Amazon...
بواسطة Test Blogger6 2025-07-22 16:00:15 0 1كيلو بايت
Music
Ozzy Osbourne Announces 'Last Rites' Memoir
Ozzy Announces New Memoir 'Last Rites' - Stories of Wild Career, Health Woes, Final Moments With...
بواسطة Test Blogger4 2025-07-10 18:00:09 0 1كيلو بايت
الألعاب
Before GTA 6, Rockstar's most brutal, controversial game is now less than $4
Before GTA 6, Rockstar's most brutal, controversial game is now less than $4 As an Amazon...
بواسطة Test Blogger6 2025-07-22 15:00:26 0 1كيلو بايت
Technology
Tesla now puts their robotaxi safety monitors in the drivers seat
Tesla now puts their robotaxi safety monitors in the driver's seat...
بواسطة Test Blogger7 2025-09-06 00:00:14 0 604
Technology
Review: The Samsung Galaxy Z Flip 7 foldable is almost too much fun
Review: The Samsung Galaxy Z Flip 7 foldable is almost too much fun...
بواسطة Test Blogger7 2025-07-26 11:00:16 0 1كيلو بايت