In-depth lesson · CI/CD pipeline abuse
Root causes
Every point the CI/CD pipeline abuse reports back under this heading, best-backed first, each with the reports it is seen in.
-
Build pipelines resolve package names from public registries without pinning or scoping, allowing dependency confusion.
Seen in 3 reports
-
Build servers were left reachable from the internet without authentication, allowing pre-authentication takeover of pipelines.
Seen in 2 reports
-
High -
Critical
-
-
Untrusted input such as pull request names and environment values is passed into workflow steps without sanitisation.
Seen in 1 report
-
The runner reuses the local working copy without resetting the git hooks path, so a malicious configuration persists across jobs.
-
GitLab does not validate or filter pushes of git replace refs, allowing them to be used in pipelines.
Seen in 1 report
-
The CI/CD cache is shared across branches without integrity checks, so a developer can poison it for other users' pipelines.