LIVE · cybersecurity feed
Live wire
github actionsmedium

The GitHub Actions Attack Pattern Your CI Security Scanners Miss

Researchers have identified a new class of vulnerabilities in Continuous Integration/Continuous Deployment (CI/CD) pipelines, dubbed "Cordyceps," which can be exploited by attackers with a free GitHub account. These weaknesses, disclosed by Novee Security, bypass traditional security scanning tools because they exploit the composition of workflow interactions rather than flaws within…

ZeroDay News ·

Source: BleepingComputer

Researchers have identified a new class of vulnerabilities in Continuous Integration/Continuous Deployment (CI/CD) pipelines, dubbed "Cordyceps," which can be exploited by attackers with a free GitHub account. These weaknesses, disclosed by Novee Security, bypass traditional security scanning tools because they exploit the composition of workflow interactions rather than flaws within individual files.

The Cordyceps vulnerabilities leverage specific GitHub Actions triggers, namely `pull_request_target` and `workflow_run`. Unlike the more common `pull_request` trigger, which runs in an untrusted context without access to repository secrets, these triggers execute within the context of the base repository. This grants them access to sensitive secrets and a read/write `GITHUB_TOKEN`, allowing attackers to manipulate the CI/CD process using code from a pull request.

Three primary attack methods enable these vulnerabilities. Command injection allows attackers to embed unescaped, attacker-controlled data directly into shell commands within a workflow step. Code injection, using tools like `actions/github-script`, evaluates attacker-provided JavaScript code at runtime. Finally, cross-workflow privilege escalation enables a less privileged workflow to write untrusted data to an artifact or output, which a second, more privileged workflow then processes using the maintainer's credentials.

Crucially, each individual workflow file in these scenarios is syntactically correct and performs its intended function. Security scanners, which typically analyze single files for known malicious patterns, fail to detect these composite attacks. The vulnerability lies in the chain of interactions between workflows, a detail that current scanning methodologies do not assess.

Novee Security's research scanned approximately 30,000 high-impact repositories across various ecosystems, including npm, PyPI, crates.io, and Go. They flagged 654 repositories and confirmed over 300 as fully exploitable. Affected projects included those from major organizations such as Microsoft, Google, Apache, Cloudflare, and the Python Software Foundation.

In one documented instance on Microsoft's Azure Sentinel repository, an attacker could steal a non-expiring GitHub App key by commenting on a pull request. This key provided persistent write access to Sentinel's Content Hub, which distributes detection rules and playbooks to thousands of organizations. Similarly, a pull request against Google's AI Agent Development Kit sample repository could lead to code execution within Google's CI and escalate privileges to "roles/owner" on the associated Google Cloud project. Apache Doris also experienced a comparable credential theft vulnerability.

The researchers emphasize that these risks are amplified by the increasing use of AI-generated code for CI/CD configurations. AI tools can rapidly produce workflows that replicate insecure patterns, potentially propagating errors across millions of repositories with a false sense of security. The sheer volume of automatically generated configurations now exceeds the capacity of manual review processes.

While Novee Security found no evidence of these specific vulnerabilities being exploited in the wild, and the affected vendors have since implemented patches, the underlying attack pattern remains largely unaddressed across the industry. The vulnerabilities are not assigned CVE identifiers, making them difficult to track and enumerate within standard security models.

To mitigate these risks, immediate steps include preferring the `pull_request` trigger over `pull_request_target` for untrusted contributions, avoiding checking out pull request head code within privileged workflows, and passing event data through quoted environment variables instead of inlining it. Additionally, setting default permissions to read-only, pinning third-party actions to specific commit SHAs rather than mutable tags, and requiring manual approval for privileged workflows from first-time contributors are recommended.

Beyond these immediate fixes, a more durable solution involves governing what build systems can trust at the source. This means ensuring that components and workflows entering a pipeline originate from a verified, governed source with traceable provenance. This approach aims to shift security from detection after the fact to prevention at the point of ingestion, ensuring that pipelines are not just passing scans but are truly governed.

github actionsci/cdsecuritydevsecops
ShareXLinkedInWhatsAppFacebook

More News

view all →
security

Canadian cybersecurity executive arrested in federal extortion case

A Canadian cybersecurity executive was arrested in Pennsylvania on Thursday, facing federal charges of conspiracy to commit extortion. Edward Dubrovsky, 54, a co-founder and former Chief Operating Officer of CYPFER, a firm specializing in ransomware negotiation, is charged with conspiring to threaten the confidentiality of information for extortion and conspiring to commit Hobbs Act extortion,…

breach

Criminal IP Introduces AITEM as the Next Evolution of Attack Surface Management

AI SPERA, the company behind the cyber threat intelligence platform Criminal IP, has announced AITEM (AI-Powered Threat Exposure Management), an expansion of its Attack Surface Management (ASM) offerings. AITEM aims to move beyond traditional asset discovery to provide a more comprehensive approach to understanding, prioritizing, and responding to security exposures. The platform is scheduled…

ai

AI Is Getting Really Good at Messing With Cybercriminals

Anti-cybercrime initiatives are increasingly deploying artificial intelligence to disrupt scammers by engaging them with lifelike bots, which the criminals mistake for genuine victims. This strategy aims to waste scammers' time and resources while gathering intelligence on their operations.

ransomware

FBI Arrests Ransomware Negotiation Firm Co-Founder in ShinyHunters Probe

The Federal Bureau of Investigation (FBI) has reportedly arrested Edward Dubrovsky, a co-founder of the ransomware negotiation firm Cypfer and currently associated with CyberSteward. The arrest is said to be part of the ongoing ShinyHunters investigation, specifically in connection with an incident involving FBI job applicant data.

ai

The Third-Party Agent Problem: Why Security Built for AI You Chose Misses the Agents You Didn't

A new report highlights a significant blind spot in enterprise security architectures concerning the proliferation of third-party AI agents. The forthcoming 2026 State of Agent Security Report indicates that current security models, often designed to protect AI systems directly chosen and deployed by an organization, frequently fail to account for AI capabilities embedded within third-party…

security

Insider Cyber Extortion Plot Against Industrial Firm Lands Engineer in Prison

A former core infrastructure engineer has been sentenced to prison for an attempted cyber extortion plot against an industrial firm. The engineer reportedly deleted administrative accounts and reset hundreds of user passwords, subsequently demanding a ransom of 20 Bitcoin to prevent further disruption to the company's servers.