All vulnerabilities

Servers and applications

CVE-2026-42172

Sanctum API Tokens Have No Expiration — Leaked Tokens Grant Permanent Access

Severity
Low 3.1
Published
2 Jul 2026
Last changed
2 Jul 2026
Added to UpHeron
22 Oct 2026
Fixed in
4.0.0-beta.474
Exploit chance
0.2% in the next 30 daysHigher than 14% of CVEs. EPSS by FIRST, 19 Nov 2026
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read some data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Also known as
GHSA-c83f-5ph7-x8xv
Sources
Project advisories (GitHub)

Description

  • Title: Sanctum API Tokens Have No Expiration — Leaked Tokens Grant Permanent Access
  • Severity: Medium
  • CVSS Score: 6.5 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N)

Once an API token is leaked (via logs, accidental commit, network interception), it provides permanent access with no automated revocation or expiry.

if you see output like this;

Then it means, The keys endpoint returned empty because the IP allowlist reset may have invalidated the cache. Try these command:

CONFIRMED -- all tokens have NULL expiration. The root token also leaked full SSH private keys. Full SSH private keys leaked via the root API token which never expires.

Image POC:

From coollabsio/coolify's security advisory.

Affected software

SoftwareAffected versions
CoolifyServers and applications · github:coollabsio/coolify
  • Every version before 4.0.0-beta.474

About Coolify

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

From its GitHub repository.
Docker Hub pulls
4,970,195Docker Hub, 15 Nov 2026
GitHub stars
66,095GitHub, 15 Nov 2026
Forks
5,989GitHub, 15 Nov 2026
Latest release
v4.7.5GitHub, 15 Nov 2026
Released
10 Nov 2026GitHub
License
Apache-2.0GitHub
First published on GitHub
25 Jan 2021GitHub

References