CVE-2024-6126: Uncontrolled Resource Consumption
Source CVE Database V5
Not known to be exploited · CVSS 3.2 Low.
Data as of 26 Oct 2026, 07:57 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 19% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 3 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
AI-suggested
To mitigate CVE-2024-6126, organizations should first assess whether the pam_env's user_readenv option is enabled in their cockpit configurations. If enabled, consider disabling this option until a patch is available. Restrict cockpit access to trusted and minimal user groups to reduce the risk of exploitation by authenticated users. Implement strong authentication mechanisms and monitor user activities within cockpit to detect any abnormal process termination attempts. Keep the system and cockpit package updated with the latest security patches from the vendor. If possible, isolate cockpit management interfaces behind firewalls or VPNs to limit exposure. Additionally, review and harden PAM configurations to ensure environment variables are handled securely. Regularly audit system logs for signs of process termination anomalies that could indicate exploitation attempts.
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.