/

CVE-2026-68935

Severity:

CRITICAL RISK

(9.1)

Server-Side Request Forgery (CWE-918) in Chartbrew

CVE-2026-68935

Deferred

Vulnerability type

Category:

Server-Side Request Forgery (SSRF)

CWE:

CWE-918

Impact:

Unauthorized requests to internal services, potentially exposing information or triggering actions

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

Chartbrew API connection operations allow a user with connection-management permission to enable an internal setting that bypasses restrictions on private and reserved network destinations. If the Chartbrew server can reach an internal HTTP service, this may let the user access that service or trigger actions through it; recognized cloud metadata endpoints remain separately blocked.

Affected context

The issue affects Chartbrew versions 4.8.5 through 5.2.2 when API connection creation or updates accept the internal allowPrivateHost field from user input. An upgrade migration also enables the override on pre-existing connections. This per-connection setting takes precedence over CB_ALLOW_PRIVATE_NETWORK_CALLS, so disabling that instance option alone does not protect connections with the override enabled.

Exploit preconditions

  • Attack surface: Chartbrew API connection creation and update operations
  • Required access: An authenticated account with permission to manage API connections
  • Trigger point: Creating or updating a connection with the internal private-host override enabled, or using a pre-existing connection where a migration enabled it
  • Why exploitation is possible: The connection-level override bypasses private and reserved-network destination restrictions, allowing requests to internal HTTP services reachable from the Chartbrew server

Why this happens

The application accepts a security-sensitive destination restriction override from user-controlled input and applies it to API connections. This creates a server-side request forgery condition: requests made by the server can be directed to private or reserved network destinations without the intended safeguards. The issue maps to CWE-918: Server-Side Request Forgery (SSRF).

Potential impact

  • A user with connection-management access may be able to make Chartbrew request internal HTTP services.
  • Responses from reachable services could disclose information.
  • Requests could trigger unauthorized actions on internal services, depending on their behavior and authentication controls.
  • The override on migrated connections could leave destinations accessible even when the instance-level setting is disabled.
  • Recognized cloud metadata endpoints remain separately blocked.

General mitigation guidance

Defensive patterns should keep destination restrictions under trusted administrative control rather than allowing connection input to weaken them.

  • Enforce private and reserved-network destination checks consistently at the request boundary.
  • Do not expose internal security override fields through user-controlled connection operations.
  • Apply consistent policy to existing and newly created connections during migrations.
  • Use allowlists for permitted destinations and limit outbound network access from the application.
  • Run the application with least privilege and restrict access to connection-management capabilities.
  • Treat instance-level settings and per-connection configuration as a unified policy so that a local override cannot silently weaken protections.

How teams detect issues like this

  • Review API schemas, request handlers, and persistence logic for security-sensitive fields accepted from user input, especially destination restriction overrides.
  • Use static analysis and code review checks to identify server-side HTTP requests whose destinations are influenced by connection data without consistent validation.
  • Audit existing connections for enabled private-host overrides, including records affected by migrations.
  • Monitor application egress and alert on requests to private or reserved network ranges, while accounting for legitimate internal integrations.
  • Enforce policy checks in CI or automated reviews to prevent user-controlled configuration from weakening network restrictions.

Sources

SourceLink
github.comgithub.com/chartbrew/chartbrew/commit/78f49f4fc2781dc3f33f102b1daeddf22225bce4
github.comgithub.com/chartbrew/chartbrew/releases/tag/v5.2.3
github.comgithub.com/chartbrew/chartbrew/security/advisories/GHSA-4q3v-5r7x-58q2

Frequently asked

questions

An authenticated user needs permission to manage API connections. The risk depends on the destinations reachable from the Chartbrew server and the access controls on those services.

No. The per-connection allowPrivateHost setting takes precedence, so connections with the override enabled may still bypass the instance-level restriction.

Keep destination restrictions enforced by trusted server-side policy, and do not allow user-controlled connection data to disable those checks. Apply the same policy to existing connections and migrations.

Validate destinations at the point of each outbound request, use destination allowlists where practical, restrict server egress, and limit which users can manage connections.

Find out what's already
exploitable in your codebase.