Skip to main content
← All vulnerabilities
CVE-2025-27607

Python JSON Logger has a Potential RCE via missing `msgspec-python313-pre` dependency

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.3.0
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • nhairs python-json-logger

    From 3.2.0 · fixed in 3.3.0

References 4

GitHub · nhairs/python-json-logger

GitHub · Barsug/msgspec-python313-pre