Vulnerability in Nhairs Python-Json-Logger
CVE-2025-27607
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.016, 76.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Nhairs Python-Json-Logger — versions >= 3.2.0, < 3.3.0
- Nhairs Python JSON Logger
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- Barsug/msgspec-python313-pre (last pushed 2025-03-14): CVE-2025-27607 fix
Also mentioned in 3 other repositories (nomi-sec/PoC-in-GitHub, omnigodz/MDAVI, plzheheplztrying/cve_monitor). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
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)
This CVE has public exploit evidence. See the latest CVEs with public exploits.