/

CVE-2026-62308

Severity:

CRITICAL RISK

(9.1)

Server-Side Request Forgery (CWE-918) in Tugtainer App

CVE-2026-62308

Deferred

Vulnerability type

Category:

Server-Side Request Forgery

CWE:

CWE-918

Impact:

Unauthorized outbound requests and potential access to internal services or cloud metadata

Severity:

CRITICAL RISK

(9.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Tugtainer contains a server-side request forgery vulnerability in its notification test endpoint, allowing an authenticated user to cause the backend to send HTTP requests to attacker-supplied URLs. Because destination protocols, hostnames, private addresses, localhost, and cloud metadata endpoints are not sufficiently restricted, the issue may expose internal services or sensitive metadata.

Affected context

The vulnerability occurs in Tugtainer deployments where an authenticated user can access the notification testing functionality and provide values through the urls field. Risk is higher when the backend has network access to internal systems, loopback services, private address ranges, or cloud instance metadata endpoints, and when outbound traffic is not filtered by network controls.

Exploit preconditions

  • Attack surface: The notification test endpoint at /settings/test_notification
  • Required access: An authenticated Tugtainer account with permission to invoke the endpoint
  • Trigger point: Submission of a user-controlled urls value for notification testing
  • Why exploitation is possible: The supplied destination is passed to the Apprise request layer without adequate protocol, hostname, or network-range restrictions

Why this happens

The underlying issue is insufficient validation and destination control for server-side HTTP requests. The notification endpoint treats attacker-controlled URL data as a trusted request target and does not consistently reject unsafe protocols, loopback destinations, private networks, or cloud metadata addresses. This behavior maps to CWE-918: Server-Side Request Forgery, where a server is induced to make requests to locations selected by an external user.

Potential impact

  • Internal services may receive unauthorized requests
  • Cloud instance metadata or temporary credentials could be exposed
  • Sensitive information may be retrieved through blind or observable request behavior
  • Internal network topology and service availability may be affected
  • Security boundaries between the application and protected network resources could be weakened

General mitigation guidance

Mitigation generally focuses on reducing trust in user-supplied destinations and enforcing outbound request policy at multiple layers.

Common defensive patterns include:

  • Allowing only explicitly approved schemes, hostnames, and destination categories
  • Using an allowlist for notification providers instead of accepting arbitrary URLs
  • Resolving hostnames and validating resulting addresses before connecting
  • Blocking loopback, link-local, private, reserved, and cloud metadata address ranges
  • Rechecking destinations after redirects and preventing unsafe redirect targets
  • Applying egress firewall rules and network segmentation around the backend
  • Running the service with least-privilege network and cloud identity permissions
  • Returning minimal response details so internal resources cannot be probed through the application

How teams detect issues like this

Detection can combine application telemetry, source analysis, and network controls:

  • Review code for request functions receiving URL values directly from HTTP parameters
  • Use static analysis rules for missing URL allowlists and absent private-address checks
  • Inspect code review changes involving notification integrations, proxy behavior, or redirect handling
  • Log outbound request destinations, resolution results, redirect chains, and denied attempts
  • Alert on backend connections to loopback, private ranges, link-local addresses, and metadata endpoints
  • Enforce egress policies that restrict backend traffic to approved notification services
  • Use automated security review tools to identify SSRF-prone request construction patterns

Sources

SourceLink
github.comgithub.com/Quenary/tugtainer/commit/c0294d0ab64985b135d0c5b566ac30bf8371f9c3
github.comgithub.com/Quenary/tugtainer/releases/tag/v1.30.6
github.comgithub.com/Quenary/tugtainer/security/advisories/GHSA-c2h5-ppv9-7vrq

Frequently asked

questions

It can be reached through the application by an authenticated user who can invoke the notification test functionality. Exploitation does not necessarily require access to the server operating system.

The attacker generally needs valid authentication and sufficient authorization to submit notification test requests. The practical impact also depends on the backend's network reachability and cloud permissions.

Restrict notification destinations to approved schemes and hosts, validate resolved addresses against blocked network ranges, handle redirects safely, and enforce outbound network policy outside the application.

Treat all user-provided URLs as untrusted, use destination allowlists, apply least-privilege network access, and continuously monitor and test server-side outbound request paths.

Find out what's already
exploitable in your codebase.