CVE-2026-57959: Time-of-check Time-of-use (TOCTOU) Race Condition in HiEventsDev Hi.Events
Hi.Events through 1.9.0 contains a promo code validation vulnerability where reservation validates usage count before asynchronous UpdateEventStatisticsJob increments it, allowing attackers to redeem limited promo codes unlimited times. Attackers can sequentially reserve multiple orders with the same restricted promo code, each reading order_usage_count=0 and passing validation, then complete them all at discounted prices without concurrent requests.
AI Analysis
Technical Summary
CVE-2026-57959 describes a TOCTOU race condition in Hi.Events through version 1.9.0 where the promo code validation checks the usage count before an asynchronous job increments it. Attackers exploit this by making multiple sequential reservations using the same limited promo code, each reading the usage count as zero and passing validation. They then complete all orders at discounted prices, effectively redeeming limited promo codes an unlimited number of times. This flaw arises because the increment of usage count is delayed asynchronously, allowing a window for race condition exploitation.
Potential Impact
Attackers can redeem promo codes that are intended to have limited usage an unlimited number of times, causing financial loss or abuse of promotional campaigns. The flaw undermines the integrity of promo code usage restrictions and can lead to unauthorized discounts without requiring concurrent requests or elevated privileges.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or workaround is currently documented. Until a patch is available, consider implementing synchronous validation and increment of promo code usage counts or additional locking mechanisms to prevent race conditions.
CVE-2026-57959: Time-of-check Time-of-use (TOCTOU) Race Condition in HiEventsDev Hi.Events
Description
Hi.Events through 1.9.0 contains a promo code validation vulnerability where reservation validates usage count before asynchronous UpdateEventStatisticsJob increments it, allowing attackers to redeem limited promo codes unlimited times. Attackers can sequentially reserve multiple orders with the same restricted promo code, each reading order_usage_count=0 and passing validation, then complete them all at discounted prices without concurrent requests.
CVSS v4.0
Score 8.2high
Affected software
Run 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
CVE-2026-57959 describes a TOCTOU race condition in Hi.Events through version 1.9.0 where the promo code validation checks the usage count before an asynchronous job increments it. Attackers exploit this by making multiple sequential reservations using the same limited promo code, each reading the usage count as zero and passing validation. They then complete all orders at discounted prices, effectively redeeming limited promo codes an unlimited number of times. This flaw arises because the increment of usage count is delayed asynchronously, allowing a window for race condition exploitation.
Potential Impact
Attackers can redeem promo codes that are intended to have limited usage an unlimited number of times, causing financial loss or abuse of promotional campaigns. The flaw undermines the integrity of promo code usage restrictions and can lead to unauthorized discounts without requiring concurrent requests or elevated privileges.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or workaround is currently documented. Until a patch is available, consider implementing synchronous validation and increment of promo code usage counts or additional locking mechanisms to prevent race conditions.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-26T13:59:33.048Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a42b42827e9c7971940f873
Added to database: 06/29/2026, 18:06:32 UTC
Last enriched: 07/15/2026, 10:20:31 UTC
Last updated: 08/13/2026, 12:41:11 UTC
Views: 87
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.
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.