CVE-2026-71209: CWE-22 Path Traversal in advplyr audiobookshelf
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 *_<width>[x<height>].<ext> that the service account can read.
AI Analysis
Technical Summary
The vulnerability in audiobookshelf 2.19.1 involves the authentication-exemption check in server/routers/Auth.js, which matches unauthenticated-allowed GET routes against the raw request path using a regex expecting literal /items/:id/cover or /authors/:id/image patterns. Since req.path retains URL-encoded sequences like %2F, an attacker can include encoded '../' sequences in the :id parameter. Express decodes this parameter before handler execution, causing the decoded path to traverse directories. This bypasses the previous fix for CVE-2025-25205 and results in CacheManager.handleCoverCache joining the decoded path into a cache file path and streaming it without ownership verification, enabling unauthenticated arbitrary file reads of files matching the pattern *_<width>[x<height>].<ext> accessible by the service account.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to read arbitrary files on the server that match the specified filename pattern and are accessible by the audiobookshelf service account. This can lead to disclosure of sensitive information without requiring authentication.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the audiobookshelf service and monitor for suspicious requests attempting path traversal. Avoid exposing the service to untrusted networks.
CVE-2026-71209: CWE-22 Path Traversal in advplyr audiobookshelf
Description
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 *_<width>[x<height>].<ext> that the service account can read.
CVSS v3.1
Score 7.5high
Affected software
pkg:github/advplyr/audiobookshelfRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in audiobookshelf 2.19.1 involves the authentication-exemption check in server/routers/Auth.js, which matches unauthenticated-allowed GET routes against the raw request path using a regex expecting literal /items/:id/cover or /authors/:id/image patterns. Since req.path retains URL-encoded sequences like %2F, an attacker can include encoded '../' sequences in the :id parameter. Express decodes this parameter before handler execution, causing the decoded path to traverse directories. This bypasses the previous fix for CVE-2025-25205 and results in CacheManager.handleCoverCache joining the decoded path into a cache file path and streaming it without ownership verification, enabling unauthenticated arbitrary file reads of files matching the pattern *_<width>[x<height>].<ext> accessible by the service account.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to read arbitrary files on the server that match the specified filename pattern and are accessible by the audiobookshelf service account. This can lead to disclosure of sensitive information without requiring authentication.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the audiobookshelf service and monitor for suspicious requests attempting path traversal. Avoid exposing the service to untrusted networks.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- TuranSec
- Date Reserved
- 2026-08-05T06:56:15.799Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a72e5cdbf8831d5397357e9
Added to database: 08/05/2026, 07:27:09 UTC
Last enriched: 08/05/2026, 07:41:28 UTC
Last updated: 08/06/2026, 00:41:15 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.