Snowflake GitHub Actions Workflow Flaw Enabled Command Injection and Jira Token Theft

A vulnerability in Snowflake's GitHub Actions workflow in the snowflakedb/snowflake-connector-net repository allowed any user to execute arbitrary commands on a runner by creating a specially crafted issue in a public repository. The flaw stemmed from unsanitized insertion of issue titles and content directly into shell commands, combined with a failed access control check that relied on a non-existent pull request property during issue events. During authorized testing, an autonomous security agent exploited the issue to extract a Jira API token from the pipeline environment variables. This credential granted read access to internal engineering, security compliance, and bug bounty projects. The vulnerability was active from June 18 to June 23, 2026. Snowflake patched the workflow on the day the report was received and rotated the compromised token the following day. The vulnerable code appeared in a pull request that involved GitHub Copilot, though available history does not confirm the AI generated the insecure lines.

BoletimSecTranslated from Portuguese

Read at source

A vulnerability in a GitHub Actions workflow at Snowflake allowed any unauthenticated user to execute arbitrary commands on a runner simply by opening a specially crafted issue in a public repository.

The flaw resided in the snowflakedb/snowflake-connector-net repository. Issue titles and bodies were passed directly into shell commands without proper sanitization, creating a classic command-injection vector. An intended access-control check also failed because it referenced a pull-request property that does not exist in issue events, allowing ordinary users to bypass the restriction.

During authorized testing, an autonomous security agent exploited the weakness and retrieved a Jira API token stored in the workflow’s environment variables. The token provided read access to internal projects covering engineering, security compliance, and bug-bounty programs—information that could support further attack stages.

The vulnerable workflow remained active between 18 and 23 June 2026. Snowflake fixed the code on the same day the report was received and replaced the exposed token the following day. The affected code had been introduced in a pull request that included participation from GitHub Copilot, although the commit history does not prove the AI generated the insecure lines.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in Vulnerabilities & Exploits

Telegram for Android Patches Voice Call Vulnerability Enabling Code Execution
Yandex Patches Millions of Stations After eMudhra Certificate Keys Compromised
Cisco ASA and FTD Face DoS Vulnerability in SSL VPN Already Exploited in the Wild