Join our Newsletter — 33% off our NHI Course
Home› Glossary› Cyber Security› CI/CD Pipeline Abuse
Cyber Security

CI/CD Pipeline Abuse

← Back to Glossary
By NHI Mgmt Group Updated October 23, 2026 Domain: Cyber Security

CI/CD pipeline abuse is when an attacker exploits build and release workflows to inject code, steal secrets, or push malicious software into production. In security terms, it means compromising the identities, permissions, or automation steps used by source control, build servers, runners, and deployment tools.

What CI/CD Pipeline Abuse Looks Like

CI/CD pipeline abuse turns trusted delivery infrastructure into an attack path. The attacker is not trying to “break” the pipeline in the abstract, but to misuse the same automation that normally builds, tests, signs, and deploys software.

This matters because pipeline systems usually sit close to source code, build outputs, secrets, and release permissions. When those controls are weak, an attacker can alter what is built, steal what the pipeline can read, or change what gets promoted to production.

How Attackers Turn Build Automation Into an Access Path

Pipeline abuse often starts with poisoned workflow logic, stolen maintainer access, compromised build tokens, or tampered dependencies. A malicious commit, altered action, or rogue runner can quietly change the trust boundary inside a delivery process that engineers assume is routine.

Attackers favor this path because CI/CD systems routinely hold high-value material, including source credentials, signing keys, cloud tokens, and deployment privileges. Once inside, the abuse can scale across many repositories or environments faster than a manual intrusion.

That pattern is visible in incidents such as reviewdog Action compromise 2025, where a stolen maintainer token poisoned a GitHub Action and exposed CI secrets, and in ArtiPACKED 2024, where public artifacts leaked live runtime and cloud tokens.

What Makes CI/CD Abuse Dangerous

The danger is not just code tampering. A compromised pipeline can exfiltrate secrets, sign malicious artifacts, add backdoors during release, or create persistence that survives normal application-level review.

Because delivery systems are designed to automate trust, a successful abuse can look legitimate at every step: approved commit, valid build, successful test, deployed release. That makes detection harder and the blast radius larger than a simple source-code compromise.

For a broader view of how these mechanics combine, see the CI/CD Security Guide, which maps poisoned pipeline execution, runner isolation, pinned actions, and branch protection to the underlying attack surface. The same trust abuse is also clear in CI/CD Pipeline Identity Security Guide, where token permissions, OIDC federation, and trusted publishing determine whether the pipeline can be safely delegated authority.

How Organisations Check Exposure and Recover Safely

Exposure review starts with inventory: which repositories, runners, build identities, deploy keys, secrets stores, and third-party actions can influence production. Organisations also need to know whether any pipeline component is internet-exposed, over-permissioned, or shared across projects in ways that expand compromise impact.

If abuse is suspected, review build provenance, workflow changes, runner logs, secret access logs, artifact history, and release events. If a malicious pipeline run may have touched production, treat it as a supply-chain compromise, not only an application incident.

Recovery often requires more than code fixes. Secrets, signing material, deploy tokens, and any credentials used by the compromised workflow should be rotated, and the trust path that allowed the abuse should be re-evaluated before the next release.

That is why SLSA is relevant here: it focuses attention on build provenance and artifact integrity, which are central when an attacker can manipulate what a pipeline produces. For a concrete compromise pattern, TeamCity CVE-2023-42793 SVR exploitation 2023 shows how build-server compromise can lead to credential theft, lateral movement, and exposure of signing material.

Practical Defences That Reduce Pipeline Abuse

Defence begins by limiting what pipeline identities can do and by separating trusted release paths from untrusted contribution paths. Strong branch rules, protected environments, runner isolation, pinned dependencies, and short-lived credentials all reduce the chance that a single compromise becomes a release compromise.

Equally important is reducing secret persistence. Pipelines should not rely on long-lived credentials where short-lived federation or ephemeral tokens will do, and build outputs should never be assumed safe until their provenance and signing path are verified.

For teams looking for a concrete operating model, the CI/CD Pipeline Identity Security Guide and CI/CD Security Guide are the most direct internal references for secure workflow design, while Guide to the Secret Sprawl Challenge helps when the main issue is credential leakage across repositories and build steps.

Practitioner takeaway: Treat CI/CD as a privileged production system, not just an engineering convenience. If attackers can alter the workflow, they can often alter the software.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

SLSA, OWASP ASVS, CIS Controls v8 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
SLSASupply-chain Levels for Software ArtifactsBuild provenance and artifact integrity are central when pipeline abuse alters release outputs.
Recommendation — Require provenance and integrity checks for every build artifact before promotion.
OWASP ASVSV15 — Secure ArchitectureCI/CD abuse often exploits insecure delivery architecture and trust boundaries around release workflows.
Recommendation — Design release flows to separate trusted build steps from untrusted inputs and contributions.
CIS Controls v8CIS-8 — Audit Log ManagementPipeline abuse is investigated through workflow, runner, and secret-access logs.
Recommendation — Centralize and protect pipeline logs so suspicious workflow activity can be reviewed quickly.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementPipeline abuse frequently hinges on stolen tokens, keys, and other build credentials.
SI-7 — Software, Firmware, and Information IntegrityMalicious workflow changes and tampered artifacts are integrity failures in CI/CD systems.
Recommendation — Rotate and tightly manage pipeline credentials and secrets used by build and deployment systems. Verify code, workflow, and artifact integrity before allowing promotion to production.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 23, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org