Description
A vulnerability was identified in nearai ironclaw up to 0.29.1. The affected element is the function validate_path of the file src/tools/builtin/path_utils.rs of the component write_file. The manipulation leads to link following. Local access is required to approach this attack. The exploit is publicly available and might be used. The identifier of the patch is 369ff3d240cf3c0787b50e1e9f182e1a06c71255. It is recommended to apply a patch to fix this issue.
Published: 2026-07-18
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A vulnerability in the validate_path function of the write_file component allows a local attacker who can write files to influence the path handling logic so that symbolic links are followed. This can cause the program to access or modify files outside the intended directory, potentially exposing sensitive data or altering unintended files. The weakness is a classic path traversal flaw classified as CWE-59.

Affected Systems

The flaw exists in the Nearai Ironclaw tool, affecting all releases up to and including version 0.29.1. Any installation of this tool that includes the write_file component and the path_utils module is potentially vulnerable.

Risk and Exploitability

The vulnerability carries a CVSS score of 4.8, indicating moderate severity, and an EPSS score of less than 1 %, meaning publicly observed exploitation is currently rare. The flaw is not listed in the CISA KEV catalog, and local access is required to exploit it. An exploit is publicly available in the source repository and may be used by attackers with local privilege. Applying the patch identified by commit 369ff3d240cf3c0787b50e1e9f182e1a06c71255 mitigates the issue.

Generated by OpenCVE AI on August 1, 2026 at 08:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the official patch commit 369ff3d240cf3c0787b50e1e9f182e1a06c71255 or upgrade to a version released after 0.29.1 that includes the fix
  • Disable or remove the write_file functionality if it is not required in the deployed environment
  • Run the application with the least privilege necessary so that the directories accessed by write_file are owned by a non‑privileged user

Generated by OpenCVE AI on August 1, 2026 at 08:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 18 Jul 2026 17:45:00 +0000

Type Values Removed Values Added
Description A vulnerability was identified in nearai ironclaw up to 0.29.1. The affected element is the function validate_path of the file src/tools/builtin/path_utils.rs of the component write_file. The manipulation leads to link following. Local access is required to approach this attack. The exploit is publicly available and might be used. The identifier of the patch is 369ff3d240cf3c0787b50e1e9f182e1a06c71255. It is recommended to apply a patch to fix this issue.
Title nearai ironclaw write_file path_utils.rs validate_path link following
First Time appeared Nearai
Nearai ironclaw
Weaknesses CWE-59
CPEs cpe:2.3:a:nearai:ironclaw:*:*:*:*:*:*:*:*
Vendors & Products Nearai
Nearai ironclaw
References
Metrics cvssV2_0

{'score': 3.2, 'vector': 'AV:L/AC:L/Au:S/C:N/I:P/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 4.4, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-20T16:54:15.398Z

Reserved: 2026-07-17T16:16:09.661Z

Link: CVE-2026-16130

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T08:15:03Z

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')