/

CVE-2026-76838

Severity:

HIGH RISK

(8.5)

Server-Side Request Forgery (CWE-918) in Hi.Events Webhooks

CVE-2026-76838

Deferred

Vulnerability type

Category:

Server-Side Request Forgery

CWE:

CWE-918

Impact:

Internal service access and sensitive response disclosure

Severity:

HIGH RISK

(8.5)

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

Hi.Events webhook delivery can be abused to make server-side requests to loopback, private-network, cloud metadata, or other internal destinations. The risk arises when a previously accepted webhook URL changes through DNS or redirects, because the destination is not revalidated during dispatch and the resulting response may be exposed through webhook logs.

Affected context

The vulnerability affects event and organizer webhook integrations when a destination is validated only during registration. A public hostname may later resolve to an internal address, or the destination may redirect to one, while the dispatch path continues to use the stored URL without validating the resolved address or each redirect target. Webhook response bodies being retained in logs can make data returned by internal services available through the webhook logs endpoint.

Exploit preconditions

  • Attack surface: Webhook registration and server-side webhook dispatch
  • Required access: Ability to register or influence a webhook destination and read the associated webhook logs
  • Trigger point: Delivery of an event or organizer webhook
  • Why exploitation is possible: Address validation occurs at registration rather than dispatch, DNS is not re-resolved safely at use time, and redirect targets are not checked before requests are followed

Why this happens

The underlying issue is a time-of-check-to-time-of-use failure in URL validation. Hi.Events resolves and filters the hostname when a webhook is registered, but later trusts the stored URL during delivery. Without revalidating the resolved address and every redirect hop, a hostname can be changed after registration or can redirect the server toward an internal destination. This behavior maps to CWE-918, Server-Side Request Forgery, because attacker-influenced URL handling causes the application server to issue requests to unintended network locations. Returning the response body through webhook logs adds an information-disclosure path.

Potential impact

  • An attacker could access loopback or private-network services
  • Requests could reach cloud instance metadata endpoints
  • Internal service responses may be exposed through webhook logs
  • The application could disclose network topology or service credentials
  • Internal endpoints could receive unintended authenticated or privileged requests

General mitigation guidance

Mitigation generally focuses on treating webhook URLs as untrusted at every

use, not only when they are registered.

Common defensive patterns include:

  • Revalidate the hostname and resolved address immediately before dispatch
  • Pin the validated destination address for the request where feasible
  • Validate every redirect target, or disable redirect following by default
  • Reject loopback, private, link-local, reserved, multicast, and equivalent IPv6 or transition addresses
  • Resolve and connect in a way that prevents DNS rebinding between validation and use
  • Restrict outbound network access with egress controls and least-privilege service accounts
  • Minimize or redact webhook response bodies retained in logs
  • Apply authorization checks before exposing webhook delivery records

How teams detect issues like this

Organizations can look for SSRF risks through:

  • Static analysis rules for server-side HTTP clients that accept user-controlled URLs
  • Code review checks for URL validation performed only at creation or registration time
  • Review of HTTP-client defaults, especially automatic redirect following
  • Tests covering DNS changes, redirect chains, IPv4 and IPv6 representations, and transition addresses
  • Network monitoring for application requests to loopback, private, link-local, and metadata ranges
  • Policy enforcement that limits production workloads to approved outbound destinations
  • Automated security review tools that flag untrusted URL flows and missing egress restrictions

Sources

SourceLink
github.comgithub.com/HiEventsDev/Hi.Events
github.comgithub.com/HiEventsDev/Hi.Events/blob/v.1.11.0-beta/backend/app/Validators/Rules/NoInternalUrlRule.php
github.comgithub.com/HiEventsDev/Hi.Events/commit/cfbf468bb5b1
github.comgithub.com/HiEventsDev/Hi.Events/pull/1311
vulncheck.comvulncheck.com/advisories/hi-events-before-beta-server-side-request-forgery-via-unvalidated-webhook-redirects

Frequently asked

questions

Potentially. An attacker generally needs a way to register or influence a webhook destination and a separate ability to access the resulting webhook log data. The exact scope depends on application authorization and network exposure.

No. The server performs the outbound request, so the attacker may only need control over the webhook URL or its DNS and redirect behavior.

Validate the destination at dispatch time, pin or otherwise protect the validated address, inspect every redirect hop, and disable redirects unless they are explicitly required and safely constrained.

Treat all externally supplied URLs as untrusted, enforce outbound allowlists or network egress controls, test DNS-rebinding and redirect cases, and avoid exposing raw webhook responses through broadly accessible logs.

Find out what's already
exploitable in your codebase.