← Back to CVE Explorer

CVE-2026-12565

Full vulnerability record from the local CVENow database.

Description

The unarchive internal module's archive extraction commands perform no code-level validation on extracted file paths, relying entirely on the behavior of external tools (e.g. GNU tar) which varies by platform. While CVE-2025-10284 addressed git-specific RCE vectors, the underlying archive extraction path traversal was never fixed. On systems with GNU tar < 1.34 (Ubuntu 20.04, Debian Buster, CentOS 7, many Docker base images), a malicious archive can write files outside the intended extraction directory.

Severity
MEDIUM
CVSS score
5.3 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-06-17 23:17:02.970000
Last modified
2026-10-23 23:10:00.157000
View original CVE JSON
{
  "id": "CVE-2026-12565",
  "sourceIdentifier": "[email protected]",
  "published": "2026-06-17T23:17:02.970",
  "lastModified": "2026-10-23T23:10:00.157",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "The unarchive internal module's archive extraction commands perform no code-level validation on extracted file paths, relying entirely on the behavior of external tools (e.g. GNU tar) which varies by platform. While CVE-2025-10284 addressed git-specific RCE vectors, the underlying archive extraction path traversal was never fixed. On systems with GNU tar < 1.34 (Ubuntu 20.04, Debian Buster, CentOS 7, many Docker base images), a malicious archive can write files outside the intended extraction directory."
    },
    {
      "lang": "es",
      "value": "Los comandos de extracción de archivos del módulo interno unarchive no realizan ninguna validación a nivel de código en las rutas de archivo extraídas, dependiendo completamente del comportamiento de herramientas externas (por ejemplo, GNU tar) que varía según la plataforma. Si bien CVE-2025-10284 abordó vectores de RCE específicos de git, el salto de ruta subyacente en la extracción de archivos nunca se solucionó. En sistemas con GNU tar anterior a 1.34 (Ubuntu 20.04, Debian Buster, CentOS 7, muchas imágenes base de Docker), un archivo malicioso puede escribir archivos fuera del directorio de extracción previsto."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "Black Lantern Security",
          "product": "BBOT",
          "defaultStatus": "unaffected",
          "repo": "https://github.com/blacklanternsecurity/bbot",
          "versions": [
            {
              "version": "2.3.1",
              "lessThanOrEqual": "<=2.8.4",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N",
          "baseScore": 5.3,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "HIGH",
          "privilegesRequired": "NONE",
          "userInteraction": "REQUIRED",
          "scope": "UNCHANGED",
          "confidentialityImpact": "NONE",
          "integrityImpact": "HIGH",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 1.6,
        "impactScore": 3.6
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-06-18T12:50:54.389353Z",
          "id": "CVE-2026-12565",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-22"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/blacklanternsecurity/bbot/commit/4fb38fd6e",
      "source": "[email protected]"
    }
  ]
}