{"id":"CVE-2026-53595","published":"2026-07-20T20:14:59Z","modified":"2026-07-21T14:56:21Z","title":"FreeScout vulnerable to anonymous account takeover via /user-setup empty invite_hash on MySQL","vendor":"freescout-help-desk","product":"freescout","tier":"core","eol":null,"affectedVersions":[{"vendor":"freescout-help-desk","product":"freescout","versions":["< 1.8.224"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-21T13:20:35.944303Z","from":"CISA ADP","provenance":"source"},"description":{"text":"FreeScout is a free help desk and shared inbox built with PHP's Laravel framework. Prior to version 1.8.224, the public endpoint `POST /user-setup/{hash}/{invite_sent_at}` (`OpenController@userSetupSave`) selects the target account solely by its `invite_hash` column, then overwrites that account's email and password and logs in as it. No authentication, cookie, or prior session is required. After a user activates, FreeScout sets `invite_hash` to the empty string. On MySQL and MariaDB, `VARCHAR` equality ignores trailing spaces, so a single URL-encoded space (`%20`) matches the stored empty string and selects the lowest-id activated user. The expiry guard decrypts `invite_sent_at` with the target's password hash, but `Helper::decrypt` returns its raw input unchanged when decryption fails. A plaintext numeric value such as `9999999999` therefore passes the time-to-live check without any secret. The result is that an anonymous attacker sets the email and password of the lowest-id activated FreeScout account (a support agent, or an administrator if one was added by invitation) and authenticates as that account. Version 1.8.224 contains a fix.","provenance":"source","from":"CVE.org"},"summary":{"text":"FreeScout's public user-setup endpoint (OpenController@userSetupSave, the POST /user-setup/{hash}/{invite_sent_at} route) lets an account be selected by an empty invite_hash, which on MySQL and MariaDB matches the emptied value left after activation, and the expiry check can be bypassed with a plaintext timestamp. An unauthenticated remote attacker, requiring no prior session, cookie, or user interaction and only a crafted request, can overwrite the email and password of the lowest-id activated account, which may be an administrator, and then log in as it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-31T05:09:59Z"},"cvss":{"score":9.4,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01945,"percentile":0.80702,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-10-30","exploitedFirstSeen":null,"ransomware":false,"evidence":[],"evidenceTotal":0,"provenance":"source"},"exploited":true,"otx":{"pulseCount":2,"pulses":[{"name":"Known_Cve | Jul 24, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a62254165dd7b006b7a4b2d","created":"2026-07-23"},{"name":"Known_Cve | Jul 23, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/6a60d511378121d1537c76dc","created":"2026-07-22"}],"provenance":"machine"},"cwes":[{"id":"CWE-178","name":"Improper Handling of Case Sensitivity"},{"id":"CWE-287","name":"Improper Authentication"},{"id":"CWE-640","name":"Weak Password Recovery Mechanism for Forgotten Password"}],"references":[{"url":"https://github.com/freescout-help-desk/freescout/security/advisories/GHSA-jqj5-r72v-v29g","tags":["x_refsource_CONFIRM"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2026-46094","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-46094","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"nuclei":[{"id":"CVE-2026-53595","name":"FreeScout < 1.8.224 - Invite Hash Authorization Bypass","severity":"critical","path":"http/cves/2026/CVE-2026-53595.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-53595.yaml"}],"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-07-20","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2026-53595","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":73.8,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":10.0,"detail":"added 22 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":16.14,"detail":"percentile 0.8070"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 nuclei template"},{"name":"Mentioned in OTX pulses","points":1.08,"detail":"2 pulses"},{"name":"CVSS severity","points":6.58,"detail":"base score 9.4"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}