{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-31365 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-31365 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-31365 is a medium-severity code injection vulnerability in Fortinet Forticlient, published on 14 Oct 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-31365 and fix it if it is affected.\n\nWhat it is: CVE-2025-31365 is a medium-severity code injection vulnerability in Fortinet Forticlient, published on 14 Oct 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-31365 in the wild and no public exploit code.\n\nAffected product: Fortinet Forticlient. 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-2025-31365/ (Markdown: https://insights.sbomify.com/CVE-2025-31365/index.md)","id":"CVE-2025-31365","markdown":"https://insights.sbomify.com/CVE-2025-31365/index.md","name":"CVE-2025-31365","record":{"aliases":["GHSA-9h7f-3j8v-pcfj"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"FortiClient Mac","requires_auth":"none","summary":"An unauthenticated attacker can execute arbitrary code on a victim's Mac by tricking them into visiting a malicious website.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"fortinet","cpe":[{"product":"forticlient","vendor":"fortinet"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L/E:P/RL:X/RC:C","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"An Improper Control of Generation of Code ('Code Injection') vulnerability [CWE-94] in FortiClientMac 7.4.0 through 7.4.3, 7.2.1 through 7.2.8 may allow an unauthenticated attacker to execute arbitrary code on the victim's host via tricking the user into visiting a malicious website.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Code injection in FortiClientMac","id":"CVE-2025-31365","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"fortinet:forticlient","products":["fortinet:forticlient"],"type":"code_injection","year":"2025"},"n_packages":0,"n_references":1,"next":{"headline":"Cross-site scripting in FortiOS","id":"CVE-2025-31366"},"packages":[],"prev":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority because it is Unused","id":"CVE-2025-31364"},"products":["FortiClientMac"],"published":"2025-10-14","related":[{"cvss_score":9.8,"headline":"Privilege escalation in Fortinet FortiClientWindows","id":"CVE-2019-17658","kev_date_added":null,"published":"2020-03-12"},{"cvss_score":9.4,"headline":"Code injection in FortiClientLinux","id":"CVE-2023-45590","kev_date_added":null,"published":"2024-04-09"},{"cvss_score":8.8,"headline":"Information disclosure in FortiClient SSLVPN Client for Linux","id":"CVE-2017-14184","kev_date_added":null,"published":"2017-12-15"},{"cvss_score":8.8,"headline":"Privilege escalation in Fortinet FortiClient","id":"CVE-2016-8493","kev_date_added":null,"published":"2017-06-26"},{"cvss_score":8.6,"headline":"Privilege escalation in FortiClientLinux","id":"CVE-2020-15934","kev_date_added":null,"published":"2024-12-19"},{"cvss_score":8.6,"headline":"Path traversal in FortiClientWindows","id":"CVE-2019-5589","kev_date_added":null,"published":"2019-05-28"},{"cvss_score":8.4,"headline":"Privilege escalation in Fortinet FortiClientWindows","id":"CVE-2021-43066","kev_date_added":null,"published":"2022-05-11"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["Fortinet"]},"summary":"An unauthenticated attacker can execute arbitrary code on a victim's Mac by tricking them into visiting a malicious website.","url":"https://insights.sbomify.com/CVE-2025-31365/"}