# CVE-2024-53865: Python package "zhmcclient" has passwords in clear text in its HMC and API logs

- Severity: High 8.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- 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.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2024-11-29T18:48:17.680Z
- Modified: 2026-07-07T17:57:11.052Z
- Also known as: GHSA-p57h-3cmc-xpjq, PYSEC-2026-2073
- Weaknesses: CWE-312
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

zhmcclient is a pure Python client library for the IBM Z HMC Web Services API. In affected versions the Python package "zhmcclient" writes password-like properties in clear text into its HMC and API logs in the following cases: 1. The 'boot-ftp-password' and 'ssc-master-pw' properties when creating or updating a partition in DPM mode, in the zhmcclient API and HMC logs. 2. The 'ssc-master-pw' and 'zaware-master-pw' properties when updating an LPAR in classic mode, in the zhmcclient API and HMC logs. 3. The 'ssc-master-pw' and 'zaware-master-pw' properties when creating or updating an image activation profile in classic mode, in the zhmcclient API and HMC logs. 4. The 'password' property when creating or updating an HMC user, in the zhmcclient API log. 5. The 'bind-password' property when creating or updating an LDAP server definition, in the zhmcclient API and HMC logs. This issue affects only users of the zhmcclient package that have enabled the Python loggers named "zhmcclient.api" (for the API log) or "zhmcclient.hmc" (for the HMC log) and that use the functions listed above. This issue has been fixed in zhmcclient version 1.18.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- zhmcclient python-zhmcclient: < 1.18.1
- zhmcclient (PyPI): before 1.18.1

## Every score

- GitHub_M: CVSS:3.1 8.3 High `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.2 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H`
- PyPA Advisory Database: CVSS:3.1 8.2 High `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H`

## References

- <https://github.com/zhmcclient/python-zhmcclient/security/advisories/GHSA-p57h-3cmc-xpjq> (web)
- <https://github.com/zhmcclient/python-zhmcclient/commit/ad32781e782d0f604c6da4680fce48e4cc1f4433> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-53865> (advisory)
- <https://github.com/zhmcclient/python-zhmcclient> (package)
- <https://pypi.org/project/zhmcclient> (package)
- <https://github.com/advisories/GHSA-p57h-3cmc-xpjq> (advisory)

## Sources

- CVE List: [CVE-2024-53865](https://www.cve.org/CVERecord?id=CVE-2024-53865), CVE Terms of Use, modified 2024-12-02
- GitHub Advisory Database: [GHSA-p57h-3cmc-xpjq](https://github.com/advisories/GHSA-p57h-3cmc-xpjq), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2024-53865](https://nvd.nist.gov/vuln/detail/CVE-2024-53865), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2073](https://osv.dev/vulnerability/PYSEC-2026-2073), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-53865 · Whole record: https://cve.day/CVE-2024-53865.json · Rebuilt by cve.day 2026-11-25T22:58:49.554Z
