Lucene search
+L

Golang 1.25.x < 1.25.12 / 1.26.x < 1.26.5 Multiple Vulnerabilities

🗓️ 16 Jul 2026 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 2 Views

Golang versions 1.25.x before 1.25.12 and 1.26.x before 1.26.5 have multiple vulnerabilities.

Related
Refs
Code
ReporterTitlePublishedViews
Family
OSV
MINI-RP9M-2749-9FWG
9 Jul 202619:40
osv
OSV
MINI-RPCF-FXV7-G2RW
9 Jul 202620:06
osv
OSV
MINI-RPWC-FQV7-548H
12 Jul 202619:15
osv
OSV
MINI-RPX5-8M6P-5PRG
11 Jul 202613:18
osv
OSV
MINI-RQ55-HHQF-FP94
9 Jul 202620:02
osv
OSV
MINI-RQ8V-XRMC-R3RQ
10 Jul 202619:28
osv
OSV
MINI-RQCM-M8PH-3MRW
10 Jul 202619:28
osv
OSV
MINI-RQGX-6X56-W26X
10 Jul 202608:16
osv
OSV
MINI-RQJ7-22QP-PPG2
11 Jul 202607:44
osv
OSV
MINI-RQPW-6G9P-54PC
11 Jul 202601:27
osv
Rows per page
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(327411);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/07/16");

  script_cve_id("CVE-2026-39822", "CVE-2026-42505");

  script_name(english:"Golang 1.25.x < 1.25.12 / 1.26.x < 1.26.5 Multiple Vulnerabilities");

  script_set_attribute(attribute:"synopsis", value:
"An application installed on the remote host is affected by multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The version of Golang running on the remote host is 1.25.x prior to 1.25.12 or 1.26.x prior to 1.26.5. It is,
therefore, affected by multiple vulnerabilities:

  - On Unix systems, opening a file in an os.Root improperly follows symlinks to locations outside of the Root
    when the final path component of a path is a symbolic link and the path ends in a slash. (CVE-2026-39822)

  - Handshakes which used Encrypted Client Hello could be de-anonymized by a passive network observer due to a
    disclosure of pre-shared key identities in the unencrypted client hello. (CVE-2026-42505)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
  script_set_attribute(attribute:"see_also", value:"https://github.com/golang/go/issues/79005");
  script_set_attribute(attribute:"see_also", value:"https://github.com/golang/go/issues/79282");
  script_set_attribute(attribute:"see_also", value:"https://groups.google.com/g/golang-announce/c/OrmQE_Yp5Sc");
  script_set_attribute(attribute:"solution", value:
"Upgrade to Golang Go version 1.25.12, 1.26.5, or later.");
  script_set_attribute(attribute:"agent", value:"all");
  script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2026-39822");

  script_set_attribute(attribute:"vuln_publication_date", value:"2026/07/07");
  script_set_attribute(attribute:"patch_publication_date", value:"2026/07/07");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/07/16");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:golang:go");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Misc.");

  script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("golang_win_installed.nbin", "golang_macos_installed.nbin");
  script_require_keys("installed_sw/Golang Go Programming Language");

  exit(0);
}

include('vdf.inc');

# @tvdl-content
var vuln_data = {
  'metadata': {'spec_version': '1.0'},
  'checks': [
    {
      'product': {'name': 'Golang Go Programming Language', 'type': 'app'},
      'check_algorithm': 'default',
      'constraints': [
        {'min_version': '1.25.0', 'fixed_version': '1.25.12'},
        {'min_version': '1.26.0', 'fixed_version': '1.26.5'}
      ]
    }
  ]
};

var result = vdf::check_and_report(vuln_data:vuln_data, severity:SECURITY_WARNING);
vdf::handle_check_and_report_errors(vdf_result:result);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

16 Jul 2026 00:00Current
6.2Medium risk
Vulners AI Score6.2
CVSS 3.17.8
EPSS0.00413
SSVC
2