CVE-2025-61731

HIGHPre-NVD 7.87.8
EchelonGraph scoreMEDIUM confidence

“—” beside the score: it is equal to the CVSS score beside it.

Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2026-01-28. CISA-ADP (Vulnrichment) CVSS v3.1 baseline 7.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: CISA-ADP (Vulnrichment) CVSS v3.1, EPSS, GitHub Security Advisory
7.8EG
EchelonGraph verdictPlan a fixRemediate within your standard update timelines (the SSVC decision on this page).
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0.6%CVSS: 7.8Exploit: None knownExposed services: Not assessed

A fix is available — apply it.

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.

CVSS v3
7.8
EG Score
7.8HIGHmedium confidence
EG Risk
35
EG Risk 35/100

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed (value × EchelonGraph’s weight)
Severity78% × 45%
The EG Score, 7.8 of 10.
Exploitation0.6% × 40%
FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.
Automatability0% × 15%
CISA's SSVC Automatable value: no (Vulnrichment).
SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Track* at high (mission-essential systems).
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: A fix is available. Apply it within your standard update timelines.
EPSS PROB
0.6%
EPSS %ILE
48th
KEV
Not listed

SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Track* at high (mission-essential systems).

A fix is available. Apply it within your standard update timelines.

Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.

In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

Published

January 28, 2026

Last Modified

September 10, 2026

Advisory Details (10)

Auto-updated Jul 1, 2026
Patch available. Sources: redhat.
Red HatMentions a patch (unverified)
https://access.redhat.com/errata/RHSA-2026:15091
Red HatMentions a patch (unverified)
https://access.redhat.com/errata/RHSA-2026:14774
Red HatMentions a patch (unverified)
https://access.redhat.com/errata/RHSA-2026:14100
Red HatMentions a patch (unverified)
https://access.redhat.com/errata/RHSA-2026:13736
Red HatMentions a patch (unverified)
https://access.redhat.com/errata/RHSA-2026:12282
Red HatMentions a patch (unverified)
https://access.redhat.com/errata/RHSA-2026:12118
Web page

GO-2026-4339 - Go Packages

https://pkg.go.dev/vuln/GO-2026-4339
Web page

cmd/go: bypass of flag sanitization can lead to arbitrary code execution (CVE-2025-61731) · Issue #77100 · golang/go · GitHub

https://go.dev/issue/77100

Patch Availability(30)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
redhatopenshift4/ovirt-csi-driver-rhel8-operator:17798896282026-06-04redhat
redhatopenshift4/ovirt-csi-driver-rhel9-operator:17792545412026-05-29redhat
redhatopenshift4/ovirt-csi-driver-rhel9-operator:17787102152026-05-20redhat
redhatopenshift4/ovirt-csi-driver-rhel9:17774781342026-05-13redhat
redhatopenshift4/ovirt-csi-driver-rhel8-operator:17779975442026-05-12redhat
redhatopenshift4/ose-tests:17781731822026-05-08redhat
redhatopenshift4/ose-tests-rhel9:17775537592026-05-06redhat
redhatopenshift4/ovirt-csi-driver-rhel8-operator:17770016452026-05-06redhat
redhatopenshift4/ovirt-csi-driver-rhel9-operator:17769767212026-05-06redhat
redhatopenshift4/ose-vsphere-csi-driver-rhel9:17761686012026-04-22redhat
redhatgolang-0:1.17.13-11.el9_02026-04-13redhat
redhatgo-toolset:rhel8-8060020260409063558.97d7f71f2026-04-13redhat
redhatgolang-0:1.19.13-24.el9_22026-04-13redhat
redhatgo-toolset:rhel8-8080020260331223648.6b4b45d82026-04-13redhat
redhatgolang-0:1.21.13-15.el9_42026-04-13redhat
redhatgo-toolset:rhel8-8020020260408140623.02f7cb7a2026-04-13redhat
redhatgo-toolset:rhel8-8040020260408080443.5081a2622026-04-13redhat
redhatgolang1-25-main-1.25.9-1.hum12026-04-10redhat
redhatgolang1-26-main-1.26.2-1.hum12026-04-09redhat
redhatgo-toolset:rhel8-8100020260402232122.a3795dee2026-04-08redhat
redhatopenshift4/ovirt-csi-driver-rhel9-operator:17742944982026-04-01redhat
redhatopenshift-service-mesh/istio-rhel9-operator:17742938512026-03-26redhat
redhatgolang-0:1.25.8-1.el10_02026-03-26redhat
redhatgolang-0:1.25.8-1.el9_72026-03-26redhat
redhatgolang-0:1.25.8-1.el10_12026-03-26redhat
redhatgolang-0:1.25.8-1.el9_62026-03-26redhat
redhatopenshift-service-mesh/istio-rhel9-operator:17742948092026-03-26redhat
redhatopenshift-service-mesh/istio-rhel9-operator:17742943722026-03-26redhat
redhatopenshift4/ose-vsphere-csi-driver-rhel9:17727535482026-03-25redhat
redhatopenshift4/ovirt-csi-driver-rhel9-operator:17721673352026-03-18redhat

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(5 across 5 ecosystems)
Debian:11(1)
PackageVulnerable rangeFix by version rangeDependents
golang-1.151.15.15-1 ... 1.15.9-6 (10 versions)
  • every version on: no fix on record
