{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-58163 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-58163 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-58163 is a high-severity unsafe deserialization vulnerability in freescout-help-desk freescout, published on 3 Sep 2025. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-58163 and fix it if it is affected.\n\nWhat it is: CVE-2025-58163 is a high-severity unsafe deserialization vulnerability in freescout-help-desk freescout, published on 3 Sep 2025. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-58163 in the wild and no public exploit code.\n\nAffected product: freescout-help-desk freescout. 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-58163/ (Markdown: https://insights.sbomify.com/CVE-2025-58163/index.md)","id":"CVE-2025-58163","markdown":"https://insights.sbomify.com/CVE-2025-58163/index.md","name":"CVE-2025-58163","record":{"aliases":["GHSA-j94w-q9gj-c37g"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"FreeScout help desk","requires_auth":"high_privilege","summary":"Authenticated attackers with APP_KEY knowledge can achieve remote code execution in FreeScout via unsafe deserialization in decryption logic.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"freescout","vendor":"freescout"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"FreeScout is a free help desk and shared inbox built with PHP's Laravel framework. Versions 1.8.185 and earlier contain a deserialization of untrusted data vulnerability that allows authenticated attackers with knowledge of the application's APP_KEY to achieve remote code execution. The vulnerability is exploited via endpoint, e.g.: `/help/{mailbox_id}/auth/{customer_id}/{hash}/{timestamp}` where the `customer_id` and `timestamp` parameters are processed through the decrypt function in `app/Helper.php` without proper validation. The code decrypts using Laravel's built-in encryption functions, which subsequently deserialize the decrypted payload without sanitization, allowing attackers to craft malicious serialized PHP objects using classes to trigger arbitrary command execution. This is fixed in version 1.8.186.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"FreeScout's deserialization of untrusted data can lead to Remote Code Execution","id":"CVE-2025-58163","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"deserialization","year":"2025"},"n_packages":0,"n_references":3,"next":{"headline":"This CVE is a duplicate of another CVE, CVE-2025-58163.","id":"CVE-2025-58164"},"packages":[],"prev":{"headline":"MobSF Vulnerable to Arbitrary File Write (AR-Slip) via Absolute Path in .a Extraction","id":"CVE-2025-58162"},"products":["freescout"],"published":"2025-09-03","related":[{"cvss_score":10,"headline":"FreeScout 1.8.206 Patch Bypass for CVE-2026-27636 via Zero-Width Space Character Leads to Remote Code Execution","id":"CVE-2026-28289","kev_date_added":null,"published":"2026-03-03"},{"cvss_score":9.8,"headline":"FreeScout's Predictable Authentication Token Enables Account Takeover","id":"CVE-2026-27637","kev_date_added":null,"published":"2026-02-25"},{"cvss_score":9.3,"headline":"FreeScout: Stored XSS via Unescaped Email Template Rendering ({!! $thread-\u003ebody !!})","id":"CVE-2026-32754","kev_date_added":null,"published":"2026-03-19"},{"cvss_score":9.1,"headline":"FreeScout OS Command Injection vulnerability","id":"CVE-2024-29185","kev_date_added":null,"published":"2024-03-22"},{"cvss_score":8.9,"headline":"FreeScout has Authentication Bypass and Information Disclosure in SystemController via /system/cron","id":"CVE-2026-40498","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":8.8,"headline":"FreeScout has Predictable Attachment Token that Allows Unauthenticated Private File Download via Brute Force","id":"CVE-2026-40496","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":8.8,"headline":"FreeScout: Missing .htaccess in Restricted File Extensions Allows Remote Code Execution on Apache","id":"CVE-2026-27636","kev_date_added":null,"published":"2026-02-25"}],"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":"2025-09-03","vendors":["freescout-help-desk"]},"summary":"Authenticated attackers with APP_KEY knowledge can achieve remote code execution in FreeScout via unsafe deserialization in decryption logic.","url":"https://insights.sbomify.com/CVE-2025-58163/"}