What changed
Woodpecker CI released 3.20.0 on October 28, 2026 and 3.20.1 on October 29. The newer release builds on 3.19's server-held agent filters with the ability to restrict organisations and users to their own agents, removal of agent tokens from process environments, prevention of bearer credentials in trace logs, repository JWT rotation on repair, stricter organisation-level secret/registry scoping and permission fallback to read-only when forge sync fails. Operators can now select a specific workflow for manual pipelines. The maintainers explicitly warn that 3.20.0 had an unintended breaking change after updating the envsubst dependency; 3.20.1 restores drone envsubst behaviour and fixes step-log grouping. No individual CVE or confirmed exploitation is identified for these 3.20 hardening changes in the inspected release notes.
Why it matters
CI systems hold repository, registry and deployment credentials, and run user-supplied build steps on agents with varying trust. The 3.19 server-side agent-filter changes addressed worker-label spoofing; 3.20 extends the control plane with organisation/user agent restrictions and reduces credential exposure in process environments and logs. Rotating repository JWTs on repair limits stale-token lifetime. Manual workflow selection can avoid running unnecessary stages, but may affect teams that rely on complete pipeline execution. The urgent practical detail is to skip 3.20.0 and upgrade directly to 3.20.1, verifying substitutions and runner placement. These measures reduce particular risks but do not sandbox a permitted job or establish that all secrets are safe.
Agent tokens, bearer logs and secret scopes receive additional hardening
The 3.20.0 upstream security section explicitly lists removal of agent tokens from process OS environments, suppression of bearer credentials at trace logging level, hardening of configuration fetching and organisation-level secret/registry retrieval scopes. A repository repair now rotates its JWT. These are documented code and operational changes, not proof of a disclosed attack campaign. Administrators should review trace logging, agent environment access and the implications of token rotation for custom integrations.
Organisation-specific agents add another isolation control
The release adds an option restricting an organisation or user to its own agents. This complements 3.19's server-enforced agent filters, which prevent workers from claiming arbitrary labels to accept restricted jobs. Agent allocation rules should be tested across personal, organisation and shared runners. Neither feature by itself prevents malicious code from reading secrets intentionally exposed to a job it is allowed to run.
Manual pipeline runs can select individual workflows
A manual pipeline trigger can now choose which workflow to execute rather than always running the entire set. That can save time and compute for narrowly scoped operations, but teams should verify depends_on behaviour and any deployment safeguards that assume upstream workflows have run. The same release fixes a queue-reload bug that could run dependent workflows after a failed dependency, and prevents deleted Kubernetes pods with unknown status being treated as successful.
3.20.0 has an explicit upgrade warning; use 3.20.1
The 3.20.0 release notes warn of an unintended breaking change in its environment-substitution dependency. The 3.20.1 patch released October 29 restores drone envsubst and corrects a step-log grouping UI defect. Operators should back up their CI configuration, upgrade server and agents through a tested maintenance path, check substituted variables in staging, run a representative matrix/depends_on pipeline, and verify repository tokens and agent placement. The available evidence does not establish a full affected-installation count or real-world exploitation.