CVE-2026-58173 in Vibe-Tradinginfo

Summary

by MITRE • 06/30/2026

Vibe-Trading before 0.1.10 contains a path traversal vulnerability that allows attackers to write files outside the intended memory root directory by supplying a malicious memory_type value containing path traversal sequences through the remember tool. Attackers can manipulate the memory_type parameter in the persistent memory store to cause the application to write arbitrary Markdown files to unintended locations on the filesystem.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 06/30/2026

This vulnerability exists within the Vibe-Trading application version 0.1.10 and earlier, representing a critical path traversal flaw that enables unauthorized file system manipulation through the remember tool functionality. The vulnerability stems from insufficient input validation and sanitization of the memory_type parameter, which is processed within the persistent memory store component. When attackers supply malicious memory_type values containing directory traversal sequences such as ../ or ..\, they can bypass intended security boundaries and write files outside the designated root directory. This flaw operates at the core of the application's file handling mechanisms, exploiting weak input validation to manipulate the intended storage location.

The technical exploitation occurs through manipulation of the persistent memory store's parameter processing logic, where the memory_type value is directly used to determine file write locations without proper sanitization or path validation. Attackers can craft malicious inputs that contain sequences like ../config/ or ../../../etc/passwd that traverse directories beyond the intended memory root. When the application processes these crafted inputs through the remember tool, it executes file system operations that write Markdown files to arbitrary locations on the target system, potentially including system directories or sensitive configuration areas. This vulnerability fundamentally undermines the application's security model by allowing attackers to escape the intended storage boundaries.

The operational impact of this vulnerability extends beyond simple file system manipulation, as attackers can leverage this weakness to compromise the entire application environment. By writing files to unintended locations, adversaries can potentially overwrite critical system files, inject malicious content into configuration directories, or create backdoor access points within the application's file structure. The persistent memory store functionality becomes a vector for broader system compromise, as attackers can establish persistence mechanisms by placing malicious files in locations that are regularly accessed or processed by the application. This vulnerability also creates opportunities for privilege escalation if the application has elevated permissions when writing to the file system.

Security mitigations should focus on implementing robust input validation and sanitization procedures at all levels of the application's processing pipeline, particularly around the memory_type parameter handling within the remember tool functionality. The implementation should enforce strict path validation using whitelist-based approaches that only permit predefined safe directory paths, ensuring that no traversal sequences can be processed through the persistent memory store. Additionally, the application should implement proper privilege separation and sandboxing mechanisms to limit the damage from successful exploitation attempts. Organizations should also consider implementing automated monitoring for unusual file system write operations and establish secure coding practices that align with established security standards such as those outlined in CWE-23 Path Traversal and CWE-77 Path Traversal. The vulnerability's characteristics align with ATT&CK techniques related to privilege escalation and persistence through file system manipulation, making it particularly dangerous when combined with other exploitation vectors within the application ecosystem.

Responsible

VulnCheck

Reservation

06/29/2026

Disclosure

06/30/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Do you need the next level of professionalism?

Upgrade your account now!