CVE-2025-57853
published medium CVSS 3.1 · 6.4Web-terminal: privilege escalation via excessive /etc/passwd permissions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | web-terminal/web-terminal-tooling-rhel9Red Hat Web Terminal | Affected | Not stated | redhat |
Description
A container privilege escalation flaw was found in certain Web Terminal 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.4 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Web Terminal | Default: affected | redhat · cna |
Weaknesses
1- CWE-276 Incorrect Default Permissions
References
2- https://access.redhat.com/security/cve/CVE-2025-57853
- RHBZ#2391106 https://bugzilla.redhat.com/show_bug.cgi?id=2391106
Provider assertions
2redhat · cna
Web-terminal: privilege escalation via excessive /etc/passwd permissions
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- dc88aea1e8d8de2a89c40f22d29c9bb0a8e8e906ae74c75568a846856bad55cf
- Ingested
- 23 Sep 2026, 08:53:41 UTC
- Source record
- Official CVE record