CVE-2025-61731

HIGHPre-NVD 7.87.8
EchelonGraph scoreMEDIUM confidence

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, epss, ghsa
Trending — 4 sources updated this week
7.8EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 1%CVSS: 7.8Exploit: None knownExposed: 0

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.8(medium)
EG Risk
35(Track)
EG Risk 35/100SSVC: Track

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
Severity78% × 45%
Exploitation1% × 40%
Automatability0% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
1%
EPSS %ILE
44%
KEV
Not listed

Published

January 28, 2026

Last Modified

August 26, 2026

Advisory Details (10)

Auto-updated Jul 1, 2026
Patch available. Sources: redhat.
generic

GO-2026-4339 - Go Packages

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

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 / EcosystemFixed in / 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/ovirt-csi-driver-rhel8-operator:17770016452026-05-06redhat
redhatopenshift4/ose-tests-rhel9:17775537592026-05-06redhat
redhatopenshift4/ovirt-csi-driver-rhel9-operator:17769767212026-05-06redhat
redhatopenshift4/ose-vsphere-csi-driver-rhel9:17761686012026-04-22redhat
redhatgo-toolset:rhel8-8060020260409063558.97d7f71f2026-04-13redhat
redhatgo-toolset:rhel8-8040020260408080443.5081a2622026-04-13redhat
redhatgo-toolset:rhel8-8020020260408140623.02f7cb7a2026-04-13redhat
redhatgo-toolset:rhel8-8080020260331223648.6b4b45d82026-04-13redhat
redhatgolang-0:1.17.13-11.el9_02026-04-13redhat
redhatgolang-0:1.21.13-15.el9_42026-04-13redhat
redhatgolang-0:1.19.13-24.el9_22026-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
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
redhatopenshift-service-mesh/istio-rhel9-operator:17742938512026-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 rangeFixed inDependents
golang-1.151.15.15-1 ... 1.15.9-6 (10 versions)
Debian:12(1)
PackageVulnerable rangeFixed inDependents
golang-1.191.19.10-1 ... 1.19.9-1 (12 versions)
Debian:13(1)
PackageVulnerable rangeFixed inDependents
golang-1.241.24.12-1 ... 1.24.9-1 (10 versions)
Debian:14(1)
PackageVulnerable rangeFixed inDependents
golang-1.251.25.0-1, 1.25.0-2, 1.25.1-1, 1.25.2-1, 1.25.3-11.25.6-1
Go(1)
PackageVulnerable rangeFixed inDependents
toolchain1.25.6

Weakness Classification(1)

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

Additional Vendor Advisories

(13)

Data Freshness Timeline

