CVE-2026-138103

7.3High

Published Nov 29, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite

7.3CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
Limited impact
Weakness
CWE-74, CWE-94

What an attacker gets

Unauthenticated attackers can execute arbitrary code via the saveFile function. This vulnerability is remotely exploitable and has public exploit code available.

Root cause

The saveFile function in MagicResourceController.java fails to sanitize input, allowing for code injection.

Affected versions

magic-api up to 2.2.2

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Fix & remediation

There is no fixed version available yet. Disable the magic-api resource save API or restrict access to the MagicResourceController endpoint via your web application firewall or reverse proxy.

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

A vulnerability was detected in ssssssss-team magic-api up to 2.2.2. This issue affects the function saveFile of the file MagicResourceController.java of the component magic-api-core resource save API. The manipulation results in code injection. It is possible to launch the attack remotely. The exploit is now public and may be used. The project was informed of the problem early through an issue report but has not responded yet.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-138103

More fully triaged vulnerabilities you may want to check next.