CVE-2025-4643 Lack of JWT Expiration after Log Out in PayloadCMS

Medium 6.3 Published Updated

Attackers can reuse stolen JWTs after logout due to lack of token invalidation, allowing unauthorized access until expiration.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-4643?

CVE-2025-4643 is a medium-severity vulnerability in Payload, published on 29 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Payload uses JSON Web Tokens (JWT) for authentication. After log out JWT is not invalidated, which allows an attacker who has stolen or intercepted token to freely reuse it until expiration date (which is by default set to 2 hours, but can be changed).

This issue has been fixed in version 3.44.0 of Payload.

Weakness: CWE-613

Which versions are affected by CVE-2025-4643?

6 open source packages ship an affected version, including @payloadcms/graphql, @payloadcms/next and payload.

PackageAffectedFixed in
@payloadcms/graphql npmAll versions3.44.0
@payloadcms/graphql npmAll versions3.44.0
@payloadcms/next npmAll versions3.44.0
@payloadcms/next npmAll versions3.44.0
payload npmAll versions3.44.0
payload npmAll versions3.44.0

How do I fix CVE-2025-4643?

Upgrade @payloadcms/graphql to 3.44.0 or later.

Is CVE-2025-4643 being exploited?

There is no known exploitation of CVE-2025-4643 in the wild and no public exploit code.

Sources

Also known as GHSA-5v66-m237-hwf7.

Is CVE-2025-4643 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free