Read the docs

Code injection in ssssssss-team magic-api resource save API

Priority LOW 31CWE-74Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
Low · Low · Low
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.

Summary

The saveFile function in MagicResourceController.java of ssssssss-team magic-api up to 2.2.2 contains a code injection flaw in its resource save API, where improper control of code generation (CWE-94) lets input inject code. A remote attacker needs no privileges or user interaction to exploit it. The exploit is publicly disclosed and linked in the references.

Written with Claude Haiku 5.5 from the sources below · 2026-11-29

Description from the CNA

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.

Why it matters now

EPSS 0.00447 30th percentileScored 2026-11-30
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ssssssss-teammagic-api2.2.0; 2.2.1; 2.2.2—No fix listedCNA
  • magic-api Vendorssssssss-team Affected 2.2.0; 2.2.1; 2.2.2 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:ssssssss-team:magic-api:*:*:*:*:*:*:*:*———
  • cpe:2.3:a:ssssssss-team:magic-api:*:*:*:*:*:*:*:* Versions — — ·—

Remediation

The sources list no fixed version for magic-api.

Written with Claude Haiku 5.5 from the sources below · 2026-11-29

Timeline

  1. 2026-11-29 Threatist record created from CVE-2026-138103
  2. 2026-11-29 Alias added: GHSA-m78x-hcrq-f2wv

References

  • TI-2026-99478 Code injection in ssssssss-team magic-api JDBC test endpoint CVSS 4.0MEDIUM 6.9
  • TI-2026-99477 Server-side request forgery in magic-api Workbench Push CVSS 4.0MEDIUM 6.9

Sources