CVE-2025-57848

Container-native-virtualization: privilege escalation via excessive /etc/passwd permissions

6.4 medium EPSS 0.19%

Published 23 Oct 2025 Updated 30 Oct 2026 CNA: redhat

Check your servers for CVE-2025-57848

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-57848 affects rhel-9-cnv-4.14, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

A container privilege escalation flaw was found in certain Container-native Virtualization images. This issue stems from the /etc/passwd file being created with group-writable permissions during build time. In certain conditions, an attacker who can execute commands within an affected container, even as a non-root user, can leverage their membership in the root group to modify the /etc/passwd file. This could allow the attacker to add a new user with any arbitrary UID, including UID 0, leading to full root privileges within the container.

Severity (CVSS)

6.4 medium CVSS 3.1 from redhat (CNA)
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
high: the attacker needs an administrative account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.20% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 25 Oct 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-276 Incorrect Default Permissions

Affected products

As the CNA lists them. The first 100 of 304 entries; all of them are in the record on cve.org.

ProductVersions
RHEL-8-CNV-4.12
package container-native-virtualization/bridge-marker
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/cluster-network-addons-operator
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/cnv-containernetworking-plugins
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/cnv-must-gather-rhel8
unaffected v4.12.21-3 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/hco-bundle-registry
unaffected v4.12.21-21 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/hostpath-csi-driver
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/hostpath-provisioner-rhel8
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/hostpath-provisioner-rhel8-operator
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/hyperconverged-cluster-operator
unaffected v4.12.21-5 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/hyperconverged-cluster-webhook-rhel8
unaffected v4.12.21-5 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/kubemacpool
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/kubevirt-console-plugin
unaffected v4.12.21-5 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/kubevirt-ssp-operator
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/kubevirt-tekton-tasks-cleanup-vm
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/kubevirt-tekton-tasks-copy-template
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/kubevirt-tekton-tasks-create-datavolume
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/kubevirt-tekton-tasks-create-vm-from-template
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/kubevirt-tekton-tasks-disk-virt-customize
unaffected v4.12.21-9 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/kubevirt-tekton-tasks-disk-virt-sysprep
unaffected v4.12.21-9 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/kubevirt-tekton-tasks-modify-vm-template
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/kubevirt-tekton-tasks-operator
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/kubevirt-tekton-tasks-wait-for-vmi-status
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/kubevirt-template-validator
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/libguestfs-tools
unaffected v4.12.21-8 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/ovs-cni-marker
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/ovs-cni-plugin
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/virt-api
unaffected v4.12.21-8 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/virt-artifacts-server
unaffected v4.12.21-8 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/virt-cdi-apiserver
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/virt-cdi-cloner
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/virt-cdi-controller
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/virt-cdi-importer
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/virt-cdi-operator
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/virt-cdi-uploadproxy
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/virt-cdi-uploadserver
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/virt-controller
unaffected v4.12.21-8 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/virt-exportproxy
unaffected v4.12.21-8 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/virt-exportserver
unaffected v4.12.21-8 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/virt-handler
unaffected v4.12.21-8 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/virtio-win
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/virt-launcher
unaffected v4.12.21-8 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/virt-operator
unaffected v4.12.21-8 and later
Other versions: affected
RHEL-8-CNV-4.12
package container-native-virtualization/vm-network-latency-checkup
unaffected v4.12.21-4 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/bridge-marker-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/cluster-network-addons-operator-rhel9
unaffected v4.14.16-8 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/cnv-containernetworking-plugins-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/cnv-must-gather-rhel9
unaffected v4.14.16-3 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/hco-bundle-registry-rhel9
unaffected v4.14.16.rhel9-46 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/hostpath-csi-driver-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/hostpath-provisioner-operator-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/hostpath-provisioner-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/hyperconverged-cluster-operator-rhel9
unaffected v4.14.16-8 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/hyperconverged-cluster-webhook-rhel9
unaffected v4.14.16-8 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/kubemacpool-rhel9
unaffected v4.14.16-7 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/kubesecondarydns-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/kubevirt-apiserver-proxy-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/kubevirt-console-plugin-rhel9
unaffected v4.14.16-53 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/kubevirt-dpdk-checkup-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/kubevirt-ssp-operator-rhel9
unaffected v4.14.16-8 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/kubevirt-tekton-tasks-create-datavolume-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/kubevirt-tekton-tasks-disk-virt-customize-rhel9
unaffected v4.14.16-17 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/kubevirt-template-validator-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/libguestfs-tools-rhel9
unaffected v4.14.16-13 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/mtq-controller-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/mtq-lock-server-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/mtq-operator-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/multus-dynamic-networks-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/ovs-cni-plugin-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/pr-helper-rhel9
unaffected v4.14.16-12 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/virt-api-rhel9
unaffected v4.14.16-13 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/virt-artifacts-server-rhel9
unaffected v4.14.16-13 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/virt-cdi-apiserver-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/virt-cdi-cloner-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/virt-cdi-controller-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/virt-cdi-importer-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/virt-cdi-operator-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/virt-cdi-uploadproxy-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/virt-cdi-uploadserver-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/virt-controller-rhel9
unaffected v4.14.16-13 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/virt-exportproxy-rhel9
unaffected v4.14.16-13 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/virt-exportserver-rhel9
unaffected v4.14.16-13 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/virt-handler-rhel9
unaffected v4.14.16-13 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/virtio-win-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/virt-launcher-rhel9
unaffected v4.14.16-13 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/virt-operator-rhel9
unaffected v4.14.16-13 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/vm-console-proxy-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.14
package container-native-virtualization/vm-network-latency-checkup-rhel9
unaffected v4.14.16-6 and later
Other versions: affected
RHEL-9-CNV-4.16
package container-native-virtualization/aaq-controller-rhel9
unaffected v4.16.26-1 and later
Other versions: affected
RHEL-9-CNV-4.16
package container-native-virtualization/aaq-operator-rhel9
unaffected v4.16.26-1 and later
Other versions: affected
RHEL-9-CNV-4.16
package container-native-virtualization/aaq-server-rhel9
unaffected v4.16.26-1 and later
Other versions: affected
RHEL-9-CNV-4.16
package container-native-virtualization/bridge-marker-rhel9
unaffected v4.16.26-1 and later
Other versions: affected
RHEL-9-CNV-4.16
package container-native-virtualization/cluster-network-addons-operator-rhel9
unaffected v4.16.26-1 and later
Other versions: affected
RHEL-9-CNV-4.16
package container-native-virtualization/cnv-containernetworking-plugins-rhel9
unaffected v4.16.26-1 and later
Other versions: affected
RHEL-9-CNV-4.16
package container-native-virtualization/cnv-must-gather-rhel9
unaffected v4.16.26-2 and later
Other versions: affected
RHEL-9-CNV-4.16
package container-native-virtualization/hco-bundle-registry-rhel9
unaffected v4.16.26.rhel9-5 and later
Other versions: affected
RHEL-9-CNV-4.16
package container-native-virtualization/hostpath-csi-driver-rhel9
unaffected v4.16.26-2 and later
Other versions: affected
RHEL-9-CNV-4.16
package container-native-virtualization/hostpath-provisioner-operator-rhel9
unaffected v4.16.26-1 and later
Other versions: affected
RHEL-9-CNV-4.16
package container-native-virtualization/hostpath-provisioner-rhel9
unaffected v4.16.26-1 and later
Other versions: affected
RHEL-9-CNV-4.16
package container-native-virtualization/hyperconverged-cluster-operator-rhel9
unaffected v4.16.26-1 and later
Other versions: affected
RHEL-9-CNV-4.16
package container-native-virtualization/hyperconverged-cluster-webhook-rhel9
unaffected v4.16.26-1 and later
Other versions: affected

Is my server affected?

Find the installed version of rhel-9-cnv-4.14 and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i rhel-9-cnv-4.14
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-57848 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-57848

RHEL, Rocky, Alma, Fedora

rpm -q rhel-9-cnv-4.14
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-57848

Alpine

apk list --installed | grep -i rhel-9-cnv-4.14

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-57848
trivy image --scanners vuln IMAGE | grep CVE-2025-57848

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Source: the record CVE-2025-57848 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.