Skip to content
VulniPulse
Critical 4 vendors · 5 advisories

CVE-2025-61731: Arbitrary file write using cgo pkg-config directive in cmd/go

CVE-2025-61731 key facts

CISA KEV
Not listed (catalogue checked )
Highest advisory rating
Critical
CVSS base score
8.6 (Red Hat)
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · base score 7.8, scored by CISA-ADPAttack vector: local. Attack complexity: low. Privileges required: low. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.
Weakness
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
EPSS
0.59% chance of exploitation in the next 30 days (48th percentile). FIRST EPSS, .
CISA SSVC
Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
Fixed releases
  • Red Hat: RHSA-2026:5948
Vendor advisories
5 from NetApp, Red Hat, Splunk, Veeam
Assigned by
Go (CNA)
CVE record published
Listed by VulniPulse
Record changed

Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2025-61731; each belongs to its advisory, not to every product listed. How records are collected and checked.

Am I affected by CVE-2025-61731?

You are affected if you run Red Hat Enterprise Linux 10.0 Extended Update Support, Red Hat Enterprise Linux 8.2 Advanced Update Support, Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support at one of the versions below. If you do, upgrade to the fixed release listed for your version.

AffectedFixed in
Red Hat: openshift4/ose-csi-livenessprobe-rhel8:1776999947No fixed release on this branch listed by the vendor
Red Hat: openshift4/ose-csi-external-snapshotter-rhel8:1776999951No fixed release on this branch listed by the vendor
Red Hat: openshift4/ose-prometheus-node-exporter-rhel9:1774294099No fixed release on this branch listed by the vendor
Red Hat: openshift4/oc-mirror-plugin-rhel9:1776961082No fixed release on this branch listed by the vendor
Red Hat: openshift4/ose-azure-file-csi-driver-operator-rhel9:1773363768No fixed release on this branch listed by the vendor
Red Hat: openshift4/ose-multus-route-override-cni-rhel8:1777001628No fixed release on this branch listed by the vendor
Red Hat: openshift4/ose-tests:1777002345No fixed release on this branch listed by the vendor
Red Hat: openshift4/ose-hypershift-rhel8:1777001784No fixed release on this branch listed by the vendor
Red Hat: openshift4/ose-azure-disk-csi-driver-rhel9-operator:1779250039No fixed release on this branch listed by the vendor
Red Hat: openshift4/ose-cluster-openshift-apiserver-rhel9-operator:1772166718No fixed release on this branch listed by the vendor
Red Hat: openshift4/ose-hyperkube-rhel9:1776976992No fixed release on this branch listed by the vendor
Red Hat: openshift4/ose-alibaba-machine-controllers-rhel8:1777001647No fixed release on this branch listed by the vendor

Also listed as fixed: Red Hat: RHSA-2026:5948

Description

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.

Text from the CVE.org record (Go).

How do I fix CVE-2025-61731?

Upgrade to a fixed release named by the vendor:

  • Red Hat: RHSA-2026:5948
  • Update the affected package(s) to the fixed version shipped in RHSA-2026:5948 (`sudo dnf update` / `yum update`). (Red Hat)

Vendor advisories for CVE-2025-61731

NetApp

1 advisory
  • Advisory severityHigh7.8

    High [CVE-2025-61728 +3] January 2026 Golang Vulnerabilities in NetApp Products

    NTAP-20260703-0006Source published Source updated

    This bulletin covers 4 CVEs. The products, versions, score and guidance below describe the bulletin; check its source for applicability to this specific CVE.

    Golang versions prior to 1.24.12 and 1.25.0 prior to 1.25.6 are susceptible to vulnerabilities which when successfully exploited could lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS). ONTAP tools for VMware vSphere 10: Affected only by CVE-2025-61730. Affected products: Astra Control Center. NetApp reports that one or more additional products remain under investigation; review the canonical advisory for current status. NetApp states there is no workaround available at this time.

    Affected products in this advisory
    • Astra Control Center
    Source-reported affected versions
    • 1.24.12
    • 1.25.0
    • 1.25.6
    Source-reported fixed versions
    No fixed-version detail extracted. This does not mean no fix exists.
    Mitigation guidance
    • Astra Control Center has no planned fix; migrate to a supported release or product and consult NetApp's end-of-support notice.

