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.
Published: 2026-07-27
Score: 3.5 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Papra is a minimalistic document management and archiving platform that, before version 26.5.0, contained an SSRF protection bypass in its webhook delivery system. The system validates the registered webhook URL but does not check redirect destinations, and the HTTP client ofetch automatically follows 3xx responses. An attacker can register a webhook pointing to an external server that redirects incoming POSTs to arbitrary internal addresses – loopback, link‑local, or RFC‑1918 ranges – thereby letting an authenticated organisation member force the server to perform internal HTTP requests. This flaw enables internal SSRF, potentially exposing internal services or data. The weakness is identified as CWE‑918.

Affected Systems

Any Papra installation running a version earlier than 26.5.0 is vulnerable. The issue applies to the core product provided by papra-hq:papra and affects all organisations that have enabled webhook delivery.

Risk and Exploitability

The CVSS score of 3.5 classifies this as low severity, yet the vulnerability permits an authenticated user to access internal addresses on the server’s network. EPSS score is < 1%, so the exact likelihood of exploitation remains uncertain, but the lack of a KEV listing suggests it is not widely exploited. The attack would require only the same permissions needed to register a webhook, which many organisation members possess. Following a redirect chain to a protected address remains possible because the blocklist is not applied to the redirect target. Thus, the risk is the server’s ability to talk to otherwise inaccessible internal services.

Generated by OpenCVE AI on August 3, 2026 at 17:01 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Papra to version 26.5.0 or later, which fixes the redirect bypass in the webhook HTTP client.
  • If an immediate upgrade is not possible, disable webhook creation for the affected organisation or limit webhook registration to trusted users only.
  • Configure any reverse proxy or network firewall to block outbound redirects to internal IP ranges, ensuring that even if a webhook points to a redirecting server, the server cannot reach internal resources.

Generated by OpenCVE AI on August 3, 2026 at 17:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-5g86-85rp-f9hx Papra HTTP redirect bypass can lead to SSRF via webhook delivery system
History

Tue, 28 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 28 Jul 2026 02:45:00 +0000

Type Values Removed Values Added
First Time appeared Papra-hq
Papra-hq papra
Vendors & Products Papra-hq
Papra-hq papra

Mon, 27 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
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.
Title Papra: SSRF via HTTP redirect bypass in webhook delivery
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 3.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-28T14:54:23.072Z

Reserved: 2026-05-20T18:15:53.578Z

Link: CVE-2026-48051

cve-icon Vulnrichment

Updated: 2026-07-28T14:52:50.222Z

cve-icon NVD

Status : Deferred

Published: 2026-07-27T18:16:55.633

Modified: 2026-07-30T19:16:52.210

Link: CVE-2026-48051

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T17:15:12Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)