{"id":"CVE-2025-27607","aliases":["EUVD-2025-7799","GHSA-wmxh-pxcx-9w24","UBUNTU-CVE-2025-27607"],"status":"published","title":"Python JSON Logger has a Potential RCE via missing `msgspec-python313-pre` dependency","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.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01609,"percentile":0.76127,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-829"],"published":"2025-03-07T16:18:13Z","modified":"2026-10-28T02:31:02Z","exploits":[{"source":"pocgithub","id":"Barsug/msgspec-python313-pre","title":"Barsug/msgspec-python313-pre","date":"2025-03-14","url":"https://github.com/Barsug/msgspec-python313-pre"}],"affected":[{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"python-pythonjsonlogger","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.11-2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"python-pythonjsonlogger","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.1-1","2.0.1-2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"python-pythonjsonlogger","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.1-3","2.0.1-4"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"python-pythonjsonlogger","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.1-1","3.3.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"python-pythonjsonlogger","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"python-pythonjsonlogger","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.0-1"]}],"products":[{"vendor":"nhairs","product":"python-json-logger"},{"vendor":"nhairs","product":"python_json_logger"}],"references":[{"url":"https://github.com/nhairs/python-json-logger/security/advisories/GHSA-wmxh-pxcx-9w24","tags":["x_refsource_CONFIRM","exploit","Exploit","Vendor Advisory","advisory","report"]},{"url":"https://github.com/nhairs/python-json-logger/commit/2548e3a2e3cedf6bef3ee7c60c55b7c02d1af11a","tags":["x_refsource_MISC","Patch","fix","report"]},{"url":"https://github.com/nhairs/python-json-logger/commit/e7761e56edb980cfab0165e32469d5fd017a5d72","tags":["x_refsource_MISC","Patch","fix","report"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27607.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27607","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-27607","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-27607","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-27607","title":"Python JSON Logger has a Potential RCE via missing `msgspec-python313-pre` dependency","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.","status":"published","published":"2025-03-07T16:18:13.789Z","modified":"2025-03-07T17:50:28.395Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-829"],"updated_at":"2026-11-02T14:32:42.411662Z"}],"euvd":[{"id":"EUVD-2025-7799","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.","status":"published","published":"2025-03-07T16:18:13Z","modified":"2025-03-07T17:50:28Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T20:53:10.661676Z"}],"nvd":[{"id":"CVE-2025-27607","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.","status":"published","published":"2025-03-07T17:15:22.433Z","modified":"2026-06-17T09:03:54.11Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-829"],"updated_at":"2026-11-02T14:10:53.101324Z"}],"osv":[{"id":"CVE-2025-27607","title":"Python JSON Logger has a Potential RCE via missing `msgspec-python313-pre` dependency","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.","status":"published","published":"2025-03-07T16:18:13.789Z","modified":"2026-10-28T02:31:02.812433175Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-829"],"updated_at":"2026-11-02T15:44:47.708311Z"},{"id":"UBUNTU-CVE-2025-27607","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.","status":"published","published":"2025-03-07T17:15:00Z","modified":"2026-10-17T12:56:49.527825656Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:55:26.330196Z"}]}}
