{"answers":{"affected":"It affects 5 products.","exploited":"There is no known exploitation of CVE-2024-40588 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-40588 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-40588 is a medium-severity path traversal vulnerability in Fortinet FortiCamera, published on 12 Aug 2025. 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-2024-40588 and fix it if it is affected.\n\nWhat it is: CVE-2024-40588 is a medium-severity path traversal vulnerability in Fortinet FortiCamera, published on 12 Aug 2025. 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-2024-40588 in the wild and no public exploit code.\n\nAffected product: Fortinet FortiCamera. 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-2024-40588/ (Markdown: https://insights.sbomify.com/CVE-2024-40588/index.md)","id":"CVE-2024-40588","markdown":"https://insights.sbomify.com/CVE-2024-40588/index.md","name":"CVE-2024-40588","record":{"aliases":["GHSA-hxwc-32r9-7287"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Fortinet network appliances","requires_auth":"high_privilege","summary":"Privileged attackers can read arbitrary files from the underlying filesystem via crafted CLI requests in multiple Fortinet network appliances.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"fortinet","cpe":[{"product":"forticamera_firmware","vendor":"fortinet"},{"product":"fortimail","vendor":"fortinet"},{"product":"fortindr","vendor":"fortinet"},{"product":"fortirecorder","vendor":"fortinet"},{"product":"fortivoice","vendor":"fortinet"}],"cvss":{"score":4.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N/E:P/RL:X/RC:C","version":"3.1"},"cwes":[{"id":"CWE-23","name":"Relative Path Traversal"}],"description":"Multiple relative path traversal vulnerabilities [CWE-23] vulnerability in Fortinet FortiCamera 2.1 all versions, FortiCamera 2.0.0, FortiCamera 1.1 all versions, FortiCamera 1.0 all versions, FortiMail 7.6.0 through 7.6.1, FortiMail 7.4.0 through 7.4.3, FortiMail 7.2 all versions, FortiMail 7.0 all versions, FortiMail 6.4 all versions, FortiNDR 7.6.0 through 7.6.1, FortiNDR 7.4.0 through 7.4.6, FortiNDR 7.2 all versions, FortiNDR 7.1 all versions, FortiNDR 7.0 all versions, FortiRecorder 7.2.0 through 7.2.1, FortiRecorder 7.0.0 through 7.0.4, FortiRecorder 6.4 all versions, FortiVoice 7.0.0 through 7.0.3, FortiVoice 6.4.0 through 6.4.9, FortiVoice 6.0 all versions may allow a privileged attacker to read files from the underlying filesystem via crafted CLI requests.","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":"Path traversal in FortiCamera","id":"CVE-2024-40588","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Security feature bypass in FortiPortal","id":"CVE-2024-40590"},"packages":[],"prev":{"headline":"Command injection in FortiVoice","id":"CVE-2024-40587"},"products":["FortiCamera","FortiMail","FortiNDR","FortiRecorder","FortiVoice"],"published":"2025-08-12","related":[{"cvss_score":9.6,"headline":"Fortinet Multiple Products Stack-Based Buffer Overflow","id":"CVE-2025-32756","kev_date_added":"2025-05-14","published":"2025-05-13"}],"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":"partial"},"state":"PUBLISHED","updated":"2026-01-14","vendors":["Fortinet"]},"summary":"Privileged attackers can read arbitrary files from the underlying filesystem via crafted CLI requests in multiple Fortinet network appliances.","url":"https://insights.sbomify.com/CVE-2024-40588/"}