# GHSA-xm4r-5rj9-2pg3: gratient 0.5 contains credential harvesting code

- Severity: High (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-08-30T23:37:05.000Z
- Modified: 2024-08-30T23:37:05.000Z

## Description

gratient is a user-facing library for generating color gradients of text.
Version 0.5 contained obfuscated, malicious code targeting
Windows platforms, harvesting information and credentials from the
user's system and sending them to a remote server.
Services may include Mullvad VPN and Telegram.

(As written by GitHub Advisory Database.)

## Affected

- gratient (PyPI): 0.5

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/pypa/advisory-database/tree/main/vulns/gratient/PYSEC-2024-1.yaml> (web)
- <https://inspector.pypi.io/project/gratient/0.5/packages/c5/c5/353e45fa57fa5f1b2b42fa24a029cdfb018d7263850fb43b6d6352157734/gratient-0.5-py3-none-any.whl/gratient/__init__.py#line.4> (web)
- <https://pypi.org/project/gratient> (web)

## Sources

- GitHub Advisory Database: [GHSA-xm4r-5rj9-2pg3](https://github.com/advisories/GHSA-xm4r-5rj9-2pg3), CC-BY-4.0, modified 2024-08-30

---

Page: https://cve.day/GHSA-xm4r-5rj9-2pg3 · Whole record: https://cve.day/GHSA-xm4r-5rj9-2pg3.json · Rebuilt by cve.day 2026-11-25T22:56:37.039Z
