CVE-2026-120325
Received Received - Intake

Path Traversal in Webpro-nl Knip

Vulnerability report for CVE-2026-120325, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-02

Last updated on: 2026-11-02

Assigner: VulDB

Description

A security vulnerability has been detected in Webpro-nl Knip up to 6.44.0. The impacted element is the function writeFile of the file packages/knip/src/IssueFixer.ts of the component Workspace Handler. Such manipulation of the argument workspaces leads to path traversal. The attack can be executed remotely. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-02
Last Modified
2026-11-02
Generated
2026-11-02
AI Q&A
2026-11-02
EPSS Evaluated
N/A
NVD

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-120325 is a path traversal vulnerability in Webpro-nl Knip up to version 6.44.0. The issue occurs in the writeFile function of IssueFixer.ts where manipulation of the workspaces argument allows attackers to access files outside the intended directory. This happens when a victim runs the knip --fix command with a malicious workspace path, causing the tool to scan and modify files beyond the repository.

Detection Guidance

Check if Knip versions 6.39.0 or earlier are installed by running: npm list -g knip or npm list knip. Inspect package.json and knip.json files for malicious workspace paths like ../victim-external. Monitor file system changes after running knip --fix for unexpected deletions or modifications.

Impact Analysis

This vulnerability can allow attackers to delete or overwrite sensitive files on your system by tricking you into running a malicious knip --fix command. It may lead to data loss, code injection into other projects, or compromise of confidential information stored outside the repository.

Compliance Impact

This vulnerability could lead to unauthorized file deletion or overwriting outside the repository, potentially exposing or destroying sensitive data. This may violate GDPR's integrity and confidentiality requirements or HIPAA's safeguards for protected health information if such data is affected.

Mitigation Strategies

Upgrade Knip to the latest version if available. Avoid running knip --fix on untrusted repositories. Implement path containment checks in workspace resolution and validate glob patterns to prevent escaping the repository root.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-120325. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...