CVE-2026-6597: langflow-ai langflow Flow Using API core.py has_api_terms credentials storage

Published Apr 20, 2026
·
Updated

A weakness has been identified in langflow-ai langflow up to 1.8.3. Impacted is the function removeapikeys/hasapiterms 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.

Affected Software

1 affected component
pypi/langflow<=1.8.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade langflow-ai/langflow to a version that resolves this vulnerability.

    Fixed in 1.8.3
  2. Compensating control

    Because the issue can be initiated remotely and could lead to unprotected storage of credentials, restrict network access to the Flow Using API endpoint that exposes remove_api_keys/has_api_terms so only trusted clients can reach it.

  3. Operational

    Rotate any API keys/credentials that may have been stored due to the unprotected credential storage caused by remove_api_keys/has_api_terms in src/backend/base/langflow/api/utils/core.py (Flow Using API).

Event History

Apr 20, 2026
CVE Published
via MITRE·02:30 AM
Data Sourced
via MITRE·02:30 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:16 AM
DescriptionSeverityWeakness
May 18, 58294
Event
via NVD·01:15 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-6597?

CVE-2026-6597 has been assigned a medium severity rating due to the potential exposure of credentials.

2

How do I fix CVE-2026-6597?

To address CVE-2026-6597, it is recommended to upgrade langflow-ai langflow to version 1.8.4 or later.

3

What component is affected by CVE-2026-6597?

CVE-2026-6597 affects the function remove_api_keys/has_api_terms in the file core.py pertaining to the Flow Using API.

4

What versions of langflow are impacted by CVE-2026-6597?

CVE-2026-6597 impacts langflow-ai langflow versions up to and including 1.8.3.

5

What are the potential consequences of CVE-2026-6597?

The potential consequences of CVE-2026-6597 include unauthorized access to API credentials stored improperly.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203