{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.25.10"
              },
              {
                "introduced": "1.26.0"
              },
              {
                "fixed": "1.26.3"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5053df5b6ff006dfc96df442fddddee49f5250eb"
            },
            {
              "introduced": "d90b98e65320778f3b1f99a6951ab20f04d218b3"
            },
            {
              "fixed": "2dc996f71b0ebafb77e64433e58333e049488a3c"
            }
          ],
          "repo": "https://github.com/golang/go",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Go",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39819.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "fixed": "1.25.10"
          },
          {
            "introduced": "1.26.0-0"
          },
          {
            "fixed": "1.26.3"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "The \"go bug\" command writes to two files with predictable names in the system temporary directory (for example, \"/tmp\"). An attacker with access to the temporary directory can create a symlink in one of these names, causing \"go bug\" to overwrite the target of the symlink.",
  "id": "CVE-2026-39819",
  "modified": "2026-07-08T05:39:11.139701514Z",
  "published": "2026-05-07T19:41:18.849Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://go.dev/cl/763882"
    },
    {
      "type": "WEB",
      "url": "https://go.dev/issue/78584"
    },
    {
      "type": "WEB",
      "url": "https://groups.google.com/g/golang-announce/c/qcCIEXso47M"
    },
    {
      "type": "WEB",
      "url": "https://pkg.go.dev"
    },
    {
      "type": "WEB",
      "url": "https://pkg.go.dev/vuln/GO-2026-4978"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39819.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-39819"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Invoking \"go bug\" follows symlinks in predictable temporary filenames in cmd/go"
}