CredHub CLI writes environment variable credentials to disk
Priority LOW 34CWE-522Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-522.
Summary
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.
Why it matters now
EPSS 0.00357 29th percentileScored 2026-11-07
Fix Fixed CredHub CLI (Cloud Foundry): 2.2.1
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Cloud Foundry | CredHub CLI | All to before 2.2.1 | 2.2.1 | Patch available | CNA |
- CredHub CLI VendorCloud Foundry Affected All to before 2.2.1 Fixed in 2.2.1 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:cloudfoundry:credhub_cli:*:*:*:*:*:*:*:* | before 2.2.1 | Vulnerable | CloudFoundry Foundation |
- cpe:2.3:a:cloudfoundry:credhub_cli:*:*:*:*:*:*:*:* Versions before 2.2.1 Vulnerable ·CloudFoundry Foundation
Remediation
- Fix · CNA CredHub CLI (Cloud Foundry) Fixed in 2.2.1
Timeline
- 2026-10-02 Threatist record created from CVE-2019-3782
- 2026-10-03 Alias added: GHSA-3vvh-rcx9-vcx3
References
More Cloud Foundry vulnerabilities
- TI-2018-11240 UAA Privilege Escalation CVSS 3.0CRITICAL 9.9
- TI-2018-01169 Log Cache logs UAA client secret on startup CVSS 3.0CRITICAL 9.8
- TI-2018-07868 Cloud Foundry UAA MFA does not prevent brute force of MFA code CVSS 3.0CRITICAL 9.8
- TI-2026-18259 Cloud Foundry UAA SAML 2.0 Signature Bypass CVSS 3.1HIGH 8.6
- TI-2019-02813 Java Projects using HTTP to fetch dependencies CVSS 3.1CRITICAL 9.8
- TI-2024-24613 Authentication bypass by spoofing in Cloud Foundry haproxy-boshrelease CVSS 3.1CRITICAL 9.1
Sources
- CVE-2019-3782 · CVE Program
- CVE-2019-3782 · NVD
- FIRST EPSS
- GHSA-3vvh-rcx9-vcx3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences