CVE-2024-28236
Insecure Variable Substitution in Vela
Also known as GHSA-pwx5-6wxg-px5h, GO-2024-2641
Mitigation
- Upgrade github.com/go-vela/worker to 0.23.2 or later.
Who should check
- Projects that depend on Go package github.com/go-vela/worker (< 0.23.2)
- Anyone running go-vela worker < 0.23.2
Vulnerability facts
- Affected
- github.com/go-vela/worker < 0.23.2
- Fixed in
- 0.23.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.92% chance of exploitation in 30 days (percentile 58, 2026-11-26)
- CWE
- CWE-532, CWE-200
- Modified
Description
Vela is a Pipeline Automation (CI/CD) framework built on Linux container technology written in Golang. Vela pipelines can use variable substitution combined with insensitive fields like `parameters`, `image` and `entrypoint` to inject secrets into a plugin/image and — by using common substitution string manipulation — can bypass log masking and expose secrets without the use of the commands block. This unexpected behavior primarily impacts secrets restricted by the "no commands" option. This can lead to unintended use of the secret value, and increased risk of exposing the secret during image execution bypassing log masking. **To exploit this** the pipeline author must be supplying the secrets to a plugin that is designed in such a way that will print those parameters in logs. Plugin parameters are not designed for sensitive values and are often intentionally printed throughout execution for informational/debugging purposes. Parameters should therefore be treated as insensitive. While Vela provides secrets masking, secrets exposure is not entirely solved by the masking process. A docker image (plugin) can easily expose secrets if they are not handled properly, or altered in some way. There is a responsibility on the end-user to understand how values injected into a plugin are used. This is a risk that exists for many CICD systems (like GitHub Actions) that handle sensitive runtime variables. Rather, the greater risk is that users who restrict a secret to the "no commands" option and use image restriction can still have their secret value exposed via substitution tinkering, which turns the image and command restrictions into a false sense of security. This issue has been addressed in version 0.23.2. Users are advised to upgrade. Users unable to upgrade should not provide sensitive values to plugins that can potentially expose them, especially in `parameters` that are not intended to be used for sensitive values, ensure plugins (especially those that utilize shared secrets) follow best practices to avoid logging parameters that are expected to be sensitive, minimize secrets with `pull_request` events enabled, as this allows users to change pipeline configurations and pull in secrets to steps not typically part of the CI process, make use of the build approval setting, restricting builds from untrusted users, and limit use of shared secrets, as they are less restrictive to access by nature.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/go-vela/worker | < 0.23.2 | 0.23.2 | osv |
| go-vela worker | < 0.23.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-28236. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-28236.md Affected: github.com/go-vela/worker < 0.23.2 Fixed in: 0.23.2 Steps: 1. Search this machine and project for github.com/go-vela/worker (Go), go-vela worker: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2024-28236 being exploited?
There is no confirmed exploitation: CVE-2024-28236 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.92% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-28236?
High: CVSS 7.7 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2024-28236?
github.com/go-vela/worker < 0.23.2.
Is there a fix for CVE-2024-28236?
Yes. Fixed in 0.23.2. Upgrade github.com/go-vela/worker to 0.23.2 or later.
How do I check if I'm affected by CVE-2024-28236?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.