# CVE-2023-34236: Information Disclosure Vulnerability in Weave GitOps Terraform Controller

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.5
- **CVSS:** 8.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N`
- **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: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.00% (percentile 62, 2026-11-26)
- **CWE:** CWE-200
- **Aliases:** GHSA-6hvv-j432-23cv, GO-2023-1925
- **Published:** 2023-07-14T21:09:46.350Z
- **Modified:** 2026-09-10T03:49:54.329Z

## Who should check

- Projects that depend on Go package github.com/weaveworks/tf-controller (\< 0.14.4)
- Anyone running weaveworks tf-controller \< 0.14.4; \>= 0.15.0-rc.1, \< 0.15.0-rc.5

## Description

Weave GitOps Terraform Controller (aka Weave TF-controller) is a controller for Flux to reconcile Terraform resources in a GitOps way. A vulnerability has been identified in Weave GitOps Terraform Controller which could allow an authenticated remote attacker to view sensitive information. This vulnerability stems from Weave GitOps Terraform Runners (\`tf-runner\`), where sensitive data is inadvertently printed - potentially revealing sensitive user data in their pod logs. In particular, functions \`tfexec.ShowPlan\`, \`tfexec.ShowPlanRaw\`, and \`tfexec.Output\` are implicated when the \`tfexec\` object set its \`Stdout\` and \`Stderr\` to be \`os.Stdout\` and \`os.Stderr\`. An unauthorized remote attacker could exploit this vulnerability by accessing these prints of sensitive information, which may contain configurations or tokens that could be used to gain unauthorized control or access to resources managed by the Terraform controller. A successful exploit could allow the attacker to utilize this sensitive data, potentially leading to unauthorized access or control of the system. This vulnerability has been addressed in Weave GitOps Terraform Controller versions \`v0.14.4\` and \`v0.15.0-rc.5\`. Users are urged to upgrade to one of these versions to mitigate the vulnerability. As a temporary measure until the patch can be applied, users can add the environment variable \`DISABLE\_TF\_LOGS\` to the tf-runners via the runner pod template of the Terraform Custom Resource. This will prevent the logging of sensitive information and mitigate the risk of this vulnerability.

## Affected and fixed versions

- Go `github.com/weaveworks/tf-controller`: affected \< 0.14.4; fixed 0.14.4, 0.15.0-rc.5 (osv)
- weaveworks tf-controller: \< 0.14.4; \>= 0.15.0-rc.1, \< 0.15.0-rc.5 (cvelist)

## Mitigation

- Upgrade github.com/weaveworks/tf-controller to one of 0.14.4, 0.15.0-rc.5 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-34236. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-34236.md
Affected: github.com/weaveworks/tf-controller < 0.14.4
Fixed in: 0.14.4, 0.15.0-rc.5

Steps:
1. Search this machine and project for github.com/weaveworks/tf-controller (Go), weaveworks tf-controller: 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.
```

## FAQ

### Is CVE-2023-34236 being exploited?

There is no confirmed exploitation: CVE-2023-34236 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.00% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-34236?

High: CVSS 8.5 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2023-34236?

github.com/weaveworks/tf-controller \< 0.14.4.

### Is there a fix for CVE-2023-34236?

Yes. Fixed in 0.14.4, 0.15.0-rc.5. Upgrade github.com/weaveworks/tf-controller to one of 0.14.4, 0.15.0-rc.5 (or later in the same release line).

### How do I check if I'm affected by CVE-2023-34236?

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.

## References

- vendor: <https://github.com/weaveworks/tf-controller/security/advisories/GHSA-6hvv-j432-23cv>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-34236>
- patch: <https://github.com/weaveworks/tf-controller/commit/28282bc644054e157c3b9a3d38f1f9551ce09074>
- patch: <https://github.com/weaveworks/tf-controller/commit/6323b355bd7f5d2ce85d0244fe0883af3881df4e>
- patch: <https://github.com/weaveworks/tf-controller/commit/9708fda28ccd0466cb0a8fd409854ab4d92f7dca>
- patch: <https://github.com/weaveworks/tf-controller/commit/98a0688036e9dbcf43fa84960d9a1ef3e09a69cf>
- exploit: <https://github.com/weaveworks/tf-controller/issues/637>
- exploit: <https://github.com/weaveworks/tf-controller/issues/649>
- other: <https://github.com/weaveworks/tf-controller>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-34236>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-6hvv-j432-23cv> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2023-1925> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-34236> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-34236>
