CVE-2023-38896: Code Injection

Published Aug 15, 2023
·
Updated

An issue in Harrison Chase langchain before version 0.0.236 allows a remote attacker to execute arbitrary code via the frommathprompt and fromcoloredobjectprompt functions.

Other sources

An issue in Harrison Chase langchain v.0.0.194 and before allows a remote attacker to execute arbitrary code via the frommathprompt and fromcoloredobjectprompt functions.

Affected Software

2 affected componentsFixes available
pip/langchain<0.0.236
0.0.236
Langchain Langchain<=0.0.194

Event History

Aug 15, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
06:31 PM

Frequently Asked Questions

1

What is the severity of CVE-2023-38896?

CVE-2023-38896 has a high severity rating due to its potential for remote code execution.

2

How do I fix CVE-2023-38896?

To fix CVE-2023-38896, upgrade to Langchain version 0.0.236 or later.

3

Which versions of Langchain are affected by CVE-2023-38896?

CVE-2023-38896 affects all versions of Langchain prior to 0.0.236, including version 0.0.194 and earlier.

4

What types of attacks can exploit CVE-2023-38896?

CVE-2023-38896 can be exploited by remote attackers to execute arbitrary code on the affected system.

5

Are there specific functions in Langchain associated with CVE-2023-38896?

Yes, the functions 'from_math_prompt' and 'from_colored_object_prompt' in Langchain are associated with CVE-2023-38896.

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