CVE-2025-61731 Affecting logstash-9.2-compat package, versions <9.2.3-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.01% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-LOGSTASH92COMPAT-15166209
  • published1 Feb 2026
  • disclosed28 Jan 2026

Introduced: 28 Jan 2026

NewCVE-2025-61731  (opens in a new tab)

How to fix?

Upgrade Minimos:latest logstash-9.2-compat to version 9.2.3-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream logstash-9.2-compat package and not the logstash-9.2-compat package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

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 Base Scores

version 3.1