CVE-2025-27607

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

State
Published
Severity
8.8 High
Published
Mar 7, 2025
Updated
Mar 7, 2025
Reserved
Mar 3, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-829 Inclusion of Functionality from Untrusted Control Sphere

Affected Products

ProductVersions
python-json-loggernhairs
  • >= 3.2.0, < 3.3.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.