cmd-go up to 1.24.11/1.25.5 on Go File os command injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.4$0-$5k0.00

Summaryinfo

A vulnerability classified as critical has been found in cmd-go up to 1.24.11/1.25.5 on Go. Impacted is an unknown function of the component File Handler. Performing a manipulation results in os command injection. This vulnerability was named CVE-2025-61731. The attack may be initiated remotely. There is no available exploit. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability was found in cmd-go up to 1.24.11/1.25.5 on Go. It has been classified as critical. This affects some unknown processing of the component File Handler. The manipulation with an unknown input leads to a os command injection vulnerability. CWE is classifying the issue as CWE-78. The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

Building a malicious file with cmd/go can cause can cause a write to an attacker-controlled file with partial control of the file content. The "#cgo pkg-config:" directive in a Go source file provides command-line arguments to provide to the Go pkg-config command. An attacker can provide a "--log-file" argument to this directive, causing pkg-config to write to an attacker-controlled location.

This vulnerability is uniquely identified as CVE-2025-61731 since 09/30/2025. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Neither technical details nor an exploit are publicly available. MITRE ATT&CK project uses the attack technique T1202 for this issue.

The vulnerability scanner Nessus provides a plugin with the ID 297011 (SUSE SLES15 Security Update : go1.25-openssl (SUSE-SU-2026:0297-1)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 1.24.12 or 1.25.6 eliminates this vulnerability.

The vulnerability is also documented in the databases at Tenable (297011) and CERT Bund (WID-SEC-2026-0129). If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Affected

  • Red Hat Enterprise Linux
  • Red Hat OpenShift
  • Splunk Splunk Enterprise
  • Dell integrated Dell Remote Access Controller
  • Red Hat Ansible Automation Platform
  • Google Container-Optimized OS
  • Amazon Linux 2
  • SUSE Linux
  • Oracle Linux
  • SUSE openSUSE
  • RESF Rocky Linux
  • IBM App Connect Enterprise
  • Red Hat OpenStack
  • IBM DB2
  • Golang Go
  • Open Source CoreDNS
  • IBM Business Automation Workflow

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.5
VulDB Meta Temp Score: 7.4

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔒
VulDB Reliability: 🔍

ADP CISA Base Score: 7.8
ADP CISA Vector: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Os command injection
CWE: CWE-78 / CWE-77 / CWE-74
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Yes

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 297011
Nessus Name: SUSE SLES15 Security Update : go1.25-openssl (SUSE-SU-2026:0297-1)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: cmd-go 1.24.12/1.25.6

Timelineinfo

09/30/2025 CVE reserved
01/28/2026 +120 days Advisory disclosed
01/28/2026 +0 days VulDB entry created
07/06/2026 +159 days VulDB entry last update

Sourcesinfo

Status: Confirmed

CVE: CVE-2025-61731 (🔒)
GCVE (CVE): GCVE-0-2025-61731
GCVE (VulDB): GCVE-100-343293
CERT Bund: WID-SEC-2026-0129 - Golang Go: Mehrere Schwachstellen

Entryinfo

Created: 01/28/2026 20:46
Updated: 07/06/2026 11:01
Changes: 01/28/2026 20:46 (53), 01/28/2026 22:12 (2), 01/30/2026 15:14 (7), 02/25/2026 09:44 (1), 03/05/2026 13:50 (1), 03/17/2026 22:19 (1), 05/20/2026 18:25 (1), 06/02/2026 13:50 (1), 06/23/2026 13:22 (1), 07/01/2026 01:41 (12), 07/06/2026 11:01 (1)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!