Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed magic-api console
-
DeliverySend request to JDBC test endpoint
-
ExploitInject malicious driverClassName value
-
ExecutionTrigger code injection (CWE-94)
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
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.
EUVD-2026-137648
GHSA-h52c-gphw-g9wh
NVD
CVE.org
EPSS
VulDB
Exploit-DB