#VU112162 Inclusion of Functionality from Untrusted Control Sphere in python-json-logger - CVE-2025-27607

 

#VU112162 Inclusion of Functionality from Untrusted Control Sphere in python-json-logger - CVE-2025-27607

Published: July 3, 2025


Vulnerability identifier: #VU112162
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2025-27607
CWE-ID: CWE-829
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
python-json-logger
Software vendor:
nhairs

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to 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]). A remote attacker can trick the victim into opening a specially crafted data, trigger the vulnerability and execute arbitrary code on the target system.


Remediation

Install updates from vendor's website.

External links