Skip to content

CVE-2025-68154 — systeminformation Command Injection vulnerability (CVSS 7.5).

Key facts

CVE-2025-68154 is a High (8.1) vulnerability: systeminformation Command Injection vulnerability (CVSS 7.5).. This entry ships a detection-only PoC and a Docker test lab.

CVE CVE-2025-68154
Severity High (8.1)
Detection / prevention —
PoC poc.py
Source 2025/CVE-2025-68154/

Details

English | 한국어

Description

systeminformation Command Injection vulnerability (CVSS 7.5). A severe command-injection vulnerability in systeminformation, a widely used Node.js library. The flaw allows attackers to execute arbitrary commands on Windows systems when applications pass user input to the vulnerable function. The vulnerability exists in the fsSize() function, which retrieves disk space information but fails to properly validate the optional drive parameter before passing it to PowerShell commands. An attacker can inject malicious PowerShell commands through the drive parameter. Patched in version 5.27.14 released on December 16, 2025.

Vulnerability Details

Property Value
CVE ID CVE-2025-68154
Type RCE
CVSS Score 8.1

Proof of Concept

Download

# Download PoC script
curl -O https://raw.githubusercontent.com/fankh/vulnerability-poc/main/2025/CVE-2025-68154/poc.py

Usage

# Run PoC against target
python3 poc.py --target <TARGET_URL>

# With authentication
python3 poc.py --target <TARGET_URL> --username <USER> --password <PASS>

⚠️ Warning: This PoC is for authorized security testing only. It uses detection-only techniques and does not exploit or damage target systems.

Test Lab

This repository includes a Docker-based test environment with both vulnerable and patched applications.

Quick Start

# Clone and navigate to CVE directory
cd CVE-2025-68154

# Start both applications
docker-compose up -d

# Run tests
./run-tests.sh    # Linux/Mac
./run-tests.ps1   # Windows PowerShell

Application Endpoints

Application URL Status
Vulnerable App http://localhost:8080 Shows vulnerability
Patched App http://localhost:8081 Demonstrates fix

Directory Structure

├── README.md           # English documentation
├── README_KO.md        # Korean documentation
├── poc.py              # PoC detection script
├── docker-compose.yml  # Container orchestration
├── run-tests.sh        # Linux/Mac test runner
├── run-tests.ps1       # Windows test runner
├── vulnerable-app/     # Vulnerable version
│   ├── app.py
│   ├── Dockerfile
│   └── requirements.txt
└── patched-app/        # Fixed version
    ├── app.py
    ├── Dockerfile
    └── requirements.txt

References

  • https://github.com/sebhildebrandt/systeminformation/commit/c52f9fd07fef42d2d8e8c66f75b42178da701c68
  • https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-wphj-fx3q-84ch

Generated by PoC Generator on 2026-01-23T19:02:55.872901293

Frequently asked questions

What is CVE-2025-68154?

CVE-2025-68154 is a High (8.1) vulnerability: systeminformation Command Injection vulnerability (CVSS 7.5).. This entry ships a detection-only PoC and a Docker test lab.

How do I detect CVE-2025-68154?

Run the detection-only PoC included with this entry against your Docker test lab to confirm whether a target is affected; pair it with your own IDS logging.

How do I block or mitigate CVE-2025-68154?

Upgrade to a fixed version per the vendor advisory; the NVD record lists the affected versions. Use the included PoC to verify your remediation.


For authorized security testing and research only. See the full source and NVD record.