
Woodpecker CI published version 3.21.0 on November 25, a security-focused release for the lightweight open-source CI/CD engine that many homelabbers pair with Gitea or Forgejo. The headline changes cut the privileges the CI system itself holds: repository clones from Gitea and GitLab now use read-only deploy tokens, and agent authentication gets constant-time token comparison plus tighter scoping. Independent coverage from Bobby Borisov at Linuxiac on November 27 confirms the same headline items, and the Proxmox community-scripts project already lists v3.21.0 as the latest release, dated November 25.
Woodpecker is Apache-2.0 licensed and describes itself as a lightweight CI/CD tool that even runs on a Raspberry Pi, which is exactly why it shows up in homelabs: it speaks Forgejo, Gitea, GitHub, GitLab, and Bitbucket, runs pipelines from YAML files in the repo, and ships a web UI with live logs.
Security is the core of this release, per the project changelog:
http(s) forge URLs are linked in the web UI, and a new flag restricts administrators to the primary forge.On the pipeline side, the matrix per-axis variable limit rises from 10 to 64 values, queue scheduling speeds up for large concurrency-group backlogs, and the task lease timeout becomes configurable through the WOODPECKER_TASK_TIMEOUT environment variable. The Kubernetes backend watches only each step's own pod and cleans up workflows fully on teardown, while the local backend gains initial support for C# script runners. Forge reporting gets more accurate across the board, with skipped and canceled workflows reported as such to GitLab, Gitea, Forgejo, GitHub, and Bitbucket, plus Forgejo draft pull-request metadata and faster pipeline-config fetching from GitHub via a single GraphQL request. Releases now also generate an SBOM for supply-chain transparency.
A self-hosted CI server is one of the most privileged machines in a homelab: it holds forge tokens, secrets, and code from every connected repo. Least-privilege clone tokens and scoped agent updates directly shrink what an attacker or a misbehaving pipeline step can reach, and Fail2Ban-compatible auth logging plugs into the intrusion-response setup many homelabbers already run for SSH and web services. The matrix expansion to 64 values per axis is practical for anyone building across architectures or distro versions from a single pipeline, for example x86 plus ARM images for a Pi fleet. And the Kubernetes and local-backend improvements land where homelab runners actually live: k3s clusters, Proxmox LXC containers, and bare-metal boxes.
Two caveats come from the release itself. The repo-visibility sync is a new default, so check that private repos still gate events the way you expect after upgrading. And the Proxmox community-scripts page carries a warning worth repeating for its LXC install: pipeline steps there run directly in the container as root without Docker isolation, so only build repositories you trust.
This is hardening, not an emergency patch: the changelog lists no CVEs, so there is no sign of in-the-wild exploitation forcing an immediate upgrade. Still, if Woodpecker holds your forge tokens, sooner is better than later. Back up the server database first, since this release touches SQLite migration handling, then update to the 3.21.0 server and agent images together so the tightened agent authentication stays in sync on both sides. After upgrading, confirm scheduled and manual pipelines still trigger, check that deployment restarts respect your allowed-deployments list, and review the new restrict-admins-to-primary-forge option if your instance talks to more than one forge. Anyone running the Proxmox LXC variant should also make sure the forge can still reach WOODPECKER_HOST for webhooks after the update.
Log in to comment.