audiobookshelf's authentication-exemption check (server/routers/Auth.js) matches unauthenticated...
Summary
Path traversal reported (CVE-2026-71209). Confidential information can be exposed externally. Exploitable via req.originalUrl.
Original description
The description as published by the source.
audiobookshelf's authentication-exemption check (server/routers/Auth.js) matches unauthenticated-allowed GET routes against req.path via a regex requiring a literal /items/:id/cover or /authors/:id/image shape, where req.path retains %2F sequences URL-encoded. Express's router decodes the :id route parameter before handler code runs, so a %2F-encoded '../' sequence in :id (e.g. ..%2f..%2f..%2ftmp%2fpwned) passes the literal-path auth-exemption check while resolving to a real path-traversal payload once decoded. CacheManager.handleCoverCache then joins this decoded value into a cache file path and streams the result before any database-backed ownership check. This bypasses the fix applied for CVE-2025-25205 (which anchored the exemption regex and switched it to req.path) and results in unauthenticated arbitrary file read of any file matching the pattern *_[x]. that the service account can read.
Source: NIST National Vulnerability Database NVD GitHub Advisory
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
Audiobookshelfの認証除外チェックにディレクトリトラバーサル脆弱性があります。攻撃者は特定のエンドポイントにパスを巧妙に形成することで、サービスがアクセス権を持つ任意のファイルを読み取ることが可能です。
Audiobookshelfの認証除外チェックにおけるディレクトリトラバーサル脆弱性です。
server/routers/Auth.js
攻撃者が任意のファイルを読むことが可能です。
audiobookshelfの認証チェックを強化し、%2Fのデコードを防ぐ。
認証チェックを手動で精査し、%2Fパターンを持つ入力を厳密に無視する。
ログファイルを確認し、未承認アクセスがないか監査する。
References
- web github.com
- web github.com
- web nvd.nist.gov
- web github.com