{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-48887 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-48887 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-48887 is a critical authentication bypass vulnerability in Fortinet FortiSwitch, published on 8 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-48887 and fix it if it is affected.\n\nWhat it is: CVE-2024-48887 is a critical authentication bypass vulnerability in Fortinet FortiSwitch, published on 8 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-48887 in the wild and no public exploit code.\n\nAffected product: Fortinet FortiSwitch. 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-48887/ (Markdown: https://insights.sbomify.com/CVE-2024-48887/index.md)","id":"CVE-2024-48887","markdown":"https://insights.sbomify.com/CVE-2024-48887/index.md","name":"CVE-2024-48887","record":{"aliases":["GHSA-w84w-59g8-pmg9"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Fortinet FortiSwitch","requires_auth":"none","summary":"Remote unauthenticated attackers can change admin passwords in FortiSwitch GUI, leading to full administrative account takeover.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"fortinet","cpe":[{"product":"fortiswitch","vendor":"fortinet"}],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:X/RC:C","version":"3.1"},"cwes":[{"id":"CWE-620","name":"Unverified Password Change"}],"description":"A  unverified password change vulnerability in Fortinet FortiSwitch GUI may allow a remote unauthenticated attacker to change admin passwords via a specially crafted request","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2025-04-09","github_poc":2,"max_poc_stars":2,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-04-09T17:27:17Z","kind":"github_poc","ref":"https://github.com/cybersecplayground/CVE-2024-48887-FortiSwitch-Exploit","stars":2,"title":"a lightweight JavaScript snippet showcasing how unauthorized password changes can be triggered on vulnerable Fortinet FortiSwitch GUI endpoints."},{"date":"2025-04-10T12:17:11Z","kind":"github_poc","ref":"https://github.com/groshi215/CVE-2024-48887-Exploit","stars":2,"title":"Unverified Password Change (CWE-620)"}],"tier":"poc_unverified"},"has_fix":null,"headline":"Auth bypass in FortiSwitch","id":"CVE-2024-48887","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"auth_bypass","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Command injection in FortiManager","id":"CVE-2024-48889"},"packages":[],"prev":{"headline":"Auth bypass in FortiOS","id":"CVE-2024-48886"},"products":["FortiSwitch"],"published":"2025-04-08","related":[{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2016-4573","kev_date_added":null,"published":"2016-09-09"},{"cvss_score":9.6,"headline":"Hardcoded credentials in FortiSwitch","id":"CVE-2023-37936","kev_date_added":null,"published":"2025-01-14"},{"cvss_score":7.6,"headline":"Command injection in FortiSwitch","id":"CVE-2023-37937","kev_date_added":null,"published":"2025-01-14"},{"cvss_score":6.5,"headline":"Denial of service in Fortinet FortiSwitch","id":"CVE-2021-26111","kev_date_added":null,"published":"2021-06-01"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["Fortinet"]},"summary":"Remote unauthenticated attackers can change admin passwords in FortiSwitch GUI, leading to full administrative account takeover.","url":"https://insights.sbomify.com/CVE-2024-48887/"}