{"answers":{"affected":"5 open source packages ship an affected version, including langsmith.","exploited":"There is no known exploitation of CVE-2026-25528 in the wild and no public exploit code.","fix":"Upgrade langsmith to a fixed version for your release line: 0.6.3 or 0.4.6.","what":"CVE-2026-25528 is a medium-severity server-side request forgery vulnerability in langchain-ai langsmith-sdk, published on 9 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-25528 and fix it if it is affected.\n\nWhat it is: CVE-2026-25528 is a medium-severity server-side request forgery vulnerability in langchain-ai langsmith-sdk, published on 9 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-25528 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- langsmith (PyPI): affected from 0.4.10; fixed in 0.6.3\n- langsmith (PyPI): affected from 0.4.10; fixed in 0.6.3\n- langsmith (PyPI): affected from 0.4.10; fixed in 0.6.3\n- langsmith (npm): affected from 0.3.41; fixed in 0.4.6\n- langsmith (npm): affected from 0.3.41; fixed in 0.4.6\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-2026-25528/ (Markdown: https://insights.sbomify.com/CVE-2026-25528/index.md)","id":"CVE-2026-25528","markdown":"https://insights.sbomify.com/CVE-2026-25528/index.md","name":"CVE-2026-25528","record":{"aliases":["ECHO-f9e2-5c88-6463","GHSA-v34v-rq6j-cj6p","MINI-6xxj-g8px-5m8q","MINI-757g-82c7-r5h3","MINI-jpc4-q8gv-fw23","MINI-qm5h-jf8w-288v","PYSEC-2026-2584","ROOT-APP-PYPI-CVE-2026-25528"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"LangSmith Client SDK","requires_auth":"none","summary":"Attackers can inject malicious URLs via HTTP headers in the LangSmith SDK, causing sensitive trace data to be sent to attacker-controlled endpoints.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"LangSmith Client SDKs provide SDK's for interacting with the LangSmith platform. The LangSmith SDK's distributed tracing feature is vulnerable to Server-Side Request Forgery via malicious HTTP headers. An attacker can inject arbitrary api_url values through the baggage header, causing the SDK to exfiltrate sensitive trace data to attacker-controlled endpoints. When using distributed tracing, the SDK parses incoming HTTP headers via RunTree.from_headers() in Python or RunTree.fromHeaders() in Typescript. The baggage header can contain replica configurations including api_url and api_key fields. Prior to the fix, these attacker-controlled values were accepted without validation. When a traced operation completes, the SDK's post() and patch() methods send run data to all configured replica URLs, including any injected by an attacker. This vulnerability is fixed in version 0.6.3 of the Python SDK and  0.4.6 of the JavaScript SDK.","ecosystems":["PyPI","npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"LangSmith Client SDK Affected by Server-Side Request Forgery via Tracing Header Injection","id":"CVE-2026-25528","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":5,"n_references":1,"next":{"headline":"Postal has HTML injection / XSS in message view","id":"CVE-2026-25529"},"packages":[{"ecosystem":"PyPI","fixed":["0.6.3"],"introduced":["0.4.10"],"last_affected":[],"package":"langsmith","purl":null,"source":"GHSA-v34v-rq6j-cj6p"},{"ecosystem":"PyPI","fixed":["0.6.3"],"introduced":["0.4.10"],"last_affected":[],"package":"langsmith","purl":"pkg:pypi/langsmith","source":"GHSA-v34v-rq6j-cj6p"},{"ecosystem":"PyPI","fixed":["0.6.3"],"introduced":["0.4.10"],"last_affected":[],"package":"langsmith","purl":"pkg:pypi/langsmith","source":"PYSEC-2026-2584"},{"ecosystem":"npm","fixed":["0.4.6"],"introduced":["0.3.41"],"last_affected":[],"package":"langsmith","purl":null,"source":"GHSA-v34v-rq6j-cj6p"},{"ecosystem":"npm","fixed":["0.4.6"],"introduced":["0.3.41"],"last_affected":[],"package":"langsmith","purl":"pkg:npm/langsmith","source":"GHSA-v34v-rq6j-cj6p"}],"prev":{"headline":"changedetection.io vulnerable to unauthenticated static path traversal","id":"CVE-2026-25527"},"products":["langsmith-sdk"],"published":"2026-02-09","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-02-10","vendors":["langchain-ai"]},"summary":"Attackers can inject malicious URLs via HTTP headers in the LangSmith SDK, causing sensitive trace data to be sent to attacker-controlled endpoints.","url":"https://insights.sbomify.com/CVE-2026-25528/"}