cmd-go up to 1.24.11/1.25.5 on Go File os command injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.4 | $0-$5k | 0.00 |
Summary
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.
Details
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
Product
Name
Version
- 1.24.0
- 1.24.1
- 1.24.2
- 1.24.3
- 1.24.4
- 1.24.5
- 1.24.6
- 1.24.7
- 1.24.8
- 1.24.9
- 1.24.10
- 1.24.11
- 1.25.0
- 1.25.1
- 1.25.2
- 1.25.3
- 1.25.4
- 1.25.5
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.5VulDB 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: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Os command injectionCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 297011
Nessus Name: SUSE SLES15 Security Update : go1.25-openssl (SUSE-SU-2026:0297-1)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: cmd-go 1.24.12/1.25.6
Timeline
09/30/2025 CVE reserved01/28/2026 Advisory disclosed
01/28/2026 VulDB entry created
07/06/2026 VulDB entry last update
Sources
Status: ConfirmedCVE: CVE-2025-61731 (🔒)
GCVE (CVE): GCVE-0-2025-61731
GCVE (VulDB): GCVE-100-343293
CERT Bund: WID-SEC-2026-0129 - Golang Go: Mehrere Schwachstellen
Entry
Created: 01/28/2026 20:46Updated: 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.
No comments yet. Languages: en.
Please log in to comment.