Skip to main content
← All vulnerabilities
CVE-2026-48051GHSA-5G86-85RP-F9HX

Papra: SSRF via HTTP redirect bypass in webhook delivery

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 26.5.0, 0.3.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

Papra is a minimalistic document management and archiving platform. Prior to version 26.5.0, Papra's webhook delivery system contains an SSRF protection bypass that allows any authenticated organisation member to cause the server to make HTTP requests to internal addresses — loopback, link-local, and RFC-1918 ranges. The SSRF protection validates the registered webhook URL but ignores redirect destinations. The HTTP client (ofetch) follows 3xx responses automatically, and the redirect target is never checked against the blocklist. An attacker registers a webhook pointing to an attacker-controlled server, which redirects incoming POSTs to any internal address. Exploitation was confirmed by live test against the official Docker image. The fix is a single-line change to the webhook HTTP client. This issue has been patched in version 26.5.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • papra-hq papra

    fixed in 26.5.0

  • @papra/webhooksnpm

    fixed in 0.3.3

References 1

GitHub · papra-hq/papra