BreachSpiderVerified, not vibes

CVE-2026-39817 in Golang Go

Medium 5.9

The "go tool pack" subcommand (usually used only by the compiler as an internal tool with known-good inputs) does not sanitize output filenames. Extracting a malicious archive file with the "pack" subcommand can write files to arbitrary locations on the filesystem.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.15.9
EPSS0.2%
EPSS percentile3th
FixUnknown

Requires local access, low complexity, low privileges required, requires user interaction, can impact systems beyond the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Golang Go < 1.25.10 ≥ 1.26.0, < 1.26.3

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

The "go tool pack" subcommand (usually used only by the compiler as an internal tool with known-good inputs) does not sanitize output filenames. Extracting a malicious archive file with the "pack" subcommand can write files to arbitrary locations on the filesystem.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-39817
BreachSpider IDBS-2026-GLOBAL-151790-M
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
Published2026-05-07
Last modified2026-11-11
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-787: Out-of-Bounds Write

Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.

Analysis AI-written, not human-reviewed

CVE-2026-39817 affects the 'go tool pack' subcommand in the Go programming language, allowing for arbitrary file writes due to unsanitized output filenames when extracting malicious archive files.

An attacker can craft a malicious archive file that, when processed by the 'go tool pack' subcommand, can write files to arbitrary locations on the filesystem, potentially leading to code execution or data corruption.

Questions

What is CVE-2026-39817?

CVE-2026-39817 affects the 'go tool pack' subcommand in the Go programming language, allowing for arbitrary file writes due to unsanitized output filenames when extracting malicious archive files.

What is the CVSS score for CVE-2026-39817?

CVE-2026-39817 has CVSS 5.9 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N. EPSS: 0.2%.

Is CVE-2026-39817 actively exploited?

No confirmed active exploitation of CVE-2026-39817 as of 2026-11-12.

How do I remediate CVE-2026-39817?

Priority: MEDIUM. PSIRT: [email protected]

What systems are affected by CVE-2026-39817?

CVE-2026-39817 affects Golang Go.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Golang","product":"Go","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-11.