Libnbd: libnbd: arbitrary code execution via ssh argument injection through a malicious uri

Summary

CVECVE-2025-14946
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-12-19 13:16:03 UTC
Updated2026-11-05 15:17:12 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 4.8 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L

EPSS: 0.001440000 probability, percentile 0.037270000 (date 2026-11-04)

Problem Types: CWE-88 | CWE-88 Improper Neutralization of Argument Delimiters in a Command


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary4.8MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
3.1CNACVSS4.8MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Libnbd affected 1.22.0 1.22.5 semver Not specified
CNA Red Hat Libnbd affected 1.23.0 1.23.9 semver Not specified
CNA Red Hat Red Hat Enterprise Linux 10 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 9 Not specified Not specified
CNA Red Hat Red Hat OpenShift Virtualization 4 Not specified Not specified
CNA Red Hat Red Hat OpenShift Virtualization 4 Not specified Not specified
CNA Red Hat Red Hat OpenShift Virtualization 4 Not specified Not specified
CNA Red Hat Red Hat OpenShift Virtualization 4 Not specified Not specified
CNA Red Hat Red Hat OpenShift Virtualization 4 Not specified Not specified
CNA Red Hat Red Hat OpenShift Virtualization 4 Not specified Not specified
CNA Red Hat Red Hat OpenShift Virtualization 4 Not specified Not specified
CNA Red Hat Red Hat OpenShift Virtualization 4 Not specified Not specified
CNA Red Hat Red Hat OpenShift Virtualization 4 Not specified Not specified
CNA Red Hat Red Hat OpenShift Virtualization 4 Not specified Not specified
CNA Red Hat Red Hat OpenShift Virtualization 4 Not specified Not specified
CNA Red Hat Red Hat OpenShift Virtualization 4 Not specified Not specified
CNA Red Hat Red Hat OpenShift Virtualization 4 Not specified Not specified
CNA Red Hat Red Hat OpenShift Virtualization 4 Not specified Not specified

References

ReferenceSourceLinkTags
access.redhat.com/security/cve/CVE-2025-14946 [email protected] access.redhat.com
bugzilla.redhat.com/show_bug.cgi [email protected] bugzilla.redhat.com
libguestfs.org/libnbd-release-notes-1.24.1.html [email protected] libguestfs.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
CNA2025-12-19T03:32:19.506ZReported to Red Hat.
CNA2025-12-16T00:00:00.000ZMade public.

Workarounds

CNA: To mitigate this issue, ensure that applications utilizing libnbd do not process Uniform Resource Identifiers (URIs) from untrusted or unverified sources. This vulnerability requires a malicious actor to convince libnbd to open a specially crafted URI, therefore restricting the sources of URIs processed by libnbd can reduce exposure.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report