—
Debian:12(1)
PackageVulnerable rangeFix by version rangeDependents
golang-1.191.19.10-1 ... 1.19.9-1 (12 versions)
  • every version on: no fix on record
—
Debian:13(1)
PackageVulnerable rangeFix by version rangeDependents
golang-1.241.24.12-1 ... 1.24.9-1 (10 versions)
  • every version on: no fix on record
—
Debian:14(1)
PackageVulnerable rangeFix by version rangeDependents
golang-1.251.25.0-1, 1.25.0-2, 1.25.1-1, 1.25.2-1, 1.25.3-1
  • every version up to 1.25.6-1: fixed in 1.25.6-1
—
Go(1)
PackageVulnerable rangeFix by version rangeDependents
toolchain—
  • every version up to 1.24.12: fixed in 1.24.12
  • 1.25.0 up to 1.25.6: fixed in 1.25.6
—

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Additional Vendor Advisories

(14)

Data Freshness Timeline

(refreshed 11× in last 7d / 30× in last 30d)

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.

Showing the most recent 97 of 263 refreshes on record for this CVE.

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 3 repeat rows among the latest 100 are merged into the row they repeat. The 166 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

  1. 2026-10-15 16:31 UTCEPSS rescoreEPSS 0.6% · 48th percentile
  2. 2026-10-14 16:31 UTCEPSS rescoreEPSS 0.6% · 48th percentile
  3. 2026-10-13 16:33 UTCEPSS rescoreEPSS 0.6% · 48th percentile
  4. 2026-10-12 16:52 UTCEG score recompute
  5. 2026-10-12 16:33 UTCEPSS rescoreEPSS 0.6% · 48th percentile
  6. 2026-10-11 20:26 UTCEG score recompute
  7. 2026-10-11 18:38 UTCEG score recompute
  8. 2026-10-11 15:13 UTCEG score recompute
  9. 2026-10-11 13:47 UTCEPSS rescoreEPSS 0.6% · 48th percentile
  10. 2026-10-10 19:59 UTCEPSS rescoreEPSS 0.6% · 48th percentile
  11. 2026-10-09 20:06 UTCEPSS rescoreEPSS 0.6% · 48th percentile
  12. 2026-10-08 17:10 UTCEPSS rescoreEPSS 0.6% · 48th percentile
  13. 2026-10-07 23:47 UTCEPSS rescoreEPSS 0.6% · 48th percentile
  14. 2026-10-06 15:17 UTCEPSS rescoreEPSS 0.6% · 47th percentile
  15. 2026-10-05 17:42 UTCEPSS rescoreEPSS 0.6% · 47th percentile
  16. 2026-10-04 23:21 UTCEPSS rescoreEPSS 0.6% · 47th percentile
  17. 2026-10-03 14:25 UTCEPSS rescoreEPSS 0.6% · 47th percentile
  18. 2026-10-01 19:49 UTCEPSS rescoreEPSS 0.6% · 47th percentile
  19. 2026-09-30 15:02 UTCEPSS rescoreEPSS 0.6% · 47th percentile
  20. 2026-09-29 19:33 UTCOSV refresh
  21. 2026-09-29 15:20 UTCEPSS rescoreEPSS 0.6% · 47th percentile
  22. 2026-09-28 13:50 UTCEPSS rescoreEPSS 0.6% · 47th percentile
  23. 2026-09-26 15:58 UTCEPSS rescoreEPSS 0.6% · 47th percentile
  24. 2026-09-24 14:02 UTCEPSS rescoreEPSS 0.6% · 44th percentile
  25. 2026-09-23 13:47 UTCEPSS rescoreEPSS 0.6% · 45th percentile
