CVE-2026-42172 Coolify: Sanctum API Tokens Have No Expiration — Leaked Tokens Grant Permanent Access
Attackers with leaked API tokens retain permanent access to Coolify instances because tokens lack expiration, requiring an upgrade to fix.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-42172?
CVE-2026-42172 is a low-severity vulnerability in coollabsio coolify, published on 7 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.474, Sanctum API tokens did not expire, allowing a leaked token to retain access indefinitely until manually revoked. This issue is fixed in version 4.0.0-beta.474.
Weakness: CWE-613
Which versions are affected by CVE-2026-42172?
How do I fix CVE-2026-42172?
No fix has been published for CVE-2026-42172 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-42172 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42172 exists.
Sources
Also known as GHSA-c83f-5ph7-x8xv.