CVE-2026-16130

nearai ironclaw write_file path_utils.rs validate_path link following

Published Jul 18, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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'}

Weaknesses
  • CWE-59

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

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Jul 20, 2026, 4:54 PM
Reserved
Jul 17, 2026, 4:16 PM
Status
Deferred
Published
Jul 18, 2026, 6:16 PM
Modified
Oct 24, 2026, 8:10 PM