Intel

AIKIDO-2025-10733

github.com/tmc/langchaingo is vulnerable to Generation of Error Message Containing Sensitive Information

Generation of Error Message Containing Sensitive Information Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

20

Low Risk

This Affects:

GOgithub.com/tmc/langchaingo
0.0.1 - 0.1.13
Fixed in 0.1.14
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to API key exposure through improperly handled HTTP error responses, which may inadvertently include sensitive credentials in error messages or logs.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

github.com/tmc/langchaingo is vulnerable to Generation of Error Message Containing Sensitive Information in versions 0.0.1 - 0.1.13.

How to fix this

Upgrade the github.com/tmc/langchaingo library to the patch version.