PT-2026-35087

CVE-2026-41488

·

Published

2026-04-16

·

Updated

2026-04-25

Description by

CVSS 3.1
3.1
Low
MetricsAV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions langchain-openai versions prior to 1.1.14
Description The url to size() helper function, utilized by get num tokens from messages for image token counting, contains a Time-of-Check to Time-of-Use (TOCTOU) flaw. The function validates URLs for Server-Side Request Forgery (SSRF) protection and subsequently fetches them using a separate network operation with independent DNS resolution. This creates a DNS rebinding window where an attacker-controlled hostname can resolve to a public IP during the validation phase and then resolve to a private or localhost IP during the actual fetch operation.
Recommendations Update to version 1.1.14 or later.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-R7W7-9XR2-QQ2R
PYSEC-2026-76
Found an issue in the description? Have something to add? Feel free to write us 👾