CVE-2026-55617 Hydro: Insufficient session expiration when recreating sessions
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm hydrooj(npm) | >= 4.10.4, < 5.0.2; >= 4.10.4, <= 5.0.1 | 5.0.2 | Fixed |
| hydro-dev Hydro | = >= 4.10.4, < 5.0.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hydro-dev Hydro | = >= 4.10.4, < 5.0.2 | No fix listed |
| npm hydrooj(npm) | >= 4.10.4, <= 5.0.1 | No fix listed |
| npm hydrooj(npm) | >= 4.10.4, < 5.0.2 | 5.0.2 |
References
- https://github.com/hydro-dev/Hydro/security/advisories/GHSA-94jp-7776-qj6q vendor-advisory
- https://github.com/hydro-dev/Hydro/pull/1173 patch
- https://github.com/hydro-dev/Hydro/commit/8450390fcce5f7dc3f11c43a14f1d76dbb949a0d patch
- https://github.com/hydro-dev/Hydro/commit/8d76be8f0b83d911bf7671962b0467e9d4b5719a patch
- github.com
- github.com product
- ENISA EUVD EUVD-2026-78768 third-party-advisory