PYSEC-2026-2565
Langflow has an Information Leak through Incomplete API Key Redaction
Details
A weakness has been identified in langflow-ai langflow up to 1.8.3. Impacted is the function remove_api_keys/has_api_terms of the file src/backend/base/langflow/api/utils/core.py of the component Flow Using API. This manipulation causes unprotected storage of credentials. The attack can be initiated remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
Are you affected?
Enter the version of the package you're using.
Affected packages
0No fixed version published yet for langflow (pip). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-6597[ADVISORY]
- https://gist.github.com/chenhouser2025/b93261c6e651f14800a4f2e4365f357b[WEB]
- https://github.com/langflow-ai/langflow[PACKAGE]
- https://vuldb.com/submit/791920[WEB]
- https://vuldb.com/vuln/358232[WEB]
- https://vuldb.com/vuln/358232/cti[WEB]
- https://pypi.org/project/langflow[PACKAGE]
- https://github.com/advisories/GHSA-5jjf-wcvf-923w[ADVISORY]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:pypi/langflow"]}'