{"id":"CVE-2020-26294","aliases":["CVE-2020-26294","GHSA-gv2h-gf8m-r68j","GO-2022-0838"],"related":[],"kind":"vulnerability","state":"published","title":"Exposure of server configuration","summary":"Vela is a Pipeline Automation (CI/CD) framework built on Linux container technology written in Golang. In Vela compiler before version 0.6.1 there is a vulnerability which allows exposure of server configuration. It impacts all users of Vela. An attacker can use Sprig's `env` function to retrieve configuration information, see referenced GHSA for an example. This has been fixed in version 0.6.1. In addition to upgrading, it is recommended to rotate all secrets.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Vela is a Pipeline Automation (CI/CD) framework built on Linux container technology written in Golang. In Vela compiler before version 0.6.1 there is a vulnerability which allows exposure of server configuration. It impacts all users of Vela. An attacker can use Sprig's `env` function to retrieve configuration information, see referenced GHSA for an example. This has been fixed in version 0.6.1. In addition to upgrading, it is recommended to rotate all secrets.","source":"cvelist"},{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"},{"lang":"en","text":"Exposure of server configuration in github.com/go-vela/server in github.com/go-vela/compiler","format":"markdown","source":"go"},{"lang":"es","text":"Vela es un framework de Pipeline Automation (CI/CD) construido sobre la tecnología de contenedores de Linux escrita en Golang.&#xa0;En el compilador de Vela versiones anteriores a 0.6.1, se presenta una vulnerabilidad que permite exponer la configuración del servidor.&#xa0;Esto afecta a todos los usuarios de Vela.&#xa0;Un atacante puede usar la función \"env\" de Sprig para recuperar información de configuración; consulte GHSA referenciada para un ejemplo.&#xa0;Esto se ha sido corregido en la versión 0.6.1.&#xa0;Además de actualizar, se recomienda rotar todos los secretos.","source":"nvd"}],"published":"2021-01-04T18:35:14.000Z","modified":"2026-07-08T06:00:51.630Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","score":7.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","score":7.4,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-78","CWE-200"],"affected":[{"ranges":[{"version":"< 0.6.1","status":"affected"}],"vendor":"go-vela","product":"compiler","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.6.1"}],"ecosystem":"Go","package":"github.com/go-vela/compiler","purl":"pkg:golang/github.com/go-vela/compiler","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.6.1"}],"ecosystem":"Go","package":"github.com/go-vela/compiler","purl":"pkg:golang/github.com/go-vela/compiler","source":"go"},{"ranges":[{"status":"affected","fixed":"0.6.1"}],"vendor":"target","product":"compiler","cpe":"cpe:2.3:a:target:compiler:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/go-vela/compiler/security/advisories/GHSA-gv2h-gf8m-r68j","tags":["advisory","exploit","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/go-vela/compiler/commit/f1ace5f8a05c95c4d02264556e38a959ee2d9bda","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://pkg.go.dev/github.com/go-vela/compiler/compiler","tags":["product","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26294","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/helm/helm/blob/6297c021cbda1483d8c08a8ec6f4a99e38be7302/pkg/engine/funcs.go#L46-L47","tags":["web"],"sources":["ghsa","go"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-26294","url":"https://www.cve.org/CVERecord?id=CVE-2020-26294","licence":"CVE Terms of Use","modified":"2024-08-04T15:56:03.799Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gv2h-gf8m-r68j","url":"https://github.com/advisories/GHSA-gv2h-gf8m-r68j","licence":"CC-BY-4.0","modified":"2026-07-08T06:00:51.630Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0838","url":"https://pkg.go.dev/vuln/GO-2022-0838","licence":"CC-BY-4.0","modified":"2026-03-03T04:52:18.875Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-26294","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26294","licence":"Public domain","modified":"2026-06-17T03:08:01.100Z"}],"updatedAt":"2026-11-25T22:57:56.856Z","epss":{"score":0.01798,"percentile":0.79108,"date":"2026-12-01T12:00:22.000Z"}}