Skip to main content
EPSS 0.8%top 45%

CVE-2026-86541: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in knowns-dev knowns

0
High
Published: 09/07/2026 (09/07/2026, 23:03:19 UTC)
Source: CVE Database V5
Vendor/Project: knowns-dev
Product: knowns

Description

knowns versions before 0.30.0 contain a path traversal vulnerability in the handleCodeReplace() function that allows attackers to overwrite arbitrary files outside the project root. Attackers can supply absolute paths or relative paths containing directory traversal sequences to write malicious content to sensitive files like shell startup scripts or SSH configuration files.

CVSS v4.0

Score 7.2high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
Low
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

knowns-dev

knowns

Affected versions
>=0 <0.30.0
GitHub Actionsmore threats →ai
knowns-dev/knowns
pkg:github/knowns-dev/knowns
Affected versions
<0.30.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/25/2026, 02:48:23 UTC

Technical Analysis

CVE-2026-86541 describes a path traversal vulnerability in knowns-dev's knowns product affecting versions prior to 0.30.0. The vulnerability exists in the handleCodeReplace() function, which improperly limits pathname access, enabling attackers to write files outside the intended project directory. This can be exploited by providing absolute paths or relative paths containing directory traversal sequences, potentially allowing overwriting of critical system files.

Potential Impact

An attacker can overwrite arbitrary files outside the project root directory, including sensitive system files like shell startup scripts and SSH configuration files. This could lead to unauthorized code execution or persistent access if malicious content is injected into these files. The vulnerability is remotely exploitable without privileges and requires user interaction.

Mitigation Recommendations

No explicit patch or remediation details are provided in the input data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid running vulnerable versions or restrict access to the vulnerable functionality if possible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-09-07T22:18:48.043Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a9f43bfacd9273b497857da

Added to database: 09/07/2026, 23:07:43 UTC

Last enriched: 09/25/2026, 02:48:23 UTC

Last updated: 10/23/2026, 01:15:27 UTC

Views: 83

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses