/

CVE-2026-111590

Severity:

HIGH RISK

(8.5)

Server-Side Request Forgery (CWE-918) in Harbor Webhooks

CVE-2026-111590

Awaiting Analysis

Vulnerability type

Category:

Server-Side Request Forgery (SSRF)

CWE:

CWE-918

Impact:

Server-Side Request Forgery and Information 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

Harbor's webhook delivery component may send requests to private or link-local addresses because it does not adequately validate webhook targets. An authenticated ProjectAdmin could use this behavior to reach network-restricted services; if a target responds with an error, its response body may be exposed through logs readable by project members.

Affected context

The issue occurs in Harbor's webhook delivery flow when a project webhook can target private or link-local IP addresses. A ProjectAdmin must be able to configure the webhook, and a project event must trigger delivery. If the destination returns an error status, Harbor may write its response body to the webhook execution log, where project members can read it.

Exploit preconditions

  • Attack surface: Harbor's webhook delivery component and its outbound network access
  • Required access: An authenticated account with ProjectAdmin permissions to configure a project webhook
  • Trigger point: A project event that causes Harbor jobservice to deliver the webhook
  • Why exploitation is possible: Target-address validation does not adequately prevent requests to private or link-local ranges; error responses may also be recorded in logs accessible to project members

Why this happens

The underlying issue is insufficient validation of user-configured webhook destinations before making server-side HTTP requests. This is a Server-Side Request Forgery weakness (CWE-918): an application makes requests to destinations chosen by a user without sufficiently restricting where those requests can go. Recording error response bodies in readable execution logs can further expose information returned by internal services.

Potential impact

  • Harbor jobservice could make requests to internal or link-local services
  • Responses could reveal cloud metadata or other network-restricted information
  • Webhook execution logs could expose response content to project members
  • Internal services could receive unexpected requests from Harbor's environment

General mitigation guidance

Defensive patterns include validating webhook destinations against an explicit allowlist and rejecting private, loopback, link-local, and otherwise restricted address ranges. Apply destination checks to resolved addresses and account for redirects and DNS changes so requests cannot bypass policy. Consider limiting outbound network access from jobservice, minimizing the sensitivity and visibility of logged response bodies, and applying least privilege to both Harbor components and project roles.

How teams detect issues like this

Review webhook delivery code and policies for destination checks that do not restrict private or link-local addresses, including checks around DNS resolution and redirects. Inspect outbound network controls and jobservice egress logs for requests to internal address ranges. Review webhook execution logging policies to determine whether response bodies are retained or visible to project members. Static analysis and automated review tools may help identify server-side requests built from user-controlled destinations.

Sources

SourceLink
github.comgithub.com/goharbor/harbor/security/advisories/GHSA-2phj-cp9f-qq6w

Frequently asked

questions

Exploitation involves Harbor's server making the outbound request; an attacker does not directly connect to the internal destination. The attacker needs the required Harbor access and a project event to trigger delivery.

The described configuration path requires an authenticated user with ProjectAdmin permissions for the project. Project members may be able to read exposed response content in execution logs.

Restrict webhook destinations using an explicit policy that blocks internal and otherwise prohibited addresses, and enforce outbound network controls as a separate layer.

Treat user-configured URLs as untrusted, validate destinations at request time, account for DNS resolution and redirects, and avoid exposing sensitive response bodies in logs.

Find out what's already
exploitable in your codebase.