Google warned that publicly accessible serverless applications, particularly Google Cloud Run services and functions, can expose organizations to remote code execution, secret theft, and deeper cloud compromise when custom code, third-party packages, or runtime components are vulnerable. The report highlighted two representative attack paths: a Python/Flask-style local file inclusion flaw and a command injection issue that can let an attacker execute arbitrary commands in an exposed function.
After gaining execution, attackers may query the Google Cloud metadata service to retrieve service account bearer tokens, enabling lateral movement and broader access inside the cloud environment. Google said defensive measures should focus on hardening internet-facing functions and applying Cloud Armor protections, noting that WAF signatures such as lfi-v33-stable and rce-v33-stable blocked the demonstrated exploit requests with HTTP 403 responses.

See affected versions and whether adversaries are exploiting it.
1 event from the most recent confirmed update back to the earliest known activity.
Google published guidance describing how publicly exposed Cloud Run services and functions can be exploited through issues such as local file inclusion and command injection, potentially allowing code execution, secret extraction, and metadata-service token theft. The post also demonstrated that Cloud Armor WAF rules including lfi-v33-stable and rce-v33-stable can block the example exploit requests with HTTP 403 responses.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
3 references tracked. Mallory keeps watching after this page renders.
scworld.com
Open sourceitpro.com
Open sourcecloud.google.com
Open sourceMap indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.