CVE-2026-67531: CWE-94: Improper Control of Generation of Code ('Code Injection') in agentfront frontmcp
CVE-2026-67531 is a critical code injection vulnerability in the agentfront frontmcp TypeScript framework prior to version 1.5.7. The flaw allows sandbox escape and remote code execution due to exposure of live host Zod schema instances and violation of ECMAScript Proxy invariants. This enables attackers to execute arbitrary code as the server user, potentially accessing sensitive secrets and credentials. The vulnerability is fixed in version 1.5.7.
AI Analysis
Technical Summary
FrontMCP versions before 1.5.7 expose live host Zod schema instances to sandboxed scripts via the getTool() method. Because Zod v4 defines the _zod property as non-configurable and non-writable, ECMAScript Proxy invariants cause the security membrane to return the raw host object. This allows scripts to reach _zod.constr.constructor, the host Function constructor, enabling arbitrary code execution on the server process. The default public mode authentication setting allows unauthenticated access, and indirect prompt injection can trigger exploitation even on authenticated servers. This vulnerability enables remote code execution with access to sensitive environment secrets such as OAuth client secrets, JWT_SECRET, session keys, database credentials, and cloud metadata. The issue is resolved in version 1.5.7.
Potential Impact
Successful exploitation results in remote code execution as the server user, allowing attackers to access all data and secrets held by the process, including OAuth client secrets, JWT_SECRET, session keys, database credentials, and cloud instance metadata. This compromises the confidentiality and integrity of the server environment and its data.
Mitigation Recommendations
Upgrade to frontmcp version 1.5.7 or later, where this vulnerability is fixed. No other mitigations are indicated. Patch status is not explicitly stated but the vendor has fixed the issue in version 1.5.7.
CVE-2026-67531: CWE-94: Improper Control of Generation of Code ('Code Injection') in agentfront frontmcp
Description
CVE-2026-67531 is a critical code injection vulnerability in the agentfront frontmcp TypeScript framework prior to version 1.5.7. The flaw allows sandbox escape and remote code execution due to exposure of live host Zod schema instances and violation of ECMAScript Proxy invariants. This enables attackers to execute arbitrary code as the server user, potentially accessing sensitive secrets and credentials. The vulnerability is fixed in version 1.5.7.
CVSS v4.0
Score 9.3critical
Affected software
pkg:github/agentfront/frontmcpRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
FrontMCP versions before 1.5.7 expose live host Zod schema instances to sandboxed scripts via the getTool() method. Because Zod v4 defines the _zod property as non-configurable and non-writable, ECMAScript Proxy invariants cause the security membrane to return the raw host object. This allows scripts to reach _zod.constr.constructor, the host Function constructor, enabling arbitrary code execution on the server process. The default public mode authentication setting allows unauthenticated access, and indirect prompt injection can trigger exploitation even on authenticated servers. This vulnerability enables remote code execution with access to sensitive environment secrets such as OAuth client secrets, JWT_SECRET, session keys, database credentials, and cloud metadata. The issue is resolved in version 1.5.7.
Potential Impact
Successful exploitation results in remote code execution as the server user, allowing attackers to access all data and secrets held by the process, including OAuth client secrets, JWT_SECRET, session keys, database credentials, and cloud instance metadata. This compromises the confidentiality and integrity of the server environment and its data.
Mitigation Recommendations
Upgrade to frontmcp version 1.5.7 or later, where this vulnerability is fixed. No other mitigations are indicated. Patch status is not explicitly stated but the vendor has fixed the issue in version 1.5.7.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-29T18:47:17.073Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a73c6b4bf8831d5399d0b73
Added to database: 08/05/2026, 23:26:44 UTC
Last enriched: 08/05/2026, 23:41:13 UTC
Last updated: 08/06/2026, 02:23:54 UTC
Views: 25
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.