Impact
The flaw resides in the screenshotElement function located in src/index.ts of MonomythDevelopment's la-forge-mcp component. By manipulating the output_name argument, a remote attacker can trigger a path traversal that enables writing or reading files outside the allotted directory. This could lead to disclosure of sensitive data, tampering with files, or executing arbitrary code depending on file permissions.
Affected Systems
MonomythDevelopment's la-forge-mcp component, version 1.0.0, is affected. The issue is fixed in version 1.1.1. The patch commit identifier is 1102172c9adec4a619e241efd6bfb74f5b1f4332.
Risk and Exploitability
The CVSS score is 5.3, indicating a medium impact. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is remote, and the exploit requires sending a crafted screenshotElement request with a manipulated output_name to achieve path traversal. No publicly known exploit is reported, but the medium CVSS score and remote nature suggest a notable risk for exposed deployments.
OpenCVE Enrichment