← News

Magic-api: remote code injection

HighAI-generated2026-11-29

CVE
CVE-2026-138103
Severity
High (CVSS 7.3)
Attack conditions
Remotely, over the network · No account needed · No user action needed
Exploitation probability (EPSS)
0.4% (within 30 days; FIRST EPSS, 30 November 2026)

Summary

The magic-api component up to version 2.2.2 is vulnerable. An attacker can inject code remotely through the saveFile function.

Details

According to the NVD record, a flaw exists in the magic-api core resource save API, specifically in the saveFile function of MagicResourceController.java, affecting magic-api versions up to 2.2.2. The vulnerability allows code injection and can be triggered remotely. The exploit is publicly available and may be used by attackers. The project was notified early but has not yet responded.

An attacker who exploits this issue could execute arbitrary code on the affected system, potentially taking full control or causing other malicious actions.

What to do

The source record does not name a specific patch, fixed version or workaround. General measures:

  • Follow the vendor's security advisories.
  • Apply the update when it is released.
  • Limit access to the product as much as possible, especially from the internet.

Sources

Timeline

  • 29 November 2026 This article was written
  • 29 November 2026 NVD record published