# CVE-2024-0196: Magic-Api code injection

- Severity: Medium 6.3 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- 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): 0.82%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-01-02T22:00:05.698Z
- Modified: 2026-06-17T06:52:58.890Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulDB

## Description

A vulnerability has been found in Magic-Api up to 2.0.1 and classified as critical. Affected by this vulnerability is an unknown functionality of the file /resource/file/api/save?auto=1. The manipulation leads to code injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-249511.

(As written by CVE List.)

## Affected

- Magic-Api: 2.0.0; 2.0.1
- ssssssss magic-api: up to 2.0.1

## Every score

- VulDB: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/laoquanshi/puppy/blob/main/Magic-Api%20Code%20Execution%20Vulnerability.md> (exploit, broken-link, third-party-advisory)
- <https://vuldb.com/?id.249511> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.249511> (permissions-required, signature, third-party-advisory)

## Sources

- CVE List: [CVE-2024-0196](https://www.cve.org/CVERecord?id=CVE-2024-0196), CVE Terms of Use, modified 2025-06-17
- NVD: [CVE-2024-0196](https://nvd.nist.gov/vuln/detail/CVE-2024-0196), Public domain, modified 2026-06-17

---

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