Show 72 more
  1. 2026-09-20 20:15 UTCEPSS rescoreEPSS 0.6% · 45th percentile
  2. 2026-09-19 15:42 UTCEPSS rescoreEPSS 0.6% · 45th percentile
  3. 2026-09-18 19:27 UTCEPSS rescoreEPSS 0.6% · 45th percentile
  4. 2026-09-17 19:30 UTCEPSS rescoreEPSS 0.6% · 45th percentile
  5. 2026-09-16 14:07 UTCEPSS rescoreEPSS 0.6% · 45th percentile
  6. 2026-09-15 03:10 UTCEPSS rescoreEPSS 0.6% · 44th percentile
  7. 2026-09-13 16:46 UTCEPSS rescoreEPSS 0.6% · 44th percentile
  8. 2026-09-12 15:00 UTCEPSS rescoreEPSS 0.6% · 44th percentile
  9. 2026-09-11 14:52 UTCEPSS rescoreEPSS 0.6% · 44th percentile
  10. 2026-09-11 09:36 UTCEPSS rescoreEPSS 0.6% · 44th percentile
  11. 2026-09-10 13:23 UTCVendor advisory
  12. 2026-09-10 13:23 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
  13. 2026-09-10 12:28 UTCEG score recompute
  14. 2026-09-10 12:28 UTCVendor advisory
  15. 2026-09-10 12:28 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
  16. 2026-09-10 09:34 UTCEPSS rescoreEPSS 0.6% · 44th percentile
  17. 2026-09-09 12:41 UTCEG score recompute
  18. 2026-09-09 12:41 UTCVendor advisory
  19. 2026-09-09 12:41 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
  20. 2026-09-08 22:00 UTCEPSS rescoreEPSS 0.6% · 44th percentile
  21. 2026-09-07 16:00 UTCEPSS rescoreEPSS 0.6% · 44th percentile
  22. 2026-09-07 14:05 UTCEG score recompute
  23. 2026-09-07 14:05 UTCVendor advisory
  24. 2026-09-07 14:04 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
  25. 2026-09-06 13:47 UTCEPSS rescoreEPSS 0.6% · 44th percentile
  26. 2026-09-04 05:06 UTCEPSS rescoreEPSS 0.6% · 44th percentile
  27. 2026-09-02 14:11 UTCEPSS rescoreEPSS 0.6% · 44th percentile
  28. 2026-09-01 13:53 UTCEPSS rescoreEPSS 0.6% · 43rd percentile
  29. 2026-08-30 19:16 UTCEPSS rescoreEPSS 0.6% · 43rd percentile
  30. 2026-08-30 01:21 UTCEPSS rescoreEPSS 0.6% · 43rd percentile
  31. 2026-08-28 21:40 UTCEPSS rescoreEPSS 0.6% · 43rd percentile
  32. 2026-08-27 14:24 UTCEPSS rescoreEPSS 0.6% · 43rd percentile
  33. 2026-08-26 16:12 UTCEG score recompute
  34. 2026-08-26 16:12 UTCVendor advisory
  35. 2026-08-26 16:12 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
  36. 2026-08-26 14:45 UTCEPSS rescoreEPSS 0.5% · 42nd percentile
  37. 2026-08-26 12:23 UTCEG score recompute
  38. 2026-08-26 12:23 UTCVendor advisory
  39. 2026-08-26 12:23 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
  40. 2026-08-25 13:48 UTCEPSS rescoreEPSS 0.5% · 42nd percentile
  41. 2026-08-25 12:23 UTCEG score recompute
  42. 2026-08-25 12:23 UTCVendor advisory
  43. 2026-08-25 12:22 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
  44. 2026-08-24 14:16 UTCEPSS rescoreEPSS 0.5% · 42nd percentile
  45. 2026-08-24 13:32 UTCVendor advisory
  46. 2026-08-24 13:32 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
  47. 2026-08-24 12:28 UTCEG score recompute
  48. 2026-08-24 12:28 UTCVendor advisory
  49. 2026-08-24 12:28 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
  50. 2026-08-23 00:18 UTCEPSS rescoreEPSS 0.5% · 42nd percentile
  51. 2026-08-21 23:48 UTCEPSS rescoreEPSS 0.5% · 42nd percentile
  52. 2026-08-20 22:55 UTCEPSS rescoreEPSS 0.5% · 42nd percentile
  53. 2026-08-19 17:03 UTCEPSS rescoreEPSS 0.5% · 42nd percentile
  54. 2026-08-19 12:28 UTCVendor advisory
  55. 2026-08-19 12:28 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
  56. 2026-08-19 12:12 UTCEG score recompute
  57. 2026-08-19 12:12 UTCVendor advisory
  58. 2026-08-19 12:12 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
  59. 2026-08-18 13:47 UTCEPSS rescoreEPSS 0.5% · 42nd percentile
  60. 2026-08-18 12:24 UTCEG score recompute
  61. 2026-08-18 12:24 UTCVendor advisory
  62. 2026-08-18 12:23 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
  63. 2026-08-17 13:46 UTCEPSS rescoreEPSS 0.5% · 42nd percentile
  64. 2026-08-17 12:22 UTCVendor advisory
  65. 2026-08-17 12:22 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
  66. 2026-08-17 12:14 UTCEG score recompute
  67. 2026-08-17 12:14 UTCVendor advisory
  68. 2026-08-17 12:14 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
  69. 2026-08-16 14:55 UTCEPSS rescoreEPSS 0.5% · 42nd percentile
  70. 2026-08-16 02:13 UTCEPSS rescoreEPSS 0.5% · 42nd percentile
  71. 2026-08-15 01:29 UTCEPSS rescoreEPSS 0.5% · 42nd percentile
  72. 2026-08-15 00:21 UTCVendor advisory

Frequently asked(5)

What is CVE-2025-61731?
CVE-2025-61731 is a high-severity vulnerability; its CVE record was published on January 28, 2026. 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…
When was the CVE record for CVE-2025-61731 published?
The CVE record for CVE-2025-61731 was published on January 28, 2026. That is the record's publication date; the vulnerability itself may have been made public earlier. EchelonGraph's copy of the record carries a last-modified date of September 10, 2026; the record at its source may have been updated since.
Is CVE-2025-61731 actively exploited?
CVE-2025-61731 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0.6% probability of exploitation in the next 30 days (48th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2025-61731?
CVE-2025-61731 has a CVSS v3.1 base score of 7.8 (CISA-ADP / Vulnrichment enrichment; NVD's own analysis pending).
How do I remediate CVE-2025-61731?
A fix for CVE-2025-61731 is available: update to the fixed version the vendor names in its advisory. The vendor advisories EchelonGraph has for CVE-2025-61731 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-61731

Explore →

Is Your Infrastructure Affected by CVE-2025-61731?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.