(refreshed 15× in last 7d / 99× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. 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. Most recent first.

Showing the most recent 100 of 211 total refreshes for this CVE.

  1. 2026-08-30 19:16 UTCEPSS rescore
  2. 2026-08-30 01:21 UTCEPSS rescore
  3. 2026-08-28 21:40 UTCEPSS rescore
  4. 2026-08-27 14:24 UTCEPSS rescore
  5. 2026-08-26 16:12 UTCEG score recompute
  6. 2026-08-26 16:12 UTCVendor advisory
  7. 2026-08-26 16:12 UTCGHSA enrichment
  8. 2026-08-26 14:45 UTCEPSS rescore
  9. 2026-08-26 12:23 UTCEG score recompute
  10. 2026-08-26 12:23 UTCVendor advisory
  11. 2026-08-26 12:23 UTCGHSA enrichment
  12. 2026-08-25 13:48 UTCEPSS rescore
  13. 2026-08-25 12:23 UTCEG score recompute
  14. 2026-08-25 12:23 UTCVendor advisory
  15. 2026-08-25 12:22 UTCGHSA enrichment
  16. 2026-08-24 14:16 UTCEPSS rescore
  17. 2026-08-24 13:32 UTCVendor advisory
  18. 2026-08-24 13:32 UTCGHSA enrichment
  19. 2026-08-24 12:28 UTCEG score recompute
  20. 2026-08-24 12:28 UTCVendor advisory
  21. 2026-08-24 12:28 UTCGHSA enrichment
  22. 2026-08-23 00:18 UTCEPSS rescore
  23. 2026-08-21 23:48 UTCEPSS rescore
  24. 2026-08-20 22:55 UTCEPSS rescore
  25. 2026-08-19 17:03 UTCEPSS rescore
Show 75 more
  1. 2026-08-19 12:28 UTCVendor advisory
  2. 2026-08-19 12:28 UTCGHSA enrichment
  3. 2026-08-19 12:12 UTCEG score recompute
  4. 2026-08-19 12:12 UTCVendor advisory
  5. 2026-08-19 12:12 UTCGHSA enrichment
  6. 2026-08-18 13:47 UTCEPSS rescore
  7. 2026-08-18 12:24 UTCEG score recompute
  8. 2026-08-18 12:24 UTCVendor advisory
  9. 2026-08-18 12:23 UTCGHSA enrichment
  10. 2026-08-17 13:46 UTCEPSS rescore
  11. 2026-08-17 12:22 UTCVendor advisory
  12. 2026-08-17 12:22 UTCGHSA enrichment
  13. 2026-08-17 12:14 UTCEG score recompute
  14. 2026-08-17 12:14 UTCVendor advisory
  15. 2026-08-17 12:14 UTCGHSA enrichment
  16. 2026-08-16 14:55 UTCEPSS rescore
  17. 2026-08-16 02:13 UTCEPSS rescore
  18. 2026-08-15 01:30 UTCEPSS rescore
  19. 2026-08-15 01:29 UTCEPSS rescore
  20. 2026-08-15 00:21 UTCVendor advisory
  21. 2026-08-15 00:21 UTCGHSA enrichment
  22. 2026-08-14 11:59 UTCEG score recompute
  23. 2026-08-14 11:59 UTCVendor advisory
  24. 2026-08-14 11:59 UTCGHSA enrichment
  25. 2026-08-13 21:59 UTCEPSS rescore
  26. 2026-08-13 04:05 UTCEG score recompute
  27. 2026-08-13 04:05 UTCVendor advisory
  28. 2026-08-13 04:05 UTCGHSA enrichment
  29. 2026-08-12 13:50 UTCEPSS rescore
  30. 2026-08-11 13:42 UTCEPSS rescore
  31. 2026-08-10 23:59 UTCEPSS rescore
  32. 2026-08-10 13:23 UTCVendor advisory
  33. 2026-08-10 13:22 UTCGHSA enrichment
  34. 2026-08-10 12:28 UTCVendor advisory
  35. 2026-08-10 12:27 UTCGHSA enrichment
  36. 2026-08-10 10:17 UTCVendor advisory
  37. 2026-08-10 10:17 UTCGHSA enrichment
  38. 2026-08-09 16:37 UTCEG score recompute
  39. 2026-08-09 16:37 UTCVendor advisory
  40. 2026-08-09 16:37 UTCGHSA enrichment
  41. 2026-08-09 13:46 UTCEPSS rescore
  42. 2026-08-09 13:46 UTCEPSS rescore
  43. 2026-08-08 16:36 UTCEPSS rescore
  44. 2026-08-07 23:16 UTCEG score recompute
  45. 2026-08-07 23:16 UTCVendor advisory
  46. 2026-08-07 23:16 UTCGHSA enrichment
  47. 2026-08-07 16:26 UTCEPSS rescore
  48. 2026-08-06 13:46 UTCEPSS rescore
  49. 2026-08-06 12:34 UTCVendor advisory
  50. 2026-08-06 12:34 UTCGHSA enrichment
  51. 2026-08-06 04:47 UTCEG score recompute
  52. 2026-08-06 04:47 UTCVendor advisory
  53. 2026-08-06 04:46 UTCGHSA enrichment
  54. 2026-08-05 19:17 UTCEPSS rescore
  55. 2026-08-05 19:17 UTCEPSS rescore
  56. 2026-08-05 13:54 UTCVendor advisory
  57. 2026-08-05 13:53 UTCGHSA enrichment
  58. 2026-08-05 12:46 UTCEG score recompute
  59. 2026-08-05 12:46 UTCVendor advisory
  60. 2026-08-05 12:45 UTCGHSA enrichment
  61. 2026-08-04 15:09 UTCEPSS rescore
  62. 2026-08-04 12:36 UTCEG score recompute
  63. 2026-08-04 12:36 UTCVendor advisory
  64. 2026-08-04 12:36 UTCGHSA enrichment
  65. 2026-08-04 10:37 UTCEPSS rescore
  66. 2026-08-03 13:44 UTCVendor advisory
  67. 2026-08-03 13:44 UTCGHSA enrichment
  68. 2026-08-03 12:50 UTCEG score recompute
  69. 2026-08-03 12:50 UTCVendor advisory
  70. 2026-08-03 12:50 UTCGHSA enrichment
  71. 2026-08-03 10:35 UTCEPSS rescore
  72. 2026-08-02 21:55 UTCEG score recompute
  73. 2026-08-02 21:55 UTCVendor advisory
  74. 2026-08-02 21:55 UTCGHSA enrichment
  75. 2026-08-02 02:26 UTCEPSS rescore

Frequently asked(5)

What is CVE-2025-61731?
CVE-2025-61731 is a high vulnerability 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 CVE-2025-61731 disclosed?
CVE-2025-61731 was first published in the National Vulnerability Database on January 28, 2026, with the most recent update on August 26, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2025-61731 actively exploited?
CVE-2025-61731 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 1% probability of exploitation in the next 30 days, which ranks it in the top 56.0% of all 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?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2025-61731, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

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.