CVE-2025-30358
Python vulnerability analysis and mitigation

Overview

Mesop, a Python-based UI framework for building web applications, was found to contain a class pollution vulnerability in versions prior to 0.14.1. The vulnerability was discovered and disclosed on March 27, 2025, and assigned CVE-2025-30358. This security flaw allows attackers to overwrite global variables and class attributes in certain Mesop modules during runtime (NVD, GitHub Advisory).

Technical details

The vulnerability stems from improper validation of user-controlled input that can manipulate class attributes and global variables during runtime. Similar to JavaScript's prototype pollution, this vulnerability enables attackers to alter the intended data-flow or control-flow of the application. The issue has been assigned a CVSS v3.1 base score of 8.1 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H, indicating network attack vector, low attack complexity, and high impact on integrity and availability (GitHub Advisory).

Impact

The vulnerability can lead to multiple severe consequences: a denial of service (DoS) attack against the server, identity confusion allowing attackers to impersonate assistant or system roles within conversations, potential jailbreak attacks when interacting with large language models (LLMs), and possible remote code execution when gadgets are available (NVD).

Mitigation and workarounds

Users should upgrade to Mesop version 0.14.1, which contains a patch for this vulnerability. The fix includes additional validation to prevent the use of dunder properties in stateclasses, as evidenced by the patch commit (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22871HIGH8.7
  • PythonPython
  • guarddog
NoYesJan 13, 2026
GHSA-58pv-8j8x-9vj2HIGH8.6
  • PythonPython
  • jaraco.context
NoYesJan 13, 2026
CVE-2026-22779MEDIUM6.3
  • PythonPython
  • blacksheep
NoYesJan 14, 2026
CVE-2026-21889LOW2.3
  • PythonPython
  • weblate
NoYesJan 14, 2026
CVE-2025-68492LOW2.3
  • PythonPython
  • chainlit
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management