CVE-2024-6126Cockpit: authenticated user can kill any process when enabling pam_env's user_readenv option
- 3.2LowCVSS base score
- 0.27%Exploitation in 30 daysEPSS · top 80% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
A flaw was found in the cockpit package. This flaw allows an authenticated user to kill any process when enabling the pam_env's user_readenv option, which leads to a denial of service (DoS) attack.
Timeline
ID reserved
By redhat
- 15 days later
· 15 days later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Low3.2 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:L |
| NVDNVD · Deferred | 3.1 | Low3.2 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:L |
- EPSS (exploitation in 30 days)
- 0.27% · top 80% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.2.
Affected products
cockpit
All versions: affected
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:323.1-1.el9_5 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:323.1-1.el9_5 – < *
Red Hat · Red Hat Enterprise Linux 10
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 7
All versions: unknown
Red Hat · Red Hat Enterprise Linux 8
All versions: affected
What to do
Workaround: Disable pam_env's `user_readenv` option in PAM config.
References
References3
- RHSA-2024:9325 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-6126 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2292897 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-47977 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-6126)Record last updated .