Red Hat

1 advisory
  • Advisory severityHigh8.6

    High [CVE-2025-61731] Arbitrary file write via malicious pkg-config directive

    CVE-2025-61731Source published

    Arbitrary file write via malicious pkg-config directive. Red Hat rates this important (CVSS 8.6). Weakness: CWE-88. Affected package(s): openshift4/ose-csi-livenessprobe-rhel8:1776999947, openshift4/ose-csi-external-snapshotter-rhel8:1776999951, openshift4/ose-prometheus-node-exporter-rhel9:1774294099, openshift4/oc-mirror-plugin-rhel9:1776961082, openshift4/ose-azure-file-csi-driver-operator-rhel9:1773363768, openshift4/ose-multus-route-override-cni-rhel8:1777001628. Resolved in Red Hat advisory RHSA-2026:5948 — update the affected packages (`sudo dnf update`).

    Affected products in this advisory
    • Red Hat Enterprise Linux 10.0 Extended Update Support
    • Red Hat Enterprise Linux 8.2 Advanced Update Support
    • Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
    • Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

    24 more entries in the full advisory.

    Source-reported affected versions
    • openshift4/ose-csi-livenessprobe-rhel8:1776999947
    • openshift4/ose-csi-external-snapshotter-rhel8:1776999951
    • openshift4/ose-prometheus-node-exporter-rhel9:1774294099
    • openshift4/oc-mirror-plugin-rhel9:1776961082

    8 more entries in the full advisory.

    Source-reported fixed versions
    • RHSA-2026:5948
    Mitigation guidance
    • Update the affected package(s) to the fixed version shipped in RHSA-2026:5948 (`sudo dnf update` / `yum update`).

Splunk

2 advisories
  • Advisory severityCritical

    Critical [CVE-2025-61726 +79] Third-Party Package Updates in Splunk Enterprise - November 2026

    SVD-2026-1104Source published

    This bulletin covers 80 CVEs. The products, versions, score and guidance below describe the bulletin; check its source for applicability to this specific CVE.

    Splunk remedied common vulnerabilities and exposures (CVEs) in third-party packages in Splunk Enterprise versions 10.6.1, 10.4.5, 10.2.9, 10.0.12, and 9.4.17 or higher. Affected products named by the advisory: Splunk Enterprise 10.6; Splunk Enterprise 10.4; Splunk Enterprise 10.2; Splunk Enterprise 10.0; and 1 more. Affected products named by the advisory: Splunk Enterprise 9.4.

    Affected products in this advisory
    • Splunk Enterprise 10.6
    • Splunk Enterprise 10.4
    • Splunk Enterprise 10.2
    • Splunk Enterprise 10.0

    1 more entries in the full advisory.

    Source-reported affected versions
    • Splunk Enterprise 10.6.0.5
    • Splunk Enterprise 10.4.0 to 10.4.4
    • Splunk Enterprise 10.2.0 to 10.2.8
    • Splunk Enterprise 10.0.0 to 10.0.11

    1 more entries in the full advisory.

    Source-reported fixed versions
    • Splunk Enterprise 10.6.1
    • Splunk Enterprise 10.4.5
    • Splunk Enterprise 10.2.9
    • Splunk Enterprise 10.0.12

    1 more entries in the full advisory.

    Mitigation guidance
    • Upgrade Splunk Enterprise to an applicable fixed release identified in the OSS entries below. The listed versions contain different component updates; the details specify which releases contain each fix.
  • Advisory severityCritical

    Critical [CVE-2025-61726 +30] Third-Party Package Updates in Splunk Enterprise - October 2026

    SVD-2026-1009Source published

    This bulletin covers 31 CVEs. The products, versions, score and guidance below describe the bulletin; check its source for applicability to this specific CVE.

    Splunk remedied common vulnerabilities and exposures (CVEs) in third-party packages in Splunk Enterprise versions 10.4.4, 10.2.8, 10.0.11, and 9.4.16 or higher. Affected products named by the advisory: Splunk Enterprise 10.4; Splunk Enterprise 10.2; Splunk Enterprise 10.0; Splunk Enterprise 9.4.

    Affected products in this advisory
    • Splunk Enterprise 10.4
    • Splunk Enterprise 10.2
    • Splunk Enterprise 10.0
    • Splunk Enterprise 9.4
    Source-reported affected versions
    • Splunk Enterprise 10.4.0 to 10.4.3
    • Splunk Enterprise 10.2.0 to 10.2.7
    • Splunk Enterprise 10.0.0 to 10.0.10
    • Splunk Enterprise 9.4.0 to 9.4.15
    Source-reported fixed versions
    • Splunk Enterprise 10.4.4
    • Splunk Enterprise 10.2.8
    • Splunk Enterprise 10.0.11
    • Splunk Enterprise 9.4.16
    Mitigation guidance
    • Upgrade Splunk Enterprise to versions 10.4.4, 10.2.8, 10.0.11, and 9.4.16 or higher.

