{"id":"CVE-2026-31224","aliases":["CVE-2026-31224","GHSA-gpx5-7xm4-229w","PYSEC-2026-3070"],"related":[],"kind":"vulnerability","state":"published","title":"Snorkel MultitaskClassifier.load uses an unsafe torch.load","summary":"The snorkel library thru v0.10.0 contains an insecure deserialization vulnerability (CWE-502) in the MultitaskClassifier.load() method of the MultitaskClassifier class. The method loads model weight files using torch.load() without enabling the security-restrictive weights_only=True parameter. This default behavior allows the deserialization of arbitrary Python objects via the Pickle module. A remote attacker can exploit this by providing a maliciously crafted model file, leading to arbitrary code execution on the victim's system when the file is loaded via the vulnerable method.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The snorkel library thru v0.10.0 contains an insecure deserialization vulnerability (CWE-502) in the MultitaskClassifier.load() method of the MultitaskClassifier class. The method loads model weight files using torch.load() without enabling the security-restrictive weights_only=True parameter. This default behavior allows the deserialization of arbitrary Python objects via the Pickle module. A remote attacker can exploit this by providing a maliciously crafted model file, leading to arbitrary code execution on the victim's system when the file is loaded via the vulnerable method.","source":"cvelist"},{"lang":"es","text":"La biblioteca snorkel hasta la v0.10.0 contiene una vulnerabilidad de deserialización insegura (CWE-502) en el método MultitaskClassifier.load() de la clase MultitaskClassifier. El método carga archivos de pesos de modelo usando torch.load() sin habilitar el parámetro de seguridad restrictivo weights_only=True. Este comportamiento predeterminado permite la deserialización de objetos Python arbitrarios a través del módulo Pickle. Un atacante remoto puede explotar esto al proporcionar un archivo de modelo creado maliciosamente, lo que lleva a la ejecución de código arbitrario en el sistema de la víctima cuando el archivo se carga a través del método vulnerable.","source":"nvd"}],"published":"2026-05-12T00:00:00.000Z","modified":"2026-10-19T22:10:00.130Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.10.0"}],"ecosystem":"PyPI","package":"snorkel","purl":"pkg:pypi/snorkel","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"0.10.0"}],"vendor":"snorkel","product":"snorkel","cpe":"cpe:2.3:a:snorkel:snorkel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.10.0"}],"ecosystem":"PyPI","package":"snorkel","purl":"pkg:pypi/snorkel","source":"pysec"}],"references":[{"url":"https://github.com/snorkel-team/snorkel","tags":["package","product"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.notion.so/CVE-2026-31224-35d1e1393188814185f3f6db86c9a4e9","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31224","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/snorkel","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-gpx5-7xm4-229w","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-05-13T14:04:44.783Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31224","url":"https://www.cve.org/CVERecord?id=CVE-2026-31224","licence":"CVE Terms of Use","modified":"2026-05-13T14:05:56.939Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gpx5-7xm4-229w","url":"https://github.com/advisories/GHSA-gpx5-7xm4-229w","licence":"CC-BY-4.0","modified":"2026-07-13T16:42:50.949Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31224","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31224","licence":"Public domain","modified":"2026-10-19T22:10:00.130Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3070","url":"https://osv.dev/vulnerability/PYSEC-2026-3070","licence":"CC-BY-4.0","modified":"2026-07-13T16:31:33.711Z"}],"updatedAt":"2026-11-25T22:59:21.368Z","epss":{"score":0.00392,"percentile":0.35505,"date":"2026-12-01T12:00:22.000Z"}}