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

Published Mar 7, 2025
·
Updated

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.

Affected Software

2 affected components
Python JSON Logger>=null<3.3.0
Nhairs Python Json Logger<3.3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade python-json-logger to a version that resolves this vulnerability.

    Fixed in 3.3.0

Event History

Mar 7, 2025
CVE Published
via MITRE·04:18 PM
Data Sourced
via MITRE·04:18 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-27607?

CVE-2025-27607 has been assessed as high severity due to its potential for remote code execution.

2

How do I fix CVE-2025-27607?

To fix CVE-2025-27607, users should upgrade to Python JSON Logger version 3.3.0 or higher.

3

What vulnerability does CVE-2025-27607 address?

CVE-2025-27607 addresses a remote code execution vulnerability caused by a missing dependency in Python JSON Logger.

4

What software is affected by CVE-2025-27607?

CVE-2025-27607 affects the Python JSON Logger versions prior to 3.3.0.

5

How did CVE-2025-27607 occur?

CVE-2025-27607 occurred because the msgspec-python313-pre dependency was deleted, leaving the name open for exploitation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203