Skip to main content

la-forge-mcp CVE-2026-19038

| EUVDEUVD-2026-53873 LOW
Path Traversal (CWE-22)
2026-08-06 cna@vuldb.com GHSA-h7vv-3j7j-4c9x
2.1
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privileged MCP server credentials
  2. Delivery
    Invoke screenshot_element with crafted traversal argument
  3. Exploit
    Server constructs unsanitized file path
  4. Execution
    Write arbitrary file outside REF_DIR
  5. Impact
    Attacker-controlled content placed on host filesystem

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires low-privileged access to the la-forge-mcp MCP server - the CVSS PR:L metric confirms authentication is mandatory; unauthenticated exploitation is not supported. The attacker must be able to invoke the screenshot_element MCP tool and supply a crafted selector or output_name argument containing path traversal sequences (e.g., ../). The impact of a successful exploit is bounded by the OS-level permissions of the process running la-forge-mcp: if running as a non-root user, only paths accessible to that user can be written. Exploitation is limited to deployments of version 1.0.0 only.

Impact

The CVSS 4.0 score of 2.1 with vector AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N accurately reflects the constrained real-world risk. Network reachability with low complexity (AV:N/AC:L) lowers the bar for exploitation, but PR:L confirms low-privileged authentication is required - unauthenticated exploitation is not supported by this vector. The E:P supplemental metric confirms a public proof-of-concept exists, which marginally elevates urgency. All impact pillars are capped at Low (VC:L/VI:L/VA:L) with no scope change to subsequent systems (SC:N/SI:N/SA:N), meaning even successful exploitation is bounded by the operating system permissions of the la-forge-mcp process. No CISA KEV listing indicates no confirmed mass or targeted exploitation at time of analysis. The product's niche deployment footprint further limits aggregate risk. This is a low-priority finding for most organizations, but trivially patchable given the vendor's rapid v1.1.1 release.

Exploit ScenarioDerived

A low-privileged user authenticated to the la-forge-mcp MCP server crafts a screenshot_element tool call with a selector argument such as ../../../../tmp/malicious containing ../ traversal sequences. The server constructs the output path using the unsanitized input and writes a PNG file to the attacker-chosen location outside REF_DIR. A public proof-of-concept demonstrating this technique is referenced at https://github.com/gongyaugugyy/public_exp/issues/12.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 06, 2026

Path traversal in MonomythDevelopment la-forge-mcp 1.0.0 enables low-privileged authenticated users to write files outside the server's intended reference directory via the screenshot_element MCP tool. The screenshotElement function in src/index.ts constructed output file paths using unsanitized user-supplied selector or output_name arguments, allowing traversal sequences to escape REF_DIR entirely. A public proof-of-concept exists (CVSS E:P; referenced in gongyaugugyy/public_exp/issues/12), though no CISA KEV listing has been identified and the overall CVSS 4.0 score of 2.1 reflects the bounded, low-impact nature of this finding.

RemediationAI

Upgrade la-forge-mcp to version 1.1.1, which was released by the vendor specifically to address this vulnerability. The patched release is available at https://github.com/MonomythDevelopment/la-forge-mcp/releases/tag/v1.1.1 and the fix commit is 1102172c9adec4a619e241efd6bfb74f5b1f4332 (https://github.com/MonomythDevelopment/la-forge-mcp/commit/1102172c9adec4a619e241efd6bfb74f5b1f4332). If immediate upgrade is not feasible, restrict invocation of the MCP server to the narrowest possible set of trusted, authenticated users to reduce the blast radius of the PR:L exploitation requirement; note this is a compensating control only, not a fix, and does not prevent exploitation by any authorized low-privileged user. Additionally, monitor the REF_DIR directory and its parent paths for unexpected files as a detection measure. No configuration-level workaround eliminates the vulnerability without the code change.

Affected VersionsENISA

la-forge-mcp 1.0.0

Affected Packages

euvd la_forge_mcp no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

la-forge-mcp is a TypeScript/Node.js Model Context Protocol (MCP) server providing browser automation capabilities, including a screenshot_element tool that captures and persists screenshots of DOM elements. The root cause is CWE-22 (Path Traversal): the pre-patch screenshotElement function in src/index.ts built the output filename by applying only superficial character replacements (spaces to underscores, stripping dots and hashes) before passing the result directly to path.join(REF_DIR, ...). This normalization did not strip ../ sequences, allowing a crafted argument to escape REF_DIR. The fix (commit 1102172c9adec4a619e241efd6bfb74f5b1f4332) introduces two layered defenses: sanitizeName() for character normalization and resolveInRefDir(), which uses path.resolve() plus a directory-prefix assertion to guarantee no write leaves the reference directory regardless of platform-specific path quirks. No CPE string was provided in the input data; the affected component is identified solely via the GitHub repository.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vuldb) PRIMARY 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 6.3 MEDIUM

Network-accessible tool requiring low-privilege authentication (PR:L); impact bounded to Low across C/I/A as traversal is constrained by process-level OS permissions, with no scope change.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A security vulnerability has been detected in MonomythDevelopment la-forge-mcp 1.0.0. This issue affects the function screenshotElement of the file src/index.ts of the component screenshot_element Tool. Such manipulation of the argument output_name leads to path traversal. The attack can be executed remotely. Upgrading to version 1.1.1 is capable of addressing this issue. The name of the patch is 1102172c9adec4a619e241efd6bfb74f5b1f4332. Upgrading the affected component is advised. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.

Threat Intelligence Overview

EPSS Score
0.5%
Top 61% exploitable
Prevalence
Rare
obscure MCP server tool, minimal known production deployments
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy