Vulnerability · Published Sep 15, 2026 · Assigned by GitHub_M
CVE-2026-55617Hydro: Insufficient session expiration when recreating sessions
Medium 6.9
In plain English
A medium-severity security flaw in Hydro from hydro-dev. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Hydro is a next-generation high-performance online judge platform. From 4.10.4 until 5.0.2, the session recreation logic in packages/hydrooj/src/service/layers/base.ts creates a replacement session token without deleting the previous token from the server-side session token store, so an old sid cookie can remain valid after logout or another renewal flow. An attacker who possesses a victim's previously valid stale cookie can replay it over HTTP or HTTPS without knowing the victim's username or password and without victim interaction at exploitation time. Successful replay can take over the victim's account, disclose private data, and permit unauthorized modification or deletion of data available to that account. This issue is fixed in version 5.0.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | hydrooj | 5.0.2 | GHSA-94jp-7776-qj6q |
Affected products (as reported)
Weakness: CWE-613 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/hydro-dev/Hydro/security/advisories/GHSA-94jp-7776-qj6q x_refsource_CONFIRM
- https://github.com/hydro-dev/Hydro/pull/1173 x_refsource_MISC
- https://github.com/hydro-dev/Hydro/commit/8450390fcce5f7dc3f11c43a14f1d76dbb949a0d x_refsource_MISC
- https://github.com/hydro-dev/Hydro/commit/8d76be8f0b83d911bf7671962b0467e9d4b5719a x_refsource_MISC