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

- Severity: Medium 6.3 (CVSS:3.0, scored by dell) `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2019-02-13T16:00:00.000Z
- Modified: 2026-06-17T02:35:35.173Z
- Weaknesses: CWE-522
- Assigned by: dell

## Description

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.

(As written by CVE List.)

## Affected

- Cloud Foundry CredHub CLI: from All before 2.2.1
- cloudfoundry credhub_cli: before 2.2.1

## Every score

- dell: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://www.cloudfoundry.org/blog/cve-2019-3782> (vendor-advisory)
- <http://www.securityfocus.com/bid/107038> (third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2019-3782](https://www.cve.org/CVERecord?id=CVE-2019-3782), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2019-3782](https://nvd.nist.gov/vuln/detail/CVE-2019-3782), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-3782 · Whole record: https://cve.day/CVE-2019-3782.json · Rebuilt by cve.day 2026-11-25T22:57:43.792Z
