What’s Vulnerable › Vulnerabilities

CVE-2025-14946: Libnbd: libnbd: arbitrary code execution via ssh argument injection through a malicious uri

Description

A flaw was found in libnbd. A malicious actor could exploit this by convincing libnbd to open a specially crafted Uniform Resource Identifier (URI). This vulnerability arises because non-standard hostnames starting with '-o' are incorrectly interpreted as arguments to the Secure Shell (SSH) process, rather than as hostnames. This could lead to arbitrary code execution with the privileges of the user running libnbd.

Affected products

How to fix

Upgrade to a fixed version: [UNKNOWN] libnbd 1.22.5, 1.23.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-14946 or the next vulnerability affects your stack