CVE-2024-51753 Refresh tokens are logged when the debug flag is enabled in @workos-inc/authkit-remix

Low 2.1 Published Updated

Attackers with console access can steal refresh tokens if the debug flag is enabled in the AuthKit Remix library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-51753?

CVE-2024-51753 is a low-severity vulnerability in workos authkit-remix, published on 5 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The AuthKit library for Remix provides convenient helpers for authentication and session management using WorkOS & AuthKit with Remix. In affected versions refresh tokens are logged to the console when the disabled by default `debug` flag, is enabled. This issue has been patched in version 0.4.1. All users are advised to upgrade. There are no known workarounds for this vulnerability.

Weakness: CWE-532

Which versions are affected by CVE-2024-51753?

2 open source packages ship an affected version, including @workos-inc/authkit-remix.

PackageAffectedFixed in
@workos-inc/authkit-remix npmAll versions0.4.1
@workos-inc/authkit-remix npmAll versions0.4.1

How do I fix CVE-2024-51753?

Upgrade @workos-inc/authkit-remix to 0.4.1 or later.

Is CVE-2024-51753 being exploited?

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

Sources

Also known as GHSA-v2qh-f584-6hj8.

Is CVE-2024-51753 in your software?

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

Check your SBOMs for free