---
id: CVE-2025-3163
aliases:
  - GHSA-jfvg-qm4p-473x
  - PYSEC-2026-1579
title: InternLM LMDeploy code injection vulnerability
summary: InternLM LMDeploy code injection vulnerability
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L'
vendor: lmdeploy
product: lmdeploy
ecosystem: pip
affected:
  - lmdeploy <= 0.7.1
published: '2025-04-03'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-jfvg-qm4p-473x'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-3163'
  - url: 'https://github.com/InternLM/lmdeploy/issues/3254'
  - url: 'https://github.com/InternLM/lmdeploy/issues/3254#issue-2918865448'
  - url: 'https://github.com/InternLM/lmdeploy'
  - url: 'https://vuldb.com/?ctiid.303109'
  - url: 'https://vuldb.com/?id.303109'
  - url: 'https://vuldb.com/?submit.542527'
tags:
  - osv
  - pip
epss: 0.00373
epssPercentile: 0.28687
ingestedAt: '2026-07-08T18:25:50.662Z'
---

## Overview

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.

## Affected packages

- `lmdeploy <= 0.7.1`

## Remediation

Refer to the advisory for the patched release.
