CVE-2024-48990: Qualys needrestart - Remote Code Execution
- Cve: CVE-2024-48990
- Name: Qualys needrestart - Remote Code Execution
- Description: Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by tricking needrestart into running the Python interpreter with an attacker-controlled PYTHONPATH environment variable.
- Impact: Local attackers can execute arbitrary code as root, leading to complete system compromise.
- Remediation: Update needrestart to version 3.8 or later.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.29202
- Epss percentile: 0.98217
- Assignee: [email protected]
- Published at: 2024-11-19T18:15:21Z
- Age in days: 735
- Modified at: 2026-06-17T07:59:11Z
- Patch available: yes
- Public exploits total: 20
- References total: 6
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-48990
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-427 | Uncontrolled Search Path Element |
Public exploits
Same in every row:
- Source: poc-in-github
| Url | Added date |
|---|---|
| https://github.com/BLUEBERRYP1LL/CVE-2024-48990 | 2026-02-13 |
| https://github.com/grecosamuel/CVE-2024-48990 | 2025-12-22 |
| https://github.com/sobbing333/CVE-2024-48990-POC | 2025-12-21 |
| https://github.com/o-sec/CVE-2024-48990 | 2025-12-16 |
| https://github.com/0x3bs/CVE-2024-48990 | 2025-12-01 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| needrestart_project:needrestart | < 3.8 | no | nvd | /v1/products/needrestart_project/needrestart |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| liske/needrestart | commit, fix | yes | /v1/repositories/liske/needrestart |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 20
- Public exploit first date: 2024-11-19
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts