---
id: "CVE-2026-65973"
page: "https://infrastack.ai/live/CVE-2026-65973"
kind: "vulnerability"
aliases: ["CVE-2026-65973"]
title: "Laradocs: unescaped Node.js path lets local users inject commands"
severity: "medium"
cvss: 6.4
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["laradocs", "laravel", "package", "php"]
not_affected_if: ["no-server-side-katex", "version-1.0.0-or-later"]
published_at: "2026-11-11T21:16:46+00:00"
first_seen_at: "2026-11-11T21:29:09+00:00"
updated_at: "2026-11-11T21:30:52+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-65973", "first_seen_at": "2026-11-11T21:29:09+00:00"}]
exploit_sources: []
---

# Laradocs: unescaped Node.js path lets local users inject commands

Link for people: https://infrastack.ai/live/CVE-2026-65973 (this .md is for agents)

Laradocs, a documentation tool for Laravel projects, builds a shell command string with an unescaped Node.js binary path when rendering KaTeX math on the server. A party who can control that path can run arbitrary commands on the host running the render.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed Laradocs version in the project's `composer.lock` for `laradocs` at a version from `0.4.0` up to, but not including, `1.0.0`.
- Confirm whether the KaTeX server-side rendering path is used, which the sources do not describe in detail.

## Fix

- Laradocs: upgrade to `1.0.0` or later.

## Timeline

- 2026-11-11T21:29:09+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-65973

## Documents

- [advisory] Vendor advisory: github.com https://github.com/PeteBishwhip/laradocs/security/advisories/GHSA-h746-qpxh-ph7g
- [fix] Release notes: github.com https://github.com/PeteBishwhip/laradocs/releases/tag/v1.0.0

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