Veeam

1 advisory
  • Advisory severityCritical

    Critical [CVE-2020-14040 +123] List of Security Fixes and Improvements in Veeam Kasten for Kubernetes

    KB4825Source published

    This bulletin covers 124 CVEs. The products, versions, score and guidance below describe the bulletin; check its source for applicability to this specific CVE.

    List of Security Fixes and Improvements in Veeam Kasten for Kubernetes KB ID: 4825 Product: Kasten K10 by Veeam | 3 | 5 | 5.5 | 6 | 6.5 Published: 2026-03-02 Last Modified: Purpose This article aims to provide our customers' security and compliance teams with detailed information on security improvements. - Veeam Kasten for Kubernetes — Release Notes - Improved the protection of credentials used by block mode data mover operations and file recovery sessions. - Hardened the FileRecoverySession CR and file recovery pod with stricter input validation, restrictive mount options and a read-only SFTP service. - Passwords in proxy URLs are now masked in logs and the support bundle. - The multi-cluster proxy no longer forwards the caller's session and authentication credentials to secondary…

    Affected products in this advisory
    • Veeam Kasten for Kubernetes
    Source-reported affected versions
    Affected-version details not available in this record.
    Source-reported fixed versions
    • 8.5.10
    • 8.5.5
    • 1.26.1
    • 8.5.3

    20 more entries in the full advisory.

    Mitigation guidance
    • List of Security Fixes and Improvements in Veeam Kasten for Kubernetes KB ID: 4825 Product: Veeam Kasten for Kubernetes | 7 | 7.5 | 8 | 8.5 | 9 Kasten K10 by Veeam | 3 | 5 | 5.5 | 6 | 6.5 Published: 2026-03-02 Last Modified: 2026-11-16 Purpose This article describes all security-related fixes and improvements introduced in each release or update of Veeam Kasten for Kubernetes.
    • It is recommended to upgrade Veeam Kasten and to refresh the token by manually logging out.
    • Mitigation: Configure a bucket-level Default Object Lock retention so the object store stamps new objects at write time, or upgrade to Kasten 8.5.10.
    • Veeam Kasten for Kubernetes 8.5.5 Upgrade to Go 1.26.1 to address CVE-2026-25679 and CVE-2026-27142 Updated the UBI base image to address CVE-2026-4111 Veeam Kasten for Kubernetes 8.5.3 Upgrade to Go 1.25.7 to address CVE-2025-61732.

    4 more entries in the full advisory.

    Workarounds
    • Improved the protection of credentials used by block mode data mover operations and file recovery sessions.
    • Veeam Kasten for Kubernetes 8.0.14 Improved logging security for specific block mode datamover upload Pod invocations.

References

Timeline

  1. First vendor advisory listed by VulniPulse
  2. CVE record published
  3. CVE record last updated

All NetApp advisories

Get an email when NetApp publishes the next one.

See NetApp's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro.

Alert me about NetApp