{"answers":{"affected":"3 open source packages ship an affected version, including langflow. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-68477 exists.","fix":"Upgrade langflow to 1.7.1 or later.","what":"CVE-2025-68477 is a high-severity server-side request forgery vulnerability in Langflow Langflow, published on 19 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-68477 and fix it if it is affected.\n\nWhat it is: CVE-2025-68477 is a high-severity server-side request forgery vulnerability in Langflow Langflow, published on 19 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-68477 exists.\n\nAffected packages and fixed versions:\n- langflow (PyPI): affected all versions; fixed in 1.7.1\n- langflow (PyPI): affected all versions; fixed in 1.7.1\n- langflow (PyPI): affected all versions; fixed in 1.7.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-68477/ (Markdown: https://insights.sbomify.com/CVE-2025-68477/index.md)","id":"CVE-2025-68477","markdown":"https://insights.sbomify.com/CVE-2025-68477/index.md","name":"CVE-2025-68477","record":{"aliases":["GHSA-5993-7p27-66g5","PYSEC-2026-1522"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"AI workflow builder","requires_auth":"low_privilege","summary":"Attackers can exploit an API component to perform Server-Side Request Forgery, accessing internal resources and metadata services via crafted URLs.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"langflow","vendor":"langflow"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to version 1.7.0, Langflow provides an API Request component that can issue arbitrary HTTP requests within a flow. This component takes a user-supplied URL, performs only normalization and basic format checks, and then sends the request using a server-side httpx client. It does not block private IP ranges (127[.]0[.]0[.]1, the 10/172/192 ranges) or cloud metadata endpoints (169[.]254[.]169[.]254), and it returns the response body as the result. Because the flow execution endpoints (/api/v1/run, /api/v1/run/advanced) can be invoked with just an API key, if an attacker can control the API Request URL in a flow, non-blind SSRF is possible—accessing internal resources from the server’s network context. This enables requests to, and collection of responses from, internal administrative endpoints, metadata services, and internal databases/services, leading to information disclosure and providing a foothold for further attacks. Version 1.7.0 contains a patch for this issue.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Langflow vulnerable to Server-Side Request Forgery","id":"CVE-2025-68477","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"langflow:langflow","products":["langflow:langflow"],"type":"ssrf","year":"2025"},"n_packages":3,"n_references":1,"next":{"headline":"Langflow Vulnerable to External Control of File Name or Path","id":"CVE-2025-68478"},"packages":[{"ecosystem":"PyPI","fixed":["1.7.1"],"introduced":["0"],"last_affected":[],"package":"langflow","purl":null,"source":"GHSA-5993-7p27-66g5"},{"ecosystem":"PyPI","fixed":["1.7.1"],"introduced":["0"],"last_affected":[],"package":"langflow","purl":"pkg:pypi/langflow","source":"GHSA-5993-7p27-66g5"},{"ecosystem":"PyPI","fixed":["1.7.1"],"introduced":["0"],"last_affected":[],"package":"langflow","purl":"pkg:pypi/langflow","source":"PYSEC-2026-1522"}],"prev":{"headline":"KEDA has Arbitrary File Read via Insufficient Path Validation in HashiCorp Vault Service Account Credential","id":"CVE-2025-68476"},"products":["langflow"],"published":"2025-12-19","related":[{"cvss_score":9.8,"headline":"IBM Langflow Code Injection","id":"CVE-2026-9198","kev_date_added":"2026-08-04","published":"2026-07-17"},{"cvss_score":9.8,"headline":"Langflow Inclusion of Functionality from Untrusted Control Sphere","id":"CVE-2026-0770","kev_date_added":"2026-07-21","published":"2026-01-23"},{"cvss_score":9.8,"headline":"Langflow Missing Authentication","id":"CVE-2025-3248","kev_date_added":"2025-05-05","published":"2025-04-07"},{"cvss_score":9.4,"headline":"Langflow Origin Validation Error","id":"CVE-2025-34291","kev_date_added":"2026-05-21","published":"2025-12-05"},{"cvss_score":9.3,"headline":"Langflow Code Injection","id":"CVE-2026-33017","kev_date_added":"2026-03-25","published":"2026-03-20"},{"cvss_score":8.4,"headline":"Langflow Authorization Bypass Through User-Controlled Key","id":"CVE-2026-55255","kev_date_added":"2026-07-07","published":"2026-06-23"},{"cvss_score":10,"headline":"Unauthenticated Server-Side RCE via PythonCodeStructuredTool in Public Flows","id":"CVE-2026-10134","kev_date_added":null,"published":"2026-06-30"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-12-19","vendors":["langflow-ai"]},"summary":"Attackers can exploit an API component to perform Server-Side Request Forgery, accessing internal resources and metadata services via crafted URLs.","url":"https://insights.sbomify.com/CVE-2025-68477/"}