Remote Code Execution in pi_video_recording

pi_video_recording Updated 02 Oct 2025

Summary

02/09/2020
HIGH
No i
High
Not published

GHSA-9wjh-jr2j-6r4x: Remote Code Execution in pi_video_recording. Affected versions are not published. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The pi_video_recording package is an npm module used for video recording. It provides functionality to start and stop video recording through an API. The package is vulnerable to Remote Code Execution due to insufficient input validation in the /api/record/start endpoint. This vulnerability allows an attacker to execute arbitrary code on the server.

Vulnerability Detail

The vulnerability in pi_video_recording allows an attacker to execute arbitrary code by exploiting the insufficient input validation in the /api/record/start endpoint. By sending a specially crafted request, an attacker can inject malicious code that will be executed on the server. This can lead to unauthorized access, data breaches, and potential compromise of the entire system. The vulnerability has been assigned a severity rating of HIGH.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a workaround, you can implement additional input validation and sanitization in your own code to mitigate the risk of code injection. Ensure that any user-supplied data is properly validated and sanitized before using it in server-side code.

Conclusion

The pi_video_recording package is vulnerable to Remote Code Execution due to insufficient input validation. Currently, there is no fix available, and it is recommended to consider using an alternative module. Implementing additional input validation and sanitization in your own code can help mitigate the risk. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for pi_video_recording →

Share this vulnerability

FAQ

This vulnerability allows an attacker to execute arbitrary code on the server, which can lead to unauthorized access, data breaches, and potential compromise of the entire system.

Currently, there is no fix available. It is recommended to consider using an alternative module until a fix is made available.

To protect your application, you can implement additional input validation and sanitization in your own code. Ensure that any user-supplied data is properly validated and sanitized before using it in server-side code.

There are no known exploits available at the moment. However, it is important to address this vulnerability as soon as possible to prevent any potential attacks.

You can find more information about this vulnerability in the official GitHub advisory database. Additionally, you can reach out to info@devnack.com for further support on vulnerability remediation.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback