# PYSEC-2026-3: Two telnyx versions published containing credential harvesting malware

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Unknown
- **Published:** 2026-03-27T14:53:14.000Z
- **Modified:** 2026-06-28T22:30:11.680Z

## Who should check

- Projects that depend on PyPI package telnyx (4.87.1, 4.87.2)

## Description

After an API token exposure from an exploited Trivy dependency,
two new releases of \`telnyx\` were uploaded to PyPI containing automatically activated malware,
 harvesting sensitive credentials and files, and exfiltrating to a remote API.

 Compromised versions execute code during importing the \`telnyx\` module through modifications in \`\_client.py\`.

The code downloads the next stages from endpoints on the host 83.142.209\[.\]203, encoded in WAV files.
On Windows hosts, the malicious executable is placed in 
\`%APPDATA%\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\msbuild.exe\`
 for persistence and executed.
On other systems, the payload is a Python script.
 After executing it, generated artifacts are exfiltrated to 83.142.209\[.\]203.

 Version 4.87.1 contains a typo preventing the automated execution of the malicious code.

The code uses the encryption key observed in previous TeamPCP actions.
 The full compromise of exposed systems and all credentials reachable from them should be assumed. 
The credentials should be revoked/rotated, and the affected systems isolated
and analyzed against malicious actions and modifications.

The two versions have been removed from PyPI, and the project has been reinstated.

## Affected and fixed versions

- PyPI `telnyx`: affected 4.87.1, 4.87.2; fixed no fix listed yet (osv)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by PYSEC-2026-3. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/PYSEC-2026-3.md
Affected: telnyx 4.87.1, 4.87.2
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for telnyx (PyPI): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is PYSEC-2026-3 being exploited?

There is no confirmed exploitation: PYSEC-2026-3 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available.

### How serious is PYSEC-2026-3?

It has no CVSS score yet. Unknown.

### Which versions are affected by PYSEC-2026-3?

telnyx 4.87.1, 4.87.2.

### Is there a fix for PYSEC-2026-3?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by PYSEC-2026-3?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- exploit: <https://inspector.pypi.io/project/telnyx/4.87.2/packages/3c/89/bff9e644b1076b96ba1e23deb2b7acffa9fe84166219ba9cb47cf356b7ec/telnyx-4.87.2.tar.gz/telnyx-4.87.2/src/telnyx/_client.py#line.7825>
- article: <https://www.endorlabs.com/learn/teampcp-strikes-again-telnyx-compromised-three-days-after-litellm>
- article: <https://www.aikido.dev/blog/telnyx-pypi-compromised-teampcp-canisterworm>
- other: <https://github.com/team-telnyx/telnyx-python/issues/235>

## Attribution

- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-3> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/PYSEC-2026-3> · JSON: <https://flawdb.com/api/v1/entries/PYSEC-2026-3>
