Skip to main content

Laradocs EUVDEUVD-2026-124034

| CVE-2026-65973 MEDIUM
OS Command Injection (CWE-78)
2026-11-11 GitHub_M GHSA-h746-qpxh-ph7g
6.4
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Obtain operator access to host
  2. Delivery
    Enable opt-in KaTeX SSR config
  3. Exploit
    Inject metacharacters via node_bin path
  4. Execution
    proc_open() runs crafted command string
  5. Impact
    Execute arbitrary OS commands

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

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

Exploitation Conditions

Two concrete, simultaneous preconditions are required, both outside default operation: (1) server-side KaTeX rendering must be explicitly enabled via laradocs.parser.katex.ssr, which ships disabled - the default KaTeX path is client-side/browser-rendered and never calls proc_open(); and (2) the attacker must control the Node binary path, either the configured laradocs.parser.katex.node_bin value or the process PATH used to resolve the 'node' default. Limiting factors that sharply reduce realistic risk: the vector is local (AV:L) with high attack complexity (AC:H) and high privileges (PR:H); no untrusted request data, documentation content, or network input reaches the vulnerable code path under normal operation; and controlling the required configuration or PATH already implies the ability to execute code on the host, so the flaw adds little beyond that existing access.

Impact

All signals point to a low real-world priority despite the 6.4 (Medium) CVSS. The CVSS 3.1 vector itself is already conservative - AV:L (local), AC:H (high complexity), PR:H (high privileges), UI:N - meaning the scoring model demands a local, highly-privileged attacker under non-default conditions. There is no CISA KEV listing and the input provides no EPSS probability, so there is no evidence of active or probable exploitation; exploitation status is 'no public exploit identified at time of analysis' (the only two references are the GHSA advisory and the v1.0.0 release, neither of which is working exploit code). The vuln.today Decision label is 'this_month', not act_now or emergency, consistent with a routine-remediation posture. Crucially, the vendor advisory itself rates this Low and frames it as hardening/defence-in-depth, because the injectable value (node_bin config or process PATH) is operator-controlled and the stated precondition - an untrusted party controlling that configuration or PATH - already implies code execution on the host, making the bug largely a privilege-redundant issue rather than a remotely reachable RCE. No untrusted request data or documentation content reaches the vulnerable proc_open() path. No signals conflict here: CVSS, SSVC-style decision label, absent KEV/EPSS, and vendor severity all agree this is low urgency.

Exploit ScenarioDerived

An actor who already has operator-level access to the host enables the opt-in server-side KaTeX rendering (laradocs.parser.katex.ssr, which ships disabled) and sets laradocs.parser.katex.node_bin - or manipulates the process PATH - to inject shell metacharacters into the unescaped Node binary argument of the proc_open() command string, which executes when SSR renders math. Because AV:L/AC:H/PR:H applies, this requires local, privileged, non-default access rather than remote interaction, and the precondition of controlling that config itself already implies host code execution. No public proof-of-concept or working exploit code was identified in the provided sources.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 11, 2026

Local command injection in Laradocs (Composer package petebishwhip/laradocs) from 0.4.0 up to, but excluding, 1.0.0 lets a party who already controls the configured KaTeX Node binary path - or the process PATH that resolves the default 'node' - inject shell commands through the proc_open() call used for server-side math rendering. Both preconditions sit outside default operation: server-side KaTeX must be explicitly switched on via laradocs.parser.katex.ssr (it ships disabled, with browser-side rendering being the default), and the attacker must hold high privileges and local access (CVSS AV:L/AC:H/PR:H). The vendor classifies this as Low severity and a hardening fix, since no request data, documentation content or network input reaches the vulnerable branch under normal use; no public exploit has been identified at time of analysis, and upstream fixed it in 1.0.0 (commit 100cb1e).

RemediationAI

Vendor-released patch: 1.0.0 (commit 100cb1e), which now runs the Node binary through escapeshellarg(); upgrade petebishwhip/laradocs to 1.0.0 or later and follow the 0.x-to-1.0 migration guide referenced in the release notes (https://github.com/PeteBishwhip/laradocs/releases/tag/v1.0.0) before bumping, because the API freeze introduces a small number of breaking changes. If the upgrade cannot be scheduled immediately, the exposure is closed by leaving laradocs.parser.katex.ssr disabled (its shipped default) so that KaTeX renders client-side via the configured js/css assets - the trade-off is that math rendering then depends on browser-side assets and no longer happens in pre-rendered server output. Where SSR is genuinely required, set laradocs.parser.katex.node_bin to a trusted, fixed absolute path with no shell metacharacters and restrict who can write to it and to the process PATH inherited by the PHP worker; this reduces but does not eliminate the injection surface, which is why the escaped 1.0.0 build remains the complete fix. Full details are in the advisory at https://github.com/PeteBishwhip/laradocs/security/advisories/GHSA-h746-qpxh-ph7g. The decision signal places this in the monthly remediation cadence rather than an emergency response, consistent with the vendor's own Low severity rating for a flaw that requires pre-existing host-level control to exploit.

Affected VersionsENISA

laradocs 0.4.0, < 1.0.0

Affected Packages

composer petebishwhip/laradocs fix: 1.0.0
euvd laradocs fix: 1.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

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

Technical ContextAI · show details

Laradocs renders Markdown documentation from inside a Laravel application. When server-side KaTeX rendering is enabled, MarkdownPipelineFactory builds a KatexExtension from the configured binary, and the render path in the extension constructs a shell command string of the form $node . ' ' . escapeshellarg($tmpFile) . ' ' . escapeshellarg($input), passing it to proc_open(). The temporary file and the input were escaped with escapeshellarg(), but the Node binary argument was concatenated raw, which is the CWE-78 command-injection root cause: any shell metacharacters in that string would be interpreted by the shell. The value originates from Config::nullableString('laradocs.parser.katex.node_bin'), defaulting to 'node' resolved from PATH - both operator-controlled sources rather than untrusted request or document content. Critically, the default KaTeX path is client-side, rendering in the browser via the configured js/css assets and never invoking proc_open(); SSR is opt-in and shipped disabled. The fix wraps the binary in escapeshellarg() like the other command components.

Know when Laradocs gets its next vulnerability

  • 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 (GitHub_M) PRIMARY 6.4 MEDIUM
AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 6.4 MEDIUM

Vector is local and config-only (AV:L); SSR is non-default and PATH/config control is needed (AC:H, PR:H); successful injection yields OS command execution, so C/I/A all High.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

1
Patch available
Nov 11, 2026 - 22:18 EUVD

DescriptionCVE.org

Laradocs maintains version-controlled documentation inside a Laravel codebase. From version 0.4.0 to before version 1.0.0, Laradocs is vulnerable to local command injection in server-side KaTeX rendering via an unescaped Node.js binary path in a proc_open() command string. This issue has been patched in version 1.0.0.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Rare
single-maintainer Laravel documentation package, tiny Composer footprint, no enterprise adoption evidence
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Defer
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

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