picklescan - Arbitrary Code Execution via profile.run() Blocklist Bypass
picklescan before 1.0.4 contains an incomplete blocklist for the profile module that fails to block the module-level profile.run() function, allowing attackers to achieve arbitrary code execution via exec(). Attackers can craft malicious pickle files calling profile.run(statement) to execute arbitrary Python code while picklescan reports zero security issues.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-53873
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 15:10 UTC · Revision 1
Source evidence
picklescan - Arbitrary Code Execution via profile.run() Blocklist Bypass
core-osv · Original sourcePublished 17 Jun 2026, 15:05 UTC
picklescan before 1.0.4 contains an incomplete blocklist for the profile module that fails to block the module-level profile.run() function, allowing attackers to achieve arbitrary code execution via exec(). Attackers can craft malicious pickle files calling profile.run(statement) to execute arbitrary Python code while picklescan reports zero security issues.
osv:CVE-2026-53873
Complete source record
{
"id": "9dcc59d832cdd5ef717988fd663ad1546bd0a3e156b8ff31a99820de88a674bc",
"url": "https://osv.dev/vulnerability/CVE-2026-53873",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "picklescan - Arbitrary Code Execution via profile.run() Blocklist Bypass",
"summary": "picklescan before 1.0.4 contains an incomplete blocklist for the profile module that fails to block the module-level profile.run() function, allowing attackers to achieve arbitrary code execution via exec(). Attackers can craft malicious pickle files calling profile.run(statement) to execute arbitrary Python code while picklescan reports zero security issues.",
"evidence": "osv:CVE-2026-53873",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2026-53873",
"aliases": [
"CVE-2026-53873",
"GHSA-7wx9-6375-f5wh",
"PYSEC-2026-455"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mmaitre314/picklescan",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "bf26452ae2e3204429762c2bb1aa9eacd40436bb"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.0.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.0.4"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"v1.0.3",
"v1.0.2",
"v1.0.1",
"v1.0.0",
"v0.0.35",
"v0.0.34",
"v0.0.33",
"v0.0.32",
"v0.0.31",
"v0.0.30",
"v0.0.29",
"v0.0.28",
"v0.0.27",
"v0.0.26",
"v0.0.25",
"v0.0.24",
"v0.0.23",
"v0.0.22",
"v0.0.21",
"v0.0.20",
"v0.0.19",
"v0.0.18",
"v0.0.17",
"v0.0.15",
"v0.0.14",
"v0.0.13",
"v0.0.12",
"v0.0.11",
"v0.0.10",
"v0.0.9",
"v0.0.8",
"v0.0.7",
"v0.0.6",
"v0.0.5",
"v0.0.4",
"v0.0.3",
"v0.0.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53873.json"
}
}
],
"modified": "2026-10-28T02:30:29.816468980Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53873.json",
"https://github.com/mmaitre314/picklescan/security/advisories/GHSA-7wx9-6375-f5wh",
"https://nvd.nist.gov/vuln/detail/CVE-2026-53873",
"https://www.vulncheck.com/advisories/picklescan-arbitrary-code-execution-via-profile-run-blocklist-bypass"
],
"provider_metadata": {
"cwe_ids": [
"CWE-184"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53873.json"
}
},
"related_cves": [
{
"value": "CVE-2026-53873",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496695,
"published_at": "2026-06-17T15:05:02.886+00:00"
}