CVE-2024-42640: angular-base64-upload prior to v0.1.21 is vulnerable to unauthenticated remote code execution via demo/server.
CVE-2024-42640 is a critical-severity flaw (CVSS 9.8) affecting affected software. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
angular-base64-upload prior to v0.1.21 is vulnerable to unauthenticated remote code execution via demo/server.php. Exploiting this vulnerability allows an attacker to upload arbitrary content to the server, which can subsequently be accessed through demo/uploads. This leads to the execution of previously uploaded content and enables the attacker to achieve code execution on the server. NOTE: This vulnerability only affects products that are no lo
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 40.2% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-434 |
| Published | 2024-10-11 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: rvzsec/CVE-2024-42640 (27 stars)
- GitHub PoC: KTN1990/CVE-2024-42640 (2 stars)
- Write-up: www.zyenra.com/blog/unauthenticated-rce-in-angular-base64-upload.html
- GitHub PoC: rvizx/CVE-2024-42640
- Exploit-DB: Angular-Base64-Upload Library 0.1.20 - Remote Code Execution (RCE)
- Exploit-DB: Angular-Base64-Upload Library 0.1.21 - Unauthenticated Remote Code Execution (RCE)
- Nuclei scan template: Angular-Base64-Upload - Remote Code Execution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-42640?
No fixed release is listed yet. Watch the vendor advisory and apply any mitigation shown on this page.
Is CVE-2024-42640 being exploited?
CVE-2024-42640 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-42640 affect?
CVE-2024-42640 affects affected software. Severity is critical (CVSS 9.8). angular-base64-upload prior to v0.1.21 is vulnerable to unauthenticated remote code execution via demo/server.php. Exploiting this vulnerability allows an attacker to upload arbitrary content to the server, which can subsequently be accesse
How urgent is CVE-2024-42640?
Priority 72/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
PHP vulnerabilities · Angular vulnerabilities