Code injection in ssssssss-team magic-api resource save API
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
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ssssssss-team | magic-api | 2.2.0; 2.2.1; 2.2.2 | — | No fix listed | CNA |
- magic-api Vendorssssssss-team Affected 2.2.0; 2.2.1; 2.2.2 Fixed in — No fix listed CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| 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
- 2026-11-29 Threatist record created from CVE-2026-138103
- 2026-11-29 Alias added: GHSA-m78x-hcrq-f2wv
References
More ssssssss-team vulnerabilities
- 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
- CVE-2026-138103 · CVE Program
- CVE-2026-138103 · NVD
- FIRST EPSS
- GHSA-m78x-hcrq-f2wv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences