Vulnerability DatabaseGHSA-9wjh-jr2j-6r4x

GHSA-9wjh-jr2j-6r4x
JavaScript vulnerability analysis and mitigation

Overview

A high-severity Remote Code Execution (RCE) vulnerability was identified in the pi_video_recording npm package (GHSA-9wjh-jr2j-6r4x). The vulnerability was discovered and reviewed on August 31, 2020, published to the GitHub Advisory Database on September 2, 2020, and last updated on January 9, 2023. The vulnerability affects all versions of the package with no patched versions available (GitHub Advisory).

Technical details

The vulnerability stems from insufficient input validation in the server's /api/record/start endpoint. The weakness is classified as CWE-20 (Improper Input Validation). An attacker can exploit this vulnerability by sending specially crafted JSON payloads to the endpoint, allowing for arbitrary code execution (GitHub Advisory).

Impact

The vulnerability allows attackers to execute arbitrary code on the affected system through the /api/record/start endpoint. This can be demonstrated by creating files in the /tmp directory using maliciously crafted requests, indicating potential for more severe exploitation (GitHub Advisory).

Exploitability

A proof of concept exploit exists, which can be executed using a curl command with a specially crafted JSON payload: curl -POST -H "Content-Type: application/json" -d '{"filename": " || touch /tmp/worked;"}' http://localhost:5000/api/record/start. This results in the creation of a file in the /tmp/ directory, demonstrating the vulnerability's exploitability (GitHub Advisory).

Mitigation and workarounds

No official fix is currently available for this vulnerability. The recommended mitigation strategy is to consider using an alternative module until a security fix is made available (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-45618CRITICAL10
  • JavaScript logoJavaScript
  • liquidjs
NoYesAug 11, 2026
CVE-2026-48170CRITICAL9.1
  • JavaScript logoJavaScript
  • scim-patch
NoYesAug 07, 2026
CVE-2026-48007HIGH8.6
  • JavaScript logoJavaScript
  • @element-hq/element-call-embedded
NoYesAug 07, 2026
CVE-2026-69207MEDIUM5.3
  • JavaScript logoJavaScript
  • gemini-cli
NoYesAug 07, 2026
CVE-2026-71850MEDIUM4.8
  • JavaScript logoJavaScript
  • langfuse-fips-3
NoYesAug 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management