Description
In Devika v1.0, the Feature Agent save_code_to_project function contains a path traversal vulnerability that allows attackers to write files outside the intended project workspace, potentially compromising the entire server.
Published: 2026-10-01
Score: n/a
EPSS: n/a
KEV: No
Impact: Arbitrary file write leading to server compromise
Action: Immediate Patch
AI Analysis

Impact

The Vulnerability: The code that handles saving user generated code in Devika v1.0 allows a malicious actor to inject file paths that escape the intended project directory. This oversight enables arbitrary write operations beyond the workspace boundaries. The consequence is that an attacker could create critical files, overwrite system configuration, or otherwise compromise the full server. The weakness is a typical Path Traversal flaw, classified as CWE-22.

Affected Systems

This flaw exists in Devika version 1.0. Users who run that version with the default Feature Agent interface are exposed. The description does not name additional variants or higher releases, so only the stated version is known to be affected.

Risk and Exploitability

Because the function is publicly exposed through the Feature Agent, the attack vector is likely remote, via legitimate user interfaces or API calls. No exploit score or CVSS rating is provided, and the EPSS is missing, making the precise risk hard to quantify. However, an exploit would let the attacker write any file the process can reach, potentially allowing full control of the host. The vulnerability is not listed in CISA KEV, suggesting no confirmed public exploits yet, but the severity of an arbitrary file write is high and warrants immediate attention.

Generated by OpenCVE AI on October 1, 2026 at 22:26 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a newer Devika release where the path traversal issue is fixed.
  • If no patch is available, restrict the file system permissions of the Devika process to prevent it from writing outside the intended workspace.
  • Implement input validation to reject any file paths containing '..' components or absolute paths before they reach the save_code_to_project logic.
  • Monitor logs for abnormal file write attempts in the development workspace.

Generated by OpenCVE AI on October 1, 2026 at 22:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 01 Oct 2026 22:45:00 +0000

Type Values Removed Values Added
Title Path Traversal Allowing Arbitrary File Write in Devika v1.0 Feature Agent
First Time appeared Stitionai
Stitionai devika
Weaknesses CWE-22
Vendors & Products Stitionai
Stitionai devika

Thu, 01 Oct 2026 21:45:00 +0000

Type Values Removed Values Added
Description In Devika v1.0, the Feature Agent save_code_to_project function contains a path traversal vulnerability that allows attackers to write files outside the intended project workspace, potentially compromising the entire server.
References

Subscriptions

Stitionai Devika
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-10-01T21:30:30.778Z

Reserved: 2026-06-08T00:00:00.000Z

Link: CVE-2026-51875

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-01T22:17:02.260

Modified: 2026-10-01T22:17:02.260

Link: CVE-2026-51875

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T22:30:14Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')