CVE-2023-36095: Code Injection

Published Aug 5, 2023
·
Updated

An issue in Harrison Chase langchain allows an attacker to execute arbitrary code via the PALChain,frommathprompt(llm).run in the python exec method.

Other sources

An issue in Harrison Chase langchain v.0.0.194 allows an attacker to execute arbitrary code via the PALChain,frommathprompt(llm).run in the python exec method.

An issue in Harrison Chase langchain v.0.0.194 allows an attacker to execute arbitrary code via the python exec calls in the PALChain, affected functions include frommathprompt and fromcoloredobjectprompt.

Affected Software

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

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/langchain to a version that resolves this vulnerability.

    Fixed in 0.0.236

Event History

Aug 5, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
03:15 AM
Description
Data Sourced
via NVD·03:15 AM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·03:30 AM
Jan 15, 2024
News Published
via BleepingComputer·06:32 PM
Jan 19, 2024
News Published
via BleepingComputer·06:34 PM

Frequently Asked Questions

1

What is CVE-2023-36095?

CVE-2023-36095 is an issue in Harrison Chase langchain v.0.0.194 that allows an attacker to execute arbitrary code via the python exec calls in the PALChain.

2

What functions are affected by CVE-2023-36095?

The affected functions include from_math_prompt and from_colored_object_prompt.

3

How severe is CVE-2023-36095?

CVE-2023-36095 has a severity rating of critical with a CVSS score of 9.8.

4

How can I fix CVE-2023-36095?

To fix CVE-2023-36095, update Harrison Chase langchain to version 0.0.236.

5

Where can I find more information about CVE-2023-36095?

You can find more information about CVE-2023-36095 on the GitHub page of Harrison Chase langchain (https://github.com/hwchase17/langchain) and the official website of langchain (http://langchain.com).

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