{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-10157","id":"CVE-2025-10157","title":"PickleScan Bypasses Unsafe Globals Check Using Submodule Imports","description":"A Protection Mechanism Failure vulnerability in mmaitre314 picklescan versions up to and including 0.0.30 allows a remote attacker to bypass the unsafe globals check. This is possible because the scanner performs an exact match for module names, allowing malicious payloads to be loaded via submodules of dangerous packages (e.g., 'asyncio.unix_events' instead of 'asyncio'). \n\nWhen the incorrectly c","descriptionLong":"A Protection Mechanism Failure vulnerability in mmaitre314 picklescan versions up to and including 0.0.30 allows a remote attacker to bypass the unsafe globals check. This is possible because the scanner performs an exact match for module names, allowing malicious payloads to be loaded via submodules of dangerous packages (e.g., 'asyncio.unix_events' instead of 'asyncio'). \n\nWhen the incorrectly considered safe file is loaded after scan, it can lead to the execution of malicious code.","published":"2025-09-17T11:33:03.680Z","updated":"2026-10-28T02:30:35.095516115Z","reserved":"2025-09-09T11:07:37.837Z","status":"Analyzed","rejected":false,"assigner":"JFROG","metric":{"version":"4.0","score":9.3,"vector":"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","rating":"critical","source":"JFROG"},"metrics":[{"version":"4.0","score":9.3,"vector":"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","rating":"critical","source":"JFROG"},{"version":"4.0","score":9.3,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"critical","source":"jfrog.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L","rating":"high","source":"GitHub"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"critical","products":["mmaitre314 picklescan"],"affectedProducts":[{"vendor":"mmaitre314","product":"picklescan","defaultStatus":"unaffected","versions":[{"changes":[{"at":"0.0.31","status":"unaffected"}],"lessThanOrEqual":"0.0.30","status":"affected","version":"0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"picklescan","purl":"pkg:pypi/picklescan","ranges":["<0.0.31"],"fixed":["0.0.31"],"advisory":"GHSA-f7qq-56ww-84cr"}],"cwes":["CWE-693"],"aliases":["GHSA-f7qq-56ww-84cr","PYSEC-2025-153"],"references":[{"url":"https://github.com/mmaitre314/picklescan/security/advisories/GHSA-f7qq-56ww-84cr","tags":["vendor-advisory","exploit","Exploit","Vendor Advisory","evidence","web"]},{"url":"https://huggingface.co/iluem/linux_pkl/resolve/main/asyncio_asyncio_unix_events___UnixSubprocessTransport__start.pkl","tags":["exploit","Broken Link","evidence","web"]},{"url":"https://github.com/mmaitre314/picklescan/blob/2a8383cfeb4158567f9770d86597300c9e508d0f/src/picklescan/scanner.py#L309","tags":["Product","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/10xxx/CVE-2025-10157.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-10157","tags":["advisory"]},{"url":"https://github.com/mmaitre314/picklescan/pull/50","tags":["web"]},{"url":"https://github.com/mmaitre314/picklescan/commit/28a7b4ef753466572bda3313737116eeb9b4e5c5","tags":["web"]},{"url":"https://github.com/mmaitre314/picklescan","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/picklescan/PYSEC-2025-153.yaml","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00776,"epssPercentile":0.56516,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-10157","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-10157","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-10157","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-f7qq-56ww-84cr","ok":true,"note":"GHSA-f7qq-56ww-84cr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-10157","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}