Skip to main content
Vulnerability Database/CVE-2026-102244

CVE-2026-102244: MODSetter SurfSense SSRF Vulnerability

CVE-2026-102244 is a server-side request forgery flaw in MODSetter SurfSense that allows remote attackers to manipulate server requests through the document export feature. This post covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-102244 Overview

CVE-2026-102244 is a server-side request forgery (SSRF) vulnerability [CWE-918] affecting MODSetter SurfSense versions up to 0.0.36. The flaw resides in an unspecified function within surfsense_backend/app/routes/editor_routes.py, part of the Document Export Feature. An authenticated remote attacker can manipulate export requests to coerce the server into issuing arbitrary outbound HTTP requests. A public exploit exists, though real-world exploitation has not been confirmed. Upgrading to version 0.0.36.3 addresses the issue via commit 2faff7b3823322a9cb6797973e6caf089386c354.

Critical Impact

Authenticated attackers can leverage the SurfSense backend to reach internal services, cloud metadata endpoints, or otherwise unreachable network resources through the Document Export Feature.

Affected Products

  • MODSetter SurfSense versions through 0.0.36
  • Component: Document Export Feature (surfsense_backend/app/routes/editor_routes.py)
  • Fixed in: SurfSense 0.0.36.3

Discovery Timeline

  • 2026-09-29 - CVE-2026-102244 published to the National Vulnerability Database (NVD)
  • 2026-09-29 - Last updated in the NVD database
  • Patch commit - 2faff7b3823322a9cb6797973e6caf089386c354 released in SurfSense Release 0.0.36.3

Technical Details for CVE-2026-102244

Vulnerability Analysis

SurfSense is an open-source research and knowledge platform. The Document Export Feature accepts user-controlled input that is subsequently used to construct outbound requests from the backend. Because the input is not validated against an allow-list of destinations or safe URL schemes, an attacker with low privileges can direct the server to fetch arbitrary URLs. This is a classic server-side request forgery pattern categorized under CWE-918. The attacker uses the vulnerable server as a proxy to reach resources that are otherwise not accessible from the public internet.

Root Cause

The root cause is missing validation of destination URLs handled by the export route in surfsense_backend/app/routes/editor_routes.py. The maintainers addressed the issue by removing the PDF export path from the export options in surfsense_web/components/shared/ExportMenuItems.tsx, effectively cutting off the vulnerable export flow. This suggests the SSRF sink was reachable through PDF-generation logic that resolved user-supplied resources server-side.

Attack Vector

The attack is executed remotely over the network. An authenticated user submits a crafted export request that includes an attacker-controlled URL or resource reference. The SurfSense backend then issues an outbound HTTP request to that destination. Common SSRF targets include cloud metadata services (for example, 169.254.169.254), internal admin panels, and other backend services bound to loopback or private ranges.

text
// Patch excerpt: removal of PDF export option in ExportMenuItems.tsx
 } from "@/components/ui/dropdown-menu";
 
 export const EXPORT_FILE_EXTENSIONS: Record<string, string> = {
-	pdf: "pdf",
 	docx: "docx",
 	html: "html",
 	latex: "tex",

Source: GitHub Commit 2faff7b

Detection Methods for CVE-2026-102244

Indicators of Compromise

  • Outbound HTTP or HTTPS requests originating from the SurfSense backend to unexpected destinations such as 127.0.0.1, 169.254.169.254, or RFC1918 addresses
  • Unusual export activity in the application logs referencing editor_routes.py handlers, especially involving PDF export
  • Access to cloud instance metadata endpoints from the SurfSense host or container

Detection Strategies

  • Instrument the SurfSense backend to log the destination URL of every outbound request made during export processing.
  • Correlate authenticated user actions on export endpoints with subsequent egress connections from the backend host.
  • Alert on any backend HTTP client requests targeting private IP ranges, link-local addresses, or non-standard ports.

Monitoring Recommendations

  • Enable egress network flow logging (for example, VPC Flow Logs) for the SurfSense host and baseline expected destinations.
  • Deploy web application firewall (WAF) rules that inspect export request bodies for URL patterns and reject internal targets.
  • Monitor cloud metadata service access using provider-native controls such as IMDSv2 enforcement on AWS.

How to Mitigate CVE-2026-102244

Immediate Actions Required

  • Upgrade SurfSense to version 0.0.36.3 or later using the official SurfSense 0.0.36.3 release.
  • Review authentication and account provisioning for the SurfSense instance since exploitation requires low-privileged access.
  • Audit backend logs for prior invocations of the Document Export Feature and any suspicious outbound requests.

Patch Information

The fix is delivered in commit 2faff7b3823322a9cb6797973e6caf089386c354, which refactors the export feature and removes the PDF export path associated with the SSRF sink. Full remediation is available in the SurfSense 0.0.36.3 release. See the VulDB entry for CVE-2026-102244 for additional advisory context.

Workarounds

  • Restrict egress from the SurfSense backend to only the destinations required for normal operation using host or network firewalls.
  • Block backend access to cloud metadata endpoints (for example, 169.254.169.254) and enforce IMDSv2 where applicable.
  • Temporarily disable or gate the Document Export Feature behind a trusted administrator role until the upgrade is applied.
bash
# Example: block SurfSense backend egress to cloud metadata and private ranges
iptables -A OUTPUT -m owner --uid-owner surfsense -d 169.254.169.254 -j REJECT
iptables -A OUTPUT -m owner --uid-owner surfsense -d 10.0.0.0/8 -j REJECT
iptables -A OUTPUT -m owner --uid-owner surfsense -d 172.16.0.0/12 -j REJECT
iptables -A OUTPUT -m owner --uid-owner surfsense -d 192.168.0.0/16 -j REJECT

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.