CVE-2026-53595: CWE-178: Improper Handling of Case Sensitivity in freescout-help-desk freescout
FreeScout versions prior to 1.8.224 contain a critical vulnerability in the public user setup endpoint that allows an unauthenticated attacker to overwrite the email and password of the lowest-id activated user account and log in as that user. This occurs due to improper handling of case sensitivity and trailing spaces in the invite_hash field on MySQL/MariaDB, combined with a flawed decryption check that allows bypassing the expiry guard. The vulnerability is fixed in version 1.8.224.
AI Analysis
Technical Summary
FreeScout's public endpoint POST /user-setup/{hash}/{invite_sent_at} selects a user account by invite_hash without authentication, then overwrites that account's email and password and logs in as it. On MySQL/MariaDB, VARCHAR equality ignores trailing spaces, so a URL-encoded space matches the empty string invite_hash set after activation, causing the lowest-id activated user to be selected. The expiry check decrypts invite_sent_at with the target's password hash, but decryption failure returns the raw input, allowing a plaintext numeric value to bypass the time-to-live check. This enables an anonymous attacker to take over the lowest-id activated account, potentially an administrator. The issue is fixed in FreeScout version 1.8.224.
Potential Impact
An unauthenticated attacker can fully compromise the lowest-id activated FreeScout account by resetting its email and password and authenticating as that user. This can lead to full account takeover including administrative privileges if the lowest-id account is an administrator. The vulnerability allows complete confidentiality, integrity, and limited availability impact on the affected system.
Mitigation Recommendations
Upgrade FreeScout to version 1.8.224 or later, which contains the fix for this vulnerability. There is no indication of an official patch or temporary workaround other than upgrading. Users should verify they are not running affected versions prior to 1.8.224.
CVE-2026-53595: CWE-178: Improper Handling of Case Sensitivity in freescout-help-desk freescout
Description
FreeScout versions prior to 1.8.224 contain a critical vulnerability in the public user setup endpoint that allows an unauthenticated attacker to overwrite the email and password of the lowest-id activated user account and log in as that user. This occurs due to improper handling of case sensitivity and trailing spaces in the invite_hash field on MySQL/MariaDB, combined with a flawed decryption check that allows bypassing the expiry guard. The vulnerability is fixed in version 1.8.224.
CVSS v3.1
Score 9.4critical
Affected software
pkg:github/freescout-help-desk/freescoutRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
FreeScout's public endpoint POST /user-setup/{hash}/{invite_sent_at} selects a user account by invite_hash without authentication, then overwrites that account's email and password and logs in as it. On MySQL/MariaDB, VARCHAR equality ignores trailing spaces, so a URL-encoded space matches the empty string invite_hash set after activation, causing the lowest-id activated user to be selected. The expiry check decrypts invite_sent_at with the target's password hash, but decryption failure returns the raw input, allowing a plaintext numeric value to bypass the time-to-live check. This enables an anonymous attacker to take over the lowest-id activated account, potentially an administrator. The issue is fixed in FreeScout version 1.8.224.
Potential Impact
An unauthenticated attacker can fully compromise the lowest-id activated FreeScout account by resetting its email and password and authenticating as that user. This can lead to full account takeover including administrative privileges if the lowest-id account is an administrator. The vulnerability allows complete confidentiality, integrity, and limited availability impact on the affected system.
Mitigation Recommendations
Upgrade FreeScout to version 1.8.224 or later, which contains the fix for this vulnerability. There is no indication of an official patch or temporary workaround other than upgrading. Users should verify they are not running affected versions prior to 1.8.224.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-09T19:39:52.403Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5e84a62a4a8d5989af56f9
Added to database: 07/20/2026, 20:27:18 UTC
Last enriched: 07/30/2026, 12:22:53 UTC
Last updated: 09/03/2026, 03:08:22 UTC
Views: 176
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.