Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 91%

CVE-2026-57959: Time-of-check Time-of-use (TOCTOU) Race Condition in HiEventsDev Hi.Events

0
High
VulnerabilityCVE-2026-57959cvecve-2026-57959
Published: 06/29/2026 (06/29/2026, 17:24:03 UTC)
Source: CVE Database V5
Vendor/Project: HiEventsDev
Product: 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

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →cve
Hi.Events
pkg:github/Hi.Events
Affected versions
<=1.9.0

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

AILast updated: 07/15/2026, 10:20:31 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses