Skip to main content

magic-api EUVDEUVD-2026-137648

| CVE-2026-138105 MEDIUM
Code Injection (CWE-94)
2026-11-29 VulDB GHSA-h52c-gphw-g9wh
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed magic-api console
  2. Delivery
    Send request to JDBC test endpoint
  3. Exploit
    Inject malicious driverClassName value
  4. Execution
    Trigger code injection (CWE-94)
  5. Impact
    Execute code in application context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires network reachability to the magic-api Datasource JDBC Test Endpoint (/magic/web/datasource/jdbc/test) on the magic-api web console; the attacker manipulates the driverClassName argument to achieve code injection. Per the CVSS vector (PR:N/UI:N) no authentication or user interaction is required. The principal limiting factor is exposure: magic-api's management console/datasource tooling must be network-accessible and unprotected - if the console is bound to localhost, placed behind authentication or a reverse-proxy/ACL, or the datasource feature is not in use, exploitation is prevented. Affected version confirmed as 2.2.2 (ssssssss-team magic-api).

Impact

This is a moderate-priority issue rather than an emergency. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes remote, low-complexity, unauthenticated reachability, but the impact metrics are all rated Low (VC:L/VI:L/VA:L, no subsequent-system impact), yielding a base score of 6.9 - notably restrained for a CWE-94 code-injection flaw, which can often reach full RCE. The exploit maturity is E:P (proof-of-concept), and the vuln.today decision label is 'this_month', not 'act_now' or 'emergency'. There is no CISA KEV listing and no EPSS score in the supplied data, so there is no signal of active or widespread exploitation; the status is a public PoC reference exists; it is not verified as working exploit code. The main tension is between the mechanism (code injection via a loaded JDBC driver class, which is typically high-impact) and the vendor-independent VulDB impact rating of Low across C/I/A - this discrepancy should be verified, as a working driverClassName injection could plausibly warrant higher impact than scored. Overall: a real but second-tier item, gated heavily by whether the datasource test endpoint is actually exposed and reachable.

Exploit ScenarioDerived

An attacker who can reach the magic-api web console sends a request to the /magic/web/datasource/jdbc/test endpoint with a crafted driverClassName argument, causing the application to load/instantiate an attacker-chosen class and inject code into the running magic-api process. Because the CVSS vector is AV:N/AC:L/PR:N/UI:N, no authentication, user interaction, or special timing is required once the endpoint is reachable. A public PoC reference exists (a GitHub issue); it is not verified as working exploit code.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 29, 2026

Code injection in the magic-api low-code API platform (version 2.2.2) allows remote, unauthenticated attackers to execute arbitrary code by manipulating the driverClassName argument submitted to the /magic/web/datasource/jdbc/test endpoint, resulting in limited confidentiality, integrity and availability impact. Exploitation requires that the magic-api management console and its datasource JDBC test feature be reachable over the network; deployments where the console is bound to localhost, protected by authentication or an ACL, or where the datasource feature is unused are not exposed. A public issue report referencing the flaw exists, but it is a reference only and is not verified as working exploit code; there is no confirmed active exploitation, and the project has not yet responded to the report. This is a moderate-priority issue rather than an emergency, with an EPSS-style exploitation likelihood reflected only by the low E:P metric in the CVSS 4.0 vector.

RemediationAI

No vendor-released patch or fixed version is identified at the time of analysis, and the project has not responded to the issue report, so remediation must initially rely on exposure reduction. The most effective control is to remove network access to the magic-api management console: bind it to localhost or place it behind an authenticating reverse proxy or IP ACL so that /magic/web/datasource/jdbc/test cannot be reached by untrusted clients, accepting that remote administration then requires a tunnel or bastion. If the datasource JDBC test feature is not needed, disable or block that endpoint at the proxy layer, with the trade-off that legitimate datasource configuration testing becomes unavailable. Monitor the project repository at https://github.com/ssssssss-team/magic-api/ and the issue at https://github.com/ssssssss-team/magic-api/issues/140 for an upstream fix, and treat any newly released version as the upgrade target once confirmed. Also restrict outbound connections from the magic-api host to limit the value of any successful injection.

Affected VersionsENISA

Magic-Api 2.2.2

Affected Packages

euvd magic_api no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

magic-api is a Java-based low-code platform in which APIs are defined and executed dynamically; its web console exposes administrative tooling, including a datasource management area that can test JDBC connections. The /magic/web/datasource/jdbc/test endpoint accepts a driverClassName parameter, and insufficient validation of that user-supplied class name lets an attacker influence which class is loaded and instantiated, which is the classic route to code injection (CWE-94) in Java applications that dynamically load classes from request data. The result is limited-scope code execution under the privileges of the magic-api process. The affected component is identified by CPE cpe:2.3:a:ssssssss-team:magic-api, with the specific vulnerable build being 2.2.2; the trigger mechanics are described only at this level in the available sources, and no finer detail on the injection path is provided.

Know when Magic Api gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 7.3 HIGH

Remote, low-complexity, unauthenticated reachability of the test endpoint (AV:N/AC:L/PR:N/UI:N); impact kept Low across C/I/A to stay consistent with the supplied VulDB rating rather than assuming full RCE.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Nov 29, 2026 - 03:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Nov 29, 2026 - 02:15 cve.org
MEDIUM 6.9

DescriptionCVE.org

A vulnerability has been found in ssssssss-team magic-api 2.2.2. The affected element is an unknown function of the file /magic/web/datasource/jdbc/test of the component Datasource JDBC Test Endpoint. Such manipulation of the argument driverClassName leads to code injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

EPSS Score
0.5%
Top 68% exploitable
Prevalence
Low
niche open-source Java/Chinese API-dev framework, limited enterprise footprint
Exploit
POC
Public exploit code exists
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Related Vulnerabilities in magic-api Code Injection and SSRF Vulnerabilities

View all 3

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy