{"id":"CVE-2020-26294","aliases":["GHSA-gv2h-gf8m-r68j","GO-2022-0838"],"title":"Exposure of server configuration in github.com/go-vela/server","summary":"Exposure of server configuration in github.com/go-vela/server","severity":"high","cvss":7.4,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","vendor":"go-vela","product":"github.com/go-vela/compiler","ecosystem":"go","affected":["github.com/go-vela/compiler < 0.6.1"],"patched":["github.com/go-vela/compiler 0.6.1"],"published":"2022-02-15","updated":"2026-07-08","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-gv2h-gf8m-r68j","references":[{"url":"https://github.com/go-vela/compiler/security/advisories/GHSA-gv2h-gf8m-r68j"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26294"},{"url":"https://github.com/go-vela/compiler/commit/f1ace5f8a05c95c4d02264556e38a959ee2d9bda"},{"url":"https://github.com/helm/helm/blob/6297c021cbda1483d8c08a8ec6f4a99e38be7302/pkg/engine/funcs.go#L46-L47"},{"url":"https://pkg.go.dev/github.com/go-vela/compiler/compiler"}],"tags":["osv","go"],"epss":0.01777,"epssPercentile":0.77234,"ingestedAt":"2026-07-09T18:56:36.543Z","slug":"CVE-2020-26294","body":"## Overview\n\n### Impact\n_What kind of vulnerability is it? Who is impacted?_\n\n* The ability to expose configuration set in the [Vela server](https://github.com/go-vela/server) via [pipeline template functionality](https://go-vela.github.io/docs/templates/overview/).\n* It impacts all users of Vela.\n\n\nSample of template exposing server configuration [using Sprig's `env` function](http://masterminds.github.io/sprig/os.html):\n\n```yaml\nmetadata:\n  template: true\n\nsteps:\n  - name: sample\n    image: alpine:latest\n    commands:\n      # OAuth client ID for Vela <-> GitHub communication\n      - echo {{ env \"VELA_SOURCE_CLIENT\" }}\n      # secret used for server <-> worker communication\n      - echo {{ env \"VELA_SECRET\" }}\n```\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\n* Upgrade to `0.6.1`\n\n#### Additional Recommended Action(s)\n\n* Rotate all secrets\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\n* No\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n* Email us at [vela@target.com](mailto:vela@target.com)\n\n## Affected packages\n\n- `github.com/go-vela/compiler < 0.6.1`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `github.com/go-vela/compiler 0.6.1`","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":40.7,"likelihood":0.4,"exploitation":0,"ransomware":0},"changes":[]}