# GHSA-67r3-h899-9w95: Embedded Malicious Code in ctx

- Severity: Critical (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2022-06-02T15:46:06.000Z
- Modified: 2022-06-02T15:46:06.000Z

## Description

The ctx hosted project on PyPI was taken over via user account compromise and replaced with a malicious project which contained runtime code which collected the content of os.environ.items() when instantiating Ctx objects.

(As written by GitHub Advisory Database.)

## Affected

- ctx (PyPI): from 0.1.2-1

## References

- <https://github.com/pypa/advisory-database/tree/main/vulns/ctx/PYSEC-2022-199.yaml> (web)
- <https://python-security.readthedocs.io/pypi-vuln/index-2022-05-24-ctx-domain-takeover.html> (web)

## Sources

- GitHub Advisory Database: [GHSA-67r3-h899-9w95](https://github.com/advisories/GHSA-67r3-h899-9w95), CC-BY-4.0, modified 2022-06-02

---

Page: https://cve.day/GHSA-67r3-h899-9w95 · Whole record: https://cve.day/GHSA-67r3-h899-9w95.json · Rebuilt by cve.day 2026-11-25T22:56:34.234Z
