Skip to content
Heist/ feed
Back to feed
High

picklescan - Arbitrary Code Execution via torch.utils._config_module.load_config Bypass

Type: advisorySources: OSV

picklescan before 0.0.28 fails to detect malicious pickle files that invoke torch.utils._config_module.load_config function within reduce methods. Attackers can craft pickle files embedding arbitrary code that evades detection but executes during pickle.load, enabling remote code execution in supply chain attacks.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-71348
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 13:55 UTC · Revision 1

Source evidence

picklescan - Arbitrary Code Execution via torch.utils._config_module.load_config Bypass

core-osv · Original source

Published 21 Jun 2026, 13:26 UTC

picklescan before 0.0.28 fails to detect malicious pickle files that invoke torch.utils._config_module.load_config function within reduce methods. Attackers can craft pickle files embedding arbitrary code that evades detection but executes during pickle.load, enabling remote code execution in supply chain attacks.

osv:CVE-2025-71348
Complete source record
{
  "id": "fa18582a6c555a9186e720937f1ae2ff53f6ee8a89d6ecbf2211888a697fdd4a",
  "url": "https://osv.dev/vulnerability/CVE-2025-71348",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "picklescan - Arbitrary Code Execution via torch.utils._config_module.load_config Bypass",
    "summary": "picklescan before 0.0.28 fails to detect malicious pickle files that invoke torch.utils._config_module.load_config function within reduce methods. Attackers can craft pickle files embedding arbitrary code that evades detection but executes during pickle.load, enabling remote code execution in supply chain attacks.",
    "evidence": "osv:CVE-2025-71348",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-71348",
      "aliases": [
        "CVE-2025-71348",
        "GHSA-vv6j-3g6g-2pvj",
        "PYSEC-2026-245"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mmaitre314/picklescan",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7f994d62084fe43f1cffdef2f9bae6923344ef53"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.0.28"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "cpe": "cpe:2.3:a:mmaitre314:picklescan:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.0.28"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "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-2025-71348.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:35.862152308Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71348.json",
        "https://github.com/mmaitre314/picklescan/security/advisories/GHSA-vv6j-3g6g-2pvj",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-71348",
        "https://www.vulncheck.com/advisories/picklescan-arbitrary-code-execution-via-torch-utils-config-module-load-config-bypass"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-502"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71348.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-71348",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503324,
  "published_at": "2026-06-21T13:26:48.046+00:00"
}