top of page
perceptive_background_267k.jpg

audiobookshelf's authentication-exemption check (server/routers/Auth.js) matches unauthenticated-allowed GET routes against req.path via a regex requiring a lit…

Published:

5 August 2026 at 00:00:00

Alert date:

5 August 2026 at 11:07:41

Source:

nvd.nist.gov

Click to open the original link from this advisory

Web Technologies, Zero-Day Vulnerabilities, Identity & Access

CVE-2026-71209 describes a path traversal vulnerability in audiobookshelf's authentication-exemption logic in server/routers/Auth.js. The regex used to allow unauthenticated GET requests for cover images matches against req.path, which retains URL-encoded %2F sequences. However, Express decodes route parameters like :id before handler execution, allowing a crafted payload such as ..%2f..%2f..%2ftmp%2fpwned to bypass the auth check while resolving as a real directory traversal. The CacheManager.handleCoverCache function then uses this decoded value to construct a file path and streams the file back without any ownership verification. This effectively allows unauthenticated arbitrary file reads for files matching the pattern *_<width>[x<height>].<ext> accessible to the service account. The vulnerability bypasses the previously applied fix for CVE-2025-25205, which had anchored the exemption regex and switched to req.path matching. The issue is tracked in the audiobookshelf GitHub repository and associated security advisory GHSA-pg8v-5jcv-wrvw.

Technical details

Mitigation steps:

Affected products:

audiobookshelf

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Disclaimer: Deze website toont informatie afkomstig van externe bronnen. Perceptive aanvaardt geen verantwoordelijkheid voor de inhoud, juistheid of volledigheid van deze informatie.

bottom of page