CVE-2026-85694 Details
Description
LaVague 0.2.35 contains a remote code execution vulnerability in PythonFromMarkdownExtractor.extract_as_object that evaluates untrusted language model output derived from web page content. Attackers can inject malicious Python code through web pages using indirect prompt injection to execute arbitrary code on the operator's host without review.
A remote code execution vulnerability exists in LaVague version 0.2.35. The issue arises in the 'PythonFromMarkdownExtractor.extract_as_object' method, where untrusted output from a language model, derived from web page content, is evaluated as Python code. This vulnerability allows attackers to inject malicious Python scripts through web pages, using indirect prompt injection, which are then executed on the operator's host without any prior review.
To address this vulnerability, it is recommended to replace the 'eval' function with a safer alternative that can parse Python literals or JSON, such as 'ast.literal_eval' or 'json.loads'. Additionally, all output from the extraction model should be treated as untrusted, given its origin from potentially harmful web content.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 4, 2026CISA-ADP
Assessed Sep 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/lavague-ai/LaVague/issues/650 | CISA-ADP | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/lavague-ai/LaVague | [email protected] | ProductSource CodeVendor |
| https://github.com/lavague-ai/LaVague/blob/9024bb83/lavague-core/lavague/core/extractors.py | [email protected] | Source CodeVendor |
| https://github.com/lavague-ai/LaVague/issues/650 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://www.vulncheck.com/advisories/lavague-0.2.35-remote-code-execution-via-eval-extraction | [email protected] | AdvisoryBundleVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| LaVague | <= 0.2.35 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 8, 2026 | CVE Modified | CISA-ADP |
| Sep 4, 2026 | New CVE Received | [email protected] |
Volerion