CVE-2025-3163 Details
Description
A vulnerability was found in InternLM LMDeploy up to 0.7.1. It has been declared as critical. Affected by this vulnerability is the function Open of the file lmdeploy/docs/en/conf.py. The manipulation leads to code injection. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used.
A critical code injection vulnerability has been identified in InternLM LMDeploy versions through 0.7.1. The issue arises from the unsafe use of the 'exec' and 'compile' functions in the file 'lmdeploy/docs/en/conf.py'. This vulnerability allows attackers to inject malicious code that could be executed with the application's privileges, potentially leading to unauthorized file deletion, execution of system commands, or theft of sensitive information.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 3, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/InternLM/lmdeploy/issues/3254 | CISA-ADP | ExploitIssue TrackingThird Party Advisory |
| https://github.com/InternLM/lmdeploy/issues/3254 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://github.com/InternLM/lmdeploy/issues/3254#issue-2918865448 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://vuldb.com/?ctiid.303109 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.303109 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.542527 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| internlm lmdeploy | <= 0.7.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 23, 2025 | Initial Analysis | [email protected] |
| Apr 3, 2025 | CVE Modified | CISA-ADP |
| Apr 3, 2025 | New CVE Received | [email protected] |