{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-14361 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-14361 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-14361 is a medium-severity path traversal vulnerability in HashiCorp Tooling, published on 8 Jul 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-14361 and fix it if it is affected.\n\nWhat it is: CVE-2026-14361 is a medium-severity path traversal vulnerability in HashiCorp Tooling, published on 8 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-14361 in the wild and no public exploit code.\n\nAffected product: HashiCorp Tooling. 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-14361/ (Markdown: https://insights.sbomify.com/CVE-2026-14361/index.md)","id":"CVE-2026-14361","markdown":"https://insights.sbomify.com/CVE-2026-14361/index.md","name":"CVE-2026-14361","record":{"aliases":["GHSA-xcm7-pmg9-8wjq"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_modify","other"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Consul template tool","requires_auth":"low_privilege","summary":"Attackers can exploit symlink attacks to write template output outside intended directories or overwrite existing files.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"HashiCorp","cpe":[],"cvss":{"score":4.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"description":"The consul-template library before version 0.42.1 is vulnerable to a path redirection issue in the writeToFile template helper that may allow template output to be written outside the intended directory or to overwrite an existing file. This vulnerability (CVE-2026-14361) is fixed in consul-template 0.42.1.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-08-01","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-08-01T16:46:00Z","kind":"github_poc","ref":"https://github.com/0xmrma/CVE-2026-14361","stars":0,"title":"Consul Template's writeToFile helper opened an operator-supplied destination directly and followed linked path components, allowing rendered output to escape the intended directory and overwrite a preexisting file."}],"tier":"poc_unverified"},"has_fix":false,"headline":"Consul-template is vulnerable to path redirection in writeToFile through symlink attack","id":"CVE-2026-14361","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Denial of service via crafted push/pull gossip message in memberlist","id":"CVE-2026-14362"},"packages":[],"prev":{"headline":"Privilege escalation in YITH WooCommerce Waitlist Premium","id":"CVE-2026-14359"},"products":["Tooling"],"published":"2026-07-08","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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-08","vendors":["HashiCorp"]},"summary":"Attackers can exploit symlink attacks to write template output outside intended directories or overwrite existing files.","url":"https://insights.sbomify.com/CVE-2026-14361/"}