CVE-2025-27607: Python pythonjsonlogger · Python JSON Logger is a JSON Formatter for Python Logging
Affects python-pythonjsonloggerSource GCVE Database
Not known to be exploited · CVSS 8.8 High.
Data as of 24 Nov 2026, 19:55 UTC
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 7 Mar 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10python-pythonjsonloggerpkg:deb/ubuntu/python-pythonjsonlogger?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSpython-pythonjsonloggerpkg:deb/ubuntu/python-pythonjsonlogger?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10python-pythonjsonloggerpkg:deb/ubuntu/python-pythonjsonlogger?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSpython-pythonjsonloggerpkg:deb/ubuntu/python-pythonjsonlogger?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSpython-pythonjsonloggerpkg:deb/ubuntu/python-pythonjsonlogger?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSpython-pythonjsonloggerpkg:deb/ubuntu/python-pythonjsonlogger?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2025-27607 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-27607 (opens in a new tab)
- github.com/nhairs/python-json-logger/commit/2548e3a2e3cedf6bef3ee7c60c55b7c02d1af11a (opens in a new tab)
- github.com/nhairs/python-json-logger/commit/e7761e56edb980cfab0165e32469d5fd017a5d72 (opens in a new tab)
- github.com/nhairs/python-json-logger/security/advisories/GHSA-wmxh-pxcx-9w24 (opens in a new tab)