CVE-2025-70949: @perfood/couch-auth Observable Timing Discrepancy Vulnerability

@perfood/couch-auth Updated 07 Mar 2026

Summary

05/03/2026
No i
High
7.5

CVE-2025-70949: @perfood/couch-auth has an Observable Timing Discrepancy. Affects @perfood/couch-auth versions < 0.26.0. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The @perfood/couch-auth package is a Node.js library designed for authentication in CouchDB applications. It provides a simple interface for managing user sessions and securing access to resources. However, version 0.26.0 of this package is vulnerable to an observable timing discrepancy, which can be exploited by attackers to infer sensitive information based on the timing of responses from the server.

Vulnerability Detail

An observable timing discrepancy in @perfood/couch-auth v0.26.0 allows attackers to exploit timing side-channel attacks. This vulnerability arises when the time taken to process requests varies based on the input, enabling attackers to deduce information about the validity of certain inputs. The ramifications include unauthorized access to sensitive data, as attackers can infer valid usernames or tokens based on response times.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, consider implementing additional security measures such as rate limiting and input validation to mitigate the risk of timing attacks until the package can be updated.

Conclusion

The @perfood/couch-auth package has a significant vulnerability (CVE-2025-70949) due to an observable timing discrepancy in version 0.26.0. It is crucial to update to a patched version to protect against potential attacks that could exploit this issue. Implementing additional security measures can help mitigate risks until the update is applied.

See every vulnerability recorded for @perfood/couch-auth →

Share this vulnerability

FAQ

An observable timing discrepancy occurs when the time taken to process requests varies based on the input, allowing attackers to infer information based on response times.

This vulnerability can allow attackers to gain unauthorized access to sensitive information by deducing valid credentials or tokens through timing analysis.

Yes, updating to a version later than 0.26.0 of the @perfood/couch-auth package will resolve this vulnerability.

Implement security measures such as rate limiting and input validation to reduce the risk of exploitation until you can update the package.

You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can also check if your application is affected by this vulnerability using the Vulert playground without any signup.

Related vulnerabilities

Recent vulnerabilities recorded for @perfood/couch-auth.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback