CVE-2025-60794 @perfood/couch-auth may expose session tokens, passwords
Attackers can extract session tokens and passwords from memory dumps due to lack of explicit clearing in the couch-auth library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-60794?
CVE-2025-60794 is a medium-severity vulnerability in n/a, published on 20 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-316
Which versions are affected by CVE-2025-60794?
2 open source packages ship an affected version, including @perfood/couch-auth. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@perfood/couch-auth npm | All versions to 0.21.2 | None |
@perfood/couch-auth npm | All versions to 0.21.2 | None |
Products include Perfood Couchauth.
How do I fix CVE-2025-60794?
No fix has been published for CVE-2025-60794 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-60794 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-60794 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-62vx-hpcr-m9ch.