{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-7397 exists.","fix":"No fix has been published for CVE-2026-7397 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-7397 is a medium-severity path traversal vulnerability in NousResearch hermes-agent, published on 29 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-7397 and fix it if it is affected.\n\nWhat it is: CVE-2026-7397 is a medium-severity path traversal vulnerability in NousResearch hermes-agent, published on 29 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-7397 exists.\n\nAffected product: NousResearch hermes-agent. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-7397/ (Markdown: https://insights.sbomify.com/CVE-2026-7397/index.md)","id":"CVE-2026-7397","markdown":"https://insights.sbomify.com/CVE-2026-7397/index.md","name":"CVE-2026-7397","record":{"aliases":["GHSA-g8j6-2v57-f5wp"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"AI agent library","requires_auth":"low_privilege","summary":"Local attackers can bypass path restrictions via symlink following in file tools, potentially accessing or modifying sensitive files.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[],"cvss":{"score":4.8,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"},{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"description":"A security flaw has been discovered in NousResearch hermes-agent 0.8.0. This affects the function _check_sensitive_path of the file tools/file_tools.py. The manipulation results in symlink following. Attacking locally is a requirement. The exploit has been released to the public and may be used for attacks. Upgrading to version 0.9.0 is able to mitigate this issue. The patch is identified as 311dac197145e19e07df68feba2cd55d896a3cd1. Upgrading the affected component is recommended.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"NousResearch hermes-agent file_tools.py _check_sensitive_path symlink","id":"CVE-2026-7397","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":8,"next":{"headline":"florensiawidjaja BioinfoMCP Upload Endpoint app.py upload path traversal","id":"CVE-2026-7398"},"packages":[],"prev":{"headline":"NousResearch hermes-agent WeChat Work Platform Adapter wecom.py path traversal","id":"CVE-2026-7396"},"products":["hermes-agent"],"published":"2026-04-29","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-30","vendors":["NousResearch"]},"summary":"Local attackers can bypass path restrictions via symlink following in file tools, potentially accessing or modifying sensitive files.","url":"https://insights.sbomify.com/CVE-2026-7397/"}