An autonomous AI security agent, Wiz Red Agent, uncovered a critical GitHub Actions injection vulnerability in Snowflake’s public snowflake-connector-net repository.
The flaw enabled an unauthenticated GitHub user to execute arbitrary commands on a GitHub Actions runner and exfiltrate credentials for Snowflake’s internal Jira environment.
The discovery demonstrates how a small CI/CD coding error can lead to a major credential-exposure incident, particularly when GitHub workflows process attacker-controlled issue or pull request content.
Snowflake GitHub Actions Injection Flaw
The vulnerability was found in jira_issue.yml, a GitHub Actions workflow designed to automatically create Jira tickets whenever a user opened a GitHub issue.
Pull request #1218, merged on June 18, 2026, reportedly replaced a safer implementation that used environment variables and jq parsing with direct interpolation of the untrusted issue title into a shell script. This change created a command-injection opportunity.
GitHub Actions expressions are expanded before shell escaping takes effect, allowing an attacker to use a specially crafted issue title containing a single quote to terminate the intended string and inject arbitrary Bash commands.

A conditional check intended to limit workflow execution also reportedly evaluated as true for issues.opened events. Consequently, any GitHub user able to open an issue in the repository could reach the vulnerable code path and trigger the workflow.
Wiz Red Agent identified the issue on June 23, 2026, only five days after the vulnerable pull request was merged. The agent autonomously reviewed the workflow, created an exploit payload, and used an out-of-band callback to verify command execution.
Its first attempt failed because a comment character disrupted the shell syntax. The agent then analyzed the Bash error, revised the payload to correctly terminate the injected shell context, and successfully executed its second attempt without human guidance.
The final payload embedded a base64-encoded callback mechanism that extracted Jira credentials from the GitHub-hosted runner.
Wiz’s listener received a response from an Azure-hosted runner containing base64-encoded Jira API credentials associated with the qa@snowflake.net service account.
The recovered token authenticated successfully to Snowflake’s Atlassian Jira instance, providing read access to engineering, security-compliance, and bug-bounty tracking projects.
The access demonstrated the potentially severe blast radius that can be created by a single workflow secret exposed through insecure CI/CD automation.

GitHub Advanced Security reportedly scanned the vulnerable revision but did not identify the injection flaw. A Copilot-assisted modification had affected the related jira_close.yml file in the same pull request.
Wiz later clarified that Copilot’s documented contribution was limited to that separate file, though the incident highlights the need to review AI-assisted changes for insecure workflow patterns.
Snowflake responded after Wiz reported the flaw through HackerOne, patching the vulnerable workflow and rotating the exposed Jira token.
The company also reviewed audit logs and confirmed that Wiz’s proof-of-concept traffic was the only activity observed during the exposure period. Wiz deleted all data accessed during the security validation.
The incident shows why GitHub Actions workflows should never directly interpolate untrusted GitHub event fields into shell commands.
Organizations should instead use environment variables, safely parse user-controlled input, limit workflow permissions, use short-lived secrets, and ensure issue-triggered workflows cannot access sensitive credentials unnecessarily.
As autonomous AI agents reduce the time from vulnerability discovery to exploitation, CI/CD security controls must evolve accordingly.
Security teams need workflow-aware code review, stronger secret isolation, and validation mechanisms that detect dangerous interactions between GitHub Actions expressions and shell execution.
Give your security team the visibility and context to investigate suspicious activity faster and contain threats before business impact grows. Strengthen Your Investigations with ANY.RUN