CVE-2026-29870
7.6Agentic · agentic-context-engine
A directory traversal vulnerability in agentic-context-engine up to 0.7.1 allows arbitrary file writes via the checkpoint_dir parameter in the OfflineACE.run method.
Executive summary
A critical directory traversal vulnerability in the agentic-context-engine project allows authenticated attackers to perform arbitrary file writes, potentially leading to remote code execution.
Vulnerability
The vulnerability exists in the save_to_file method within ace/skillbook.py, which fails to normalize or validate filesystem paths. An authenticated attacker can exploit the checkpoint_dir parameter to escape the intended directory and overwrite arbitrary files on the host system.
Business impact
The ability to overwrite arbitrary files poses a severe risk to system integrity and security. Depending on the environment, this vulnerability could be leveraged to modify configuration files, overwrite binary executable files, or inject malicious scripts, leading to full system compromise or privilege escalation. With a CVSS score of 7.6, this flaw is considered high risk, as it grants an attacker significant control over the application environment.
Remediation
Immediate Action: Restrict access to the affected application and monitor for vendor updates that address the path validation logic in ace/skillbook.py.
Proactive Monitoring: Review application access logs for unusual directory traversal sequences, such as multiple dot-dot-slash patterns, within the checkpoint_dir parameter.
Compensating Controls: Deploy a Web Application Firewall or host-based intrusion detection system to block requests containing directory traversal sequences directed at the application.
Exploitation status
Public Exploit Available: Yes, a published proof-of-concept exists, as documented in the security research write-up referenced in the CVE record.
Analyst recommendation
Given the high CVSS score and the existence of a public proof-of-concept, organizations should treat this vulnerability with high urgency. Administrators must identify all instances of the agentic-context-engine within their environment and apply security patches as soon as they are made available by the maintainers. Until a fix is deployed, ensure the application runs with the minimum necessary filesystem permissions to limit the scope of potential file overwrites.