Advisory

GHSA-f3mf-hm6v-jfhh

Also known as: CVE-2025-30358, PYSEC-2026-1624

Summary

Mesop Class Pollution vulnerability leads to DoS and Jailbreak attacks

Details

From @jackfromeast and @superboy-zjc:
We have identified a class pollution vulnerability in Mesop (<= 0.14.0) application that allows attackers to overwrite global variables and class attributes in certain Mesop modules during runtime. This vulnerability could directly lead to a denial of service (DoS) attack against the server. Additionally, it could also result in other severe consequences given the application's implementation, such as identity confusion, where an attacker could impersonate an assistant or system role within conversations. This impersonation could potentially enable jailbreak attacks when interacting with large language models (LLMs).

Just like the Javascript's prototype pollution, this vulnerability could leave a way for attackers to manipulate the intended data-flow or control-flow of the application at runtime and lead to severe consequnces like RCE when gadgets are available.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-03-27 18:14 UTC
Modified
2026-07-07 17:56 UTC

Affected packages and fixes

mesop

PyPI · All systems

Affected

  • introduced 0, fixed 0.14.1 (ecosystem)

Fixed versions

0.14.1

Fix

  • Fixed version 0.14.1
    pip install --upgrade mesop==0.14.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences