Skip to content
Heist/ feed
Back to feed
Medium

Conda-build Vulnerable to Path Traversal via Malicious Tar File

Type: advisorySources: OSV

Conda-build contains commands and tools to build conda packages. Prior to version 25.4.0, the conda-build processing logic is vulnerable to path traversal (Tarslip) attacks due to improper sanitization of tar entry paths. Attackers can craft tar archives containing entries with directory traversal sequences to write files outside the intended extraction directory. This could lead to arbitrary file overwrites, privilege escalation, or code execution if sensitive locations are targeted. This issue has been patched in version 25.4.0.

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

Source evidence

Conda-build Vulnerable to Path Traversal via Malicious Tar File

core-osv · Original source

Published 16 Jun 2025, 20:23 UTC

Conda-build contains commands and tools to build conda packages. Prior to version 25.4.0, the conda-build processing logic is vulnerable to path traversal (Tarslip) attacks due to improper sanitization of tar entry paths. Attackers can craft tar archives containing entries with directory traversal sequences to write files outside the intended extraction directory. This could lead to arbitrary file overwrites, privilege escalation, or code execution if sensitive locations are targeted. This issue has been patched in version 25.4.0.

osv:CVE-2025-32799
Complete source record
{
  "id": "228a82eeb6f7d2d11c911ce205e9247c2c94293048e0c7a78706c80e779e3577",
  "url": "https://osv.dev/vulnerability/CVE-2025-32799",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Conda-build Vulnerable to Path Traversal via Malicious Tar File",
    "summary": "Conda-build contains commands and tools to build conda packages. Prior to version 25.4.0, the conda-build processing logic is vulnerable to path traversal (Tarslip) attacks due to improper sanitization of tar entry paths. Attackers can craft tar archives containing entries with directory traversal sequences to write files outside the intended extraction directory. This could lead to arbitrary file overwrites, privilege escalation, or code execution if sensitive locations are targeted. This issue has been patched in version 25.4.0.",
    "evidence": "osv:CVE-2025-32799",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-32799",
      "aliases": [
        "CVE-2025-32799",
        "GHSA-h499-pxgj-qh5h"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/conda/conda-build",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "a681cacb1a9354040d110351e2e9753a299ac3cd"
                },
                {
                  "fixed": "bdf5e0022cec9a0c1378cca3f2dc8c92b4834673"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:anaconda:conda-build:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "25.4.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "bdf5e0022cec9a0c1378cca3f2dc8c92b4834673"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.24.0",
            "3.23.3",
            "3.23.2",
            "3.23.1",
            "3.23.0",
            "3.22.0",
            "3.21.9",
            "3.21.8",
            "3.21.7",
            "3.21.6",
            "3.21.5",
            "3.21.4",
            "3.21.3",
            "3.21.1",
            "3.21.0",
            "3.20.5",
            "v3.20.4",
            "3.20.3",
            "3.20.1",
            "3.20.0",
            "3.19.3",
            "3.19.2",
            "3.19.1",
            "3.19.0",
            "3.18.12",
            "3.18.10",
            "3.18.9",
            "3.18.7",
            "3.18.8",
            "3.18.6",
            "3.18.5",
            "3.18.4",
            "3.18.3",
            "3.18.2",
            "3.18.1",
            "3.18.0",
            "3.17.7",
            "3.17.8",
            "3.17.6",
            "3.17.5",
            "3.17.4",
            "3.17.3",
            "3.17.2",
            "3.17.1",
            "3.17.0",
            "3.16.3",
            "3.16.2",
            "3.13.0",
            "3.16.1",
            "3.16.0",
            "3.15.1",
            "3.15.0",
            "3.14.4",
            "3.14.3",
            "3.14.2",
            "3.14.1",
            "3.14.0",
            "3.12.1",
            "3.12.0",
            "3.11.0",
            "3.10.9",
            "3.10.8",
            "3.10.7",
            "3.10.6",
            "3.10.5",
            "3.10.4",
            "3.10.3",
            "3.10.2",
            "3.10.1",
            "3.10.0",
            "3.9.2",
            "3.9.1",
            "3.9.0",
            "3.8.0",
            "3.8.1",
            "3.7.2",
            "3.7.1",
            "3.4.2",
            "3.7.0",
            "3.6.0",
            "3.5.1",
            "3.5.0",
            "3.4.1",
            "3.4.0",
            "3.3.0",
            "3.2.2",
            "3.2.1",
            "3.2.0",
            "3.1.6",
            "3.1.5",
            "3.1.4",
            "3.1.3",
            "3.1.2",
            "3.1.1",
            "3.1.0",
            "3.0.31",
            "3.0.30",
            "3.0.29",
            "3.0.28",
            "3.0.27",
            "3.0.26",
            "3.0.25",
            "3.0.24",
            "3.0.23",
            "3.0.22",
            "3.0.21",
            "3.0.20",
            "3.0.19",
            "3.0.18",
            "3.0.17",
            "3.0.16",
            "3.0.15",
            "3.0.14",
            "3.0.13",
            "3.0.12",
            "3.0.11",
            "3.0.10",
            "3.0.9",
            "3.0.8",
            "3.0.7",
            "3.0.6",
            "3.0.5",
            "3.0.4",
            "3.0.3",
            "3.0.2",
            "3.0.1",
            "3.0.0",
            "3.0.0rc1",
            "3.0.0rc0",
            "3.0.0beta1",
            "3.0.0beta0",
            "3.0.0alpha3",
            "3.0.0alpha2",
            "3.0.0alpha1",
            "2.1.5",
            "2.1.4",
            "2.1.3",
            "2.1.2",
            "2.1.1",
            "2.1.0",
            "2.1.0beta1",
            "2.0.12",
            "2.0.11",
            "2.0.10",
            "2.0.9",
            "2.0.8",
            "2.0.7",
            "2.0.6",
            "2.0.5",
            "2.0.4",
            "2.0.3",
            "2.0.2",
            "2.0.1",
            "2.0.0",
            "2.0.0beta4",
            "2.0.0beta3",
            "2.0.0beta2",
            "1.20.2beta",
            "2.0.0beta",
            "1.20.3",
            "1.20.3beta",
            "1.20.2",
            "1.20.1",
            "1.20.0",
            "1.19.2",
            "1.19.1",
            "1.19.0",
            "1.18.2",
            "1.18.1",
            "1.18.0",
            "1.17.0",
            "1.16.0",
            "1.14.1",
            "1.14.0",
            "1.13.0",
            "1.11.0",
            "1.10.0",
            "1.9.0",
            "1.8.2",
            "1.8.0",
            "1.7.1",
            "1.2.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-32799.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.821604736Z",
      "provider": "osv",
      "references": [
        "https://github.com/conda/conda-build/blob/834448b995eee02cf1c2e7ca97bcfa9affc77ee5/conda_build/convert.py",
        "https://github.com/conda/conda-build/blob/834448b995eee02cf1c2e7ca97bcfa9affc77ee5/conda_build/render.py",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32799.json",
        "https://github.com/conda/conda-build/security/advisories/GHSA-h499-pxgj-qh5h",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-32799",
        "https://github.com/conda/conda-build/commit/bdf5e0022cec9a0c1378cca3f2dc8c92b4834673"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32799.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-32799",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505117,
  "published_at": "2025-06-16T20:23:02.645+00:00"
}