# CVE-2024-42640: angular-base64-upload vulnerable to unauthenticated remote code execution

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 43.2%, higher than 98% of CVEs (2026-12-01)
- Published: 2024-10-11T00:00:00.000Z
- Modified: 2026-06-17T07:49:48.587Z
- Also known as: GHSA-vgxq-6rcf-qwrw
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

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 longer supported by the maintainer.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- angular-base64-upload-project angular-base64-upload: before 0.1.21
- angular-base64-upload (npm): before 0.1.21

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/adonespitogo/angular-base64-upload> (package)
- <https://www.zyenra.com/blog/unauthenticated-rce-in-angular-base64-upload.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-42640> (advisory)
- <https://github.com/rvizx/CVE-2024-42640> (web)

## Sources

- CVE List: [CVE-2024-42640](https://www.cve.org/CVERecord?id=CVE-2024-42640), CVE Terms of Use, modified 2024-10-15
- GitHub Advisory Database: [GHSA-vgxq-6rcf-qwrw](https://github.com/advisories/GHSA-vgxq-6rcf-qwrw), CC-BY-4.0, modified 2024-10-11
- NVD: [CVE-2024-42640](https://nvd.nist.gov/vuln/detail/CVE-2024-42640), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-42640 · Whole record: https://cve.day/CVE-2024-42640.json · Rebuilt by cve.day 2026-11-25T22:58:46.667Z
