Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @papra/webhooks
  4. ›
  5. CVE-2026-48051

CVE-2026-48051: Papra HTTP redirect bypass can lead to SSRF via webhook delivery system

June 10, 2026

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.

References

  • github.com/advisories/GHSA-5g86-85rp-f9hx
  • github.com/papra-hq/papra/commit/086dccbfda18c850bee50b94c48f5f110be6935c
  • github.com/papra-hq/papra/security/advisories/GHSA-5g86-85rp-f9hx
  • nvd.nist.gov/vuln/detail/CVE-2026-48051

Code Behaviors & Features

Detect and mitigate CVE-2026-48051 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.3.3

Fixed versions

  • 0.3.3

Solution

Upgrade to version 0.3.3 or above.

Impact 3.5 LOW

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

npm/@papra/webhooks/CVE-2026-48051.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:10 +0000.