# CVE-2019-3782: CredHub CLI writes environment variable credentials to disk

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2019-02-13 · Modified: 2024-09-16
- Record: https://cvemate.com/vulnerability/CVE-2019-3782 · JSON: https://cvemate.com/vulnerability/CVE-2019-3782/json

## Description

```text
Cloud Foundry CredHub CLI, versions prior to 2.2.1, inadvertently writes authentication credentials provided via environment variables to its persistent config file. A local authenticated malicious user with access to the CredHub CLI config file can use these credentials to retrieve and modify credentials stored in CredHub that are authorized to the targeted user.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.357%, percentile 31.453%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- cloud foundry credhub cli: ≥ All, \< 2.2.1
- cloudfoundry credhub\_cli: \< 2.2.1

## References

- <https://www.cloudfoundry.org/blog/cve-2019-3782>
- <http://www.securityfocus.com/bid/107038>

---

Data as of 2026-12-05T04:20:03.635Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
