Medium

@perfood/couch-auth may expose session tokens, passwords

  • Disclosed: 20.11.2025
  • Updated: 11.10.2026 10:22

Session tokens and passwords in couch-auth 0.21.2 are stored in JavaScript objects and remain in memory without explicit clearing in src/user.ts lines 700-707. This creates a window of opportunity for sensitive data extraction through memory dumps, debugging tools, or other memory access techniques, potentially leading to session hijacking.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package @perfood/couch-auth <= 0.21.2 no fix

References

CVSS score -
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U
Weakness (CWE)
CWE-316
Platform
npm
Package
@perfood/couch-auth
Disclosed
20.11.2025
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-62vx-hpcr-m9ch - CC BY 4.0

Vulnerability history: @perfood/couch-auth

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
5
First → latest
01.2024 03.2026
Without a fix
5
Exploited in attacks
0

Severity breakdown

  • High 2
  • Medium 3

Disclosures per year

  1. 2024: 1
  2. 2025: 2
  3. 2026: 2
  1. High · 7.5 CVE-2025-70949 <= 0.26.0 no fix
  2. Medium · 9.3 CVE-2025-70948 <= 0.26.0 no fix
  3. @perfood/couch-auth may expose session tokens, passwords this entry
    Medium CVE-2025-60794 <= 0.21.2 no fix

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.