# CVE-2025-27607: Python JSON Logger has a Potential RCE via missing `msgspec-python313-pre` dependency

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/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): 1.61%, higher than 76% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-07T16:18:13.789Z
- Modified: 2026-06-17T09:03:54.110Z
- Weaknesses: CWE-829
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Python JSON Logger is a JSON Formatter for Python Logging. Between 30 December 2024 and 4 March 2025 Python JSON Logger was vulnerable to RCE through a missing dependency. This occurred because msgspec-python313-pre was deleted by the owner leaving the name open to being claimed by a third party. If the package was claimed, it would allow them RCE on any Python JSON Logger user who installed the development dependencies on Python 3.13 (e.g. pip install python-json-logger[dev]). This issue has been resolved with 3.3.0.

(As written by CVE List.)

## Affected

- nhairs python-json-logger: >= 3.2.0, < 3.3.0
- nhairs python_json_logger: before 3.3.0

## References

- <https://github.com/nhairs/python-json-logger/security/advisories/GHSA-wmxh-pxcx-9w24> (exploit, vendor-advisory)
- <https://github.com/nhairs/python-json-logger/commit/2548e3a2e3cedf6bef3ee7c60c55b7c02d1af11a> (patch)
- <https://github.com/nhairs/python-json-logger/commit/e7761e56edb980cfab0165e32469d5fd017a5d72> (patch)

## Sources

- CVE List: [CVE-2025-27607](https://www.cve.org/CVERecord?id=CVE-2025-27607), CVE Terms of Use, modified 2025-03-07
- NVD: [CVE-2025-27607](https://nvd.nist.gov/vuln/detail/CVE-2025-27607), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-27607 · Whole record: https://cve.day/CVE-2025-27607.json · Rebuilt by cve.day 2026-11-25T22:58:55.056Z
