Skip to content
Heist/ feed
Back to feed
High

audiobookshelf - %2F Encoding Discrepancy Bypasses Cover/Image Auth Exemption Regex, Enabling Unauthenticated Path Traversal

Type: advisorySources: OSV

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. CacheManager.handleCoverCache then joins this decoded value into a cache file path and streams the result before any database-backed ownership check.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-25205, CVE-2026-71209
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 04:01 UTC · Revision 1

Source evidence

audiobookshelf - %2F Encoding Discrepancy Bypasses Cover/Image Auth Exemption Regex, Enabling Unauthenticated Path Traversal

core-osv · Original source

Published 5 Aug 2026, 06:59 UTC

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. CacheManager.handleCoverCache then joins this decoded value into a cache file path and streams the result before any database-backed ownership check.

osv:CVE-2026-71209
Complete source record
{
  "id": "1420da122a4bde5b4168611591809401123f6d5389b8b8e1efe90e6c3a920158",
  "url": "https://osv.dev/vulnerability/CVE-2026-71209",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "audiobookshelf - %2F Encoding Discrepancy Bypasses Cover/Image Auth Exemption Regex, Enabling Unauthenticated Path Traversal",
    "summary": "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. CacheManager.handleCoverCache then joins this decoded value into a cache file path and streams the result before any database-backed ownership check.",
    "evidence": "osv:CVE-2026-71209",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-71209",
      "aliases": [
        "CVE-2025-25205",
        "CVE-2026-71209",
        "GHSA-pg8v-5jcv-wrvw"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/advplyr/audiobookshelf",
              "type": "GIT",
              "events": [
                {
                  "introduced": "725192fbc0f5b289bc70a4eed451710359464ca6"
                },
                {
                  "last_affected": "aacdcc47ec0b6fa778b84627c79deb7ee0cecd70"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "2.19.1"
                      },
                      {
                        "last_affected": "2.35.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.35.1",
            "v2.35.0",
            "v2.34.0",
            "v2.33.2",
            "v2.33.1",
            "v2.33.0",
            "v2.32.1",
            "v2.32.0",
            "v2.31.0",
            "v2.30.0",
            "v2.29.0",
            "v2.28.0",
            "v2.27.0",
            "v2.26.3",
            "v2.26.2",
            "v2.26.1",
            "v2.26.0",
            "v2.25.1",
            "v2.25.0",
            "v2.24.0",
            "v2.23.0",
            "v2.22.0",
            "v2.21.0",
            "v2.20.0",
            "v2.19.5",
            "v2.19.4",
            "v2.19.3",
            "v2.19.2",
            "v2.19.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-71209.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.102453343Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71209.json",
        "https://github.com/advplyr/audiobookshelf",
        "https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-pg8v-5jcv-wrvw",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-71209"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "TuranSec",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71209.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-25205",
        "evidence": "/aliases"
      },
      {
        "value": "CVE-2026-71209",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510065,
  "published_at": "2026-08-05T06:59:16.579+00:00"
}