# CVE-2026-55617: Hydro: Insufficient session expiration when recreating sessions

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2026-06-18T13:06:35.000Z
- Modified: 2026-09-30T17:51:56.193Z
- Also known as: GHSA-94jp-7776-qj6q
- Weaknesses: CWE-613
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- hydro-dev Hydro: >= 4.10.4, < 5.0.2
- hydrooj (npm): from 4.10.4 before 5.0.2

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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> (web)
- <https://github.com/hydro-dev/Hydro/pull/1173> (web)
- <https://github.com/hydro-dev/Hydro/commit/8450390fcce5f7dc3f11c43a14f1d76dbb949a0d> (web)
- <https://github.com/hydro-dev/Hydro/commit/8d76be8f0b83d911bf7671962b0467e9d4b5719a> (web)
- <https://github.com/hydro-dev/Hydro> (package)

## Sources

- CVE List: [CVE-2026-55617](https://www.cve.org/CVERecord?id=CVE-2026-55617), CVE Terms of Use, modified 2026-09-15
- GitHub Advisory Database: [GHSA-94jp-7776-qj6q](https://github.com/advisories/GHSA-94jp-7776-qj6q), CC-BY-4.0, modified 2026-06-18
- NVD: [CVE-2026-55617](https://nvd.nist.gov/vuln/detail/CVE-2026-55617), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-55617 · Whole record: https://cve.day/CVE-2026-55617.json · Rebuilt by cve.day 2026-11-25T22:59:38.543Z
