CVE-2026-61801: github.com/moby/sys/user has a possible DoS via unbounded parsing of user and group database files
CVE-2026-61801 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- Medium
- CVSS base score
- 5.5 (Red Hat)
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H· base score 5.5, scored by GitHub_MAttack vector: local. Attack complexity: low. Privileges required: low. User interaction: none. Scope: unchanged. Confidentiality impact: none. Integrity impact: none. Availability impact: high.- Weakness
- CWE-400: Uncontrolled Resource Consumption
- EPSS
- 0.21% chance of exploitation in the next 30 days (11th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: partial. CISA, .
- Fixed releases
- Red Hat: grafana13-2-main-13.2.3-0.1.hum1, grafana13-1-main-13.1.7-0.1.hum1, grafana12-4-main-12.4.12-0.4.hum1, RHSA-2026:76430, RHSA-2026:76448, RHSA-2026:76677
- Assigned by
- GitHub_M (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-61801; each belongs to its advisory, not to every product listed. How records are collected and checked.
Am I affected by CVE-2026-61801?
You are affected if you run Red Hat Hardened Images, Assisted Installer for Red Hat OpenShift Container Platform 2, Compliance Operator at one of the versions below. If you do, upgrade to the fixed release listed for your version.
| Affected | Fixed in |
|---|---|
| Red Hat: < 0.4.1 | grafana13-2-main-13.2.3-0.1.hum1, grafana13-1-main-13.1.7-0.1.hum1, grafana12-4-main-12.4.12-0.4.hum1, RHSA-2026:76430, RHSA-2026:76448, RHSA-2026:76677 |
Description
The `github.com/moby/sys/user` package provides Go utilities for parsing and looking up entries in Unix-style user and group database files. Versions before 0.4.1 do not sufficiently limit entries when parsing `/etc/passwd`- or `/etc/group`-style files, allowing an attacker who can supply a specially crafted file to cause excessive memory consumption and potentially terminate the affected process due to an out-of-memory condition. This issue is patched in version 0.4.1. As a workaround, avoid parsing attacker-controlled user or group database files, or validate and limit untrusted input before parsing it.
Text from the CVE.org record (GitHub_M).
How do I fix CVE-2026-61801?
Upgrade to a fixed release named by the vendor:
- Red Hat: grafana13-2-main-13.2.3-0.1.hum1, grafana13-1-main-13.1.7-0.1.hum1, grafana12-4-main-12.4.12-0.4.hum1, RHSA-2026:76430, RHSA-2026:76448, RHSA-2026:76677
- Upstream fix: 0.4.1 (released upstream; not a Red Hat package). (Red Hat)
- Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. (Red Hat)
Vendor advisories for CVE-2026-61801
Docker
1 advisory- Advisory severityMedium5.6
Medium [CVE-2026-135844 +1] Incomplete fix for unbounded user and group file reads in moby/sys/user
CVE-2026-135844Source published Source updated
This bulletin covers 2 CVEs. The products, versions, score and guidance below describe the bulletin; check its source for applicability to this specific CVE.
The fix for CVE-2026-61801 added file type and size checks when parsing user and group files in github.com/moby/sys/user, but did not apply them consistently across all parsing and lookup functions. ParsePasswdFile, ParsePasswdFileFilter, GetAdditionalGroupsPath, ParseSubIDFile, ParseSubIDFileFilter, ParseIDMapFile, ParseIDMapFileFilter, LookupUser, LookupUid, LookupGroup and LookupGid could still read large or unbounded files. An attacker who controls the contents of a user or group file processed by an affected application, such as /etc/passwd or /etc/group from a container image, can cause excessive memory or CPU consumption, resulting in a denial of service. Exploitation depends on how the consuming application uses the affected functions. Fixed in v0.5.1 by enforcing the 10 MiB read…
- Affected products in this advisory
- sys/user
- Docker Engine
- Source-reported affected versions
- sys/user before 0.5.1
- Docker Engine before 29.10.1
- Source-reported fixed versions
- 0.5.1
- Mitigation guidance
- The fix for CVE-2026-61801 added file type and size checks when parsing user and group files in github.com/moby/sys/user, but did not apply them consistently across all parsing and lookup functions.
- Fixed in v0.5.1 by enforcing the 10 MiB read limit in all affected functions.
Red Hat
1 advisory- Advisory severityMedium5.5
Medium [CVE-2026-61801] Denial of Service via crafted user or group database files
CVE-2026-61801Source published Source updated
The `github.com/moby/sys/user` package provides Go utilities for parsing and looking up entries in Unix-style user and group database files. Versions before 0.4.1 do not sufficiently limit entries when parsing `/etc/passwd`- or `/etc/group`-style files, allowing an attacker who can supply a specially crafted file to cause excessive memory consumption and potentially terminate the affected process due to an out-of-memory condition. This issue is patched in version 0.4.1. As a workaround, avoid parsing attacker-controlled user or group database files, or validate and limit untrusted input before parsing it. This vulnerability is rated as Moderate impact because exploitation requires supplying a malicious user or group database file to an affected tool, and the resulting impact is limited…
- Affected products in this advisory
- Red Hat Hardened Images
- Assisted Installer for Red Hat OpenShift Container Platform 2
- Compliance Operator
- Confidential Compute Attestation
45 more entries in the full advisory.
- Source-reported affected versions
- < 0.4.1
- Source-reported fixed versions
- grafana13-2-main-13.2.3-0.1.hum1
- grafana13-1-main-13.1.7-0.1.hum1
- grafana12-4-main-12.4.12-0.4.hum1
- RHSA-2026:76430
2 more entries in the full advisory.
- Mitigation guidance
- Upstream fix: 0.4.1 (released upstream; not a Red Hat package).
- Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
References
- CVE-2026-61801 recordCVE.org
- CVE-2026-61801 detailNVD
- https://github.com/moby/sys/security/advisories/GHSA-mjcv-p78q-w5fwx_refsource_confirm
- https://github.com/moby/sys/pull/221x_refsource_misc
- https://github.com/moby/sys/commit/85a71bbe1faa36c552a960e6a5f3d0cfb632fbbex_refsource_misc
Timeline
- CVE record published
- CVE record last updated
- First vendor advisory listed by VulniPulse
More Docker advisories
CVE-2026-135124Nov 25, 2026Docker Engine race in docker cp lets a container write through read-only bind mountsCVE-2026-115538Nov 10, 2026Docker Engine: Moby's overlay network driver does not restore the iptables rulesCVE-2026-115539Nov 10, 2026Docker: SwarmKit's Cluster-API proxy can overwrite a forwarded client's TLS identityCVE-2026-92543Oct 7, 2026Docker Engine classifies a registry hostname as insecure using an any-match DNS checkCVE-2026-17106Aug 18, 2026Tar extraction in moby/go-archive can write outside the destination directoryCVE-2026-42306Jun 12, 2026Docker Engine: Moby is an open source container framework
Get an email when Docker publishes the next one.
See Docker's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro (first month US$5).