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 user setup endpoint that allows an unauthenticated attacker to overwrite the email and password of the lowest-id activated user account and authenticate 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 expiry validation. The vulnerability is fixed in version 1.8.224.
AI Analysis
Technical Summary
The vulnerability in FreeScout's public endpoint POST /user-setup/{hash}/{invite_sent_at} allows an attacker to select the lowest-id activated user account by exploiting MySQL/MariaDB's VARCHAR equality behavior that ignores trailing spaces. Since the invite_hash is set to an empty string after activation, a URL-encoded space matches this empty string and selects the first activated user. The expiry check decrypts invite_sent_at with the target's password hash, but if decryption fails, the raw input is returned, allowing a numeric plaintext value to bypass the time-to-live check. Consequently, an unauthenticated attacker can overwrite the email and password of the selected account and log in as that user. This issue is resolved in FreeScout version 1.8.224.
Potential Impact
An unauthenticated attacker can gain full control over the lowest-id activated FreeScout user account, which is typically a support agent or an administrator if one was invited. This leads to complete compromise of that account's confidentiality and integrity, allowing unauthorized access and potential disruption of service. The vulnerability has a CVSS 3.1 score of 9.4 (critical), reflecting its high impact and ease of exploitation without any privileges or user interaction.
Mitigation Recommendations
A fix for this vulnerability is included in FreeScout version 1.8.224. Users should upgrade to version 1.8.224 or later to remediate this issue. No other official remediation or temporary fix is documented. Until upgrading, restrict access to the affected endpoint if possible.
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 user setup endpoint that allows an unauthenticated attacker to overwrite the email and password of the lowest-id activated user account and authenticate 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 expiry validation. 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
The vulnerability in FreeScout's public endpoint POST /user-setup/{hash}/{invite_sent_at} allows an attacker to select the lowest-id activated user account by exploiting MySQL/MariaDB's VARCHAR equality behavior that ignores trailing spaces. Since the invite_hash is set to an empty string after activation, a URL-encoded space matches this empty string and selects the first activated user. The expiry check decrypts invite_sent_at with the target's password hash, but if decryption fails, the raw input is returned, allowing a numeric plaintext value to bypass the time-to-live check. Consequently, an unauthenticated attacker can overwrite the email and password of the selected account and log in as that user. This issue is resolved in FreeScout version 1.8.224.
Potential Impact
An unauthenticated attacker can gain full control over the lowest-id activated FreeScout user account, which is typically a support agent or an administrator if one was invited. This leads to complete compromise of that account's confidentiality and integrity, allowing unauthorized access and potential disruption of service. The vulnerability has a CVSS 3.1 score of 9.4 (critical), reflecting its high impact and ease of exploitation without any privileges or user interaction.
Mitigation Recommendations
A fix for this vulnerability is included in FreeScout version 1.8.224. Users should upgrade to version 1.8.224 or later to remediate this issue. No other official remediation or temporary fix is documented. Until upgrading, restrict access to the affected endpoint if possible.
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/20/2026, 20:41:43 UTC
Last updated: 07/21/2026, 05:53:51 UTC
Views: 15
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.