# CVE-2026-48520: Langflow arbitrary file read in Shareable Playground

Source: https://junglewise.ai/threats/cve-2026-48520-langflow-arbitrary-file-read-in-shareable-playground  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-23. Updated: 2026-06-23  
License: CC BY 4.0 with a link back

CVE-2026-48520 · Severity: medium · CVSS 6.1 · Published 2026-06-23

Langflow is a platform used to build and deploy AI-powered workflows and agents. A security flaw in its "Shareable Playground" feature allows unauthorized users to potentially read sensitive files from the server or connected cloud storage (S3). If a workflow is made public, an attacker could manipulate the execution request to access internal configuration files or private data, which are then processed by the AI model.

Technologies: [langflow (PyPI)](https://junglewise.ai/threats/technologies/pypi-langflow). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-48520 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-48520 being exploited in the wild.

**How severe is CVE-2026-48520?** Medium severity, with a CVSS score of 6.1, published 23 June 2026.

**Which products and versions are affected?** langflow (PyPI) ECOSYSTEM:introduced=0,fixed=1.10.0.

**Is there a fix for CVE-2026-48520?** Yes. langflow (PyPI): upgrade to 1.10.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-48520 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-48520?** Check whether you run langflow (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- langflow (PyPI): upgrade to 1.10.0 or later

  ```sh
  pip install "langflow>=1.10.0"
  ```


## Technical details

An arbitrary file-read vulnerability exists in Langflow's "Shareable Playground" (Public Flows) feature due to improper validation of user-supplied file paths. The vulnerability is rooted in the `/api/v1/build_public_tmp` endpoint, where the `files` field in the execution request is processed by `LCModelComponent._get_chat_result` and `to_lc_message`. An unauthenticated attacker can provide arbitrary local filesystem paths or S3 URIs, which the application then reads and feeds into the Large Language Model (LLM) as input. Depending on the LLM's configuration and the flow's design, the contents of these files can be exfiltrated. This issue is classified as CWE-73 (External Control of File Name or Path) and is resolved in version 1.10.0.

## Affected products

- langflow-ai Langflow < 1.10.0

## Identifiers

- CVE-2026-48520
- GHSA-rcjh-r59h-gq37
- PYSEC-2026-244

## Timeline

- 2026-06-09: advisory: GitHub Security Advisory published
- 2026-06-23: disclosed: CVE published to NVD

## References

- [https://github.com/langflow-ai/langflow/security/advisories/GHSA-rcjh-r59h-gq37](https://github.com/langflow-ai/langflow/security/advisories/GHSA-rcjh-r59h-gq37)

## Related threats

- [Langflow SSRF in URL-taking components](https://junglewise.ai/threats/langflow-ssrf-in-url-taking-components-protection-disabled-by-default-db7cac37)
- [Langflow IP spoofing in MCP configuration installation](https://junglewise.ai/threats/cve-2026-105741-langflow-is-a-tool-for-building-and-deploying-ai-powered-agents)
- [Langflow path traversal and cross-user disclosure in MCP resources](https://junglewise.ai/threats/cve-2026-105699-langflow-is-a-tool-for-building-and-deploying-ai-powered-agents)
- [Langflow authorization bypass in flow API endpoints](https://junglewise.ai/threats/cve-2026-105698-langflow-is-a-tool-for-building-and-deploying-ai-powered-agents)
- [Langflow MCP stdio command injection](https://junglewise.ai/threats/cve-2026-105697-langflow-is-a-tool-for-building-and-deploying-ai-powered-agents)
