/

CVE-2026-134451

Severity:

HIGH RISK

(8.1)

Privilege Escalation (CWE-269) in Dockhand OIDC API

CVE-2026-134451

Received

Vulnerability type

Category:

Privilege Escalation

CWE:

CWE-269

Impact:

Unauthorized administrator access

Severity:

HIGH RISK

(8.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

Dockhand has an authorization flaw that can let a non-admin user with settings:edit permission change an OIDC provider's configuration, including its admin group claim. If the user can then log in through that provider with an identity matching the altered claim, they may gain full administrator access.

Affected context

The vulnerability affects Dockhand versions before 1.0.57 when OIDC authentication is configured and a user with settings:edit permission can reach the provider-configuration API. An improper permission check may allow that user to change the provider's adminClaim setting, which is used to determine administrative access during OIDC login.

Exploit preconditions

  • Attack surface: The OIDC provider configuration API at /api/auth/oidc/<provider-id>
  • Required access: An authenticated non-admin account with settings:edit permission
  • Trigger point: A PUT request that changes the provider's adminClaim
  • Additional condition: The attacker must be able to complete an OIDC login whose group claim matches the configured admin claim
  • Why exploitation is possible: The permission check does not adequately restrict changes to security-sensitive OIDC settings

Why this happens

The API applies an insufficient authorization check when updating OIDC provider settings. This allows a user with general settings-edit access to modify a configuration value that controls administrator assignment. The issue maps to CWE-269: Improper Privilege Management, because permissions do not adequately constrain a sensitive privilege-related operation.

Potential impact

  • A non-admin user could gain full administrator access after a qualifying OIDC login
  • An attacker could change authentication behavior for users relying on the affected provider
  • Administrative access could enable further changes to Dockhand-managed resources

General mitigation guidance

Defensive patterns include separating routine settings permissions from access to authentication and authorization controls, and applying explicit role checks to sensitive provider updates. Treat identity-provider configuration as security-critical: validate changes against a strict schema, protect it from unauthorized modification, and require appropriately privileged approval. Use least-privilege accounts and limit who can edit OIDC settings.

How teams detect issues like this

Review authorization logic for API routes that update identity-provider configuration, especially checks based only on broad settings permissions. Audit OIDC configuration changes and monitor for unexpected changes to admin group claims or provider settings. Static analysis and code review policies can flag sensitive authorization fields updated through endpoints without explicit privileged-access checks.

Sources

SourceLink
github.comgithub.com/Finsys/dockhand/security/advisories/GHSA-fhrh-phv3-xg2h
vulncheck.comvulncheck.com/advisories/dockhand-before-1.0.57-privilege-escalation-via-oidc-provider-update-handler

Frequently asked

questions

A non-admin user with settings:edit permission may be able to change the affected OIDC provider setting, provided the API is accessible to that user.

Gaining administrator access through this issue requires a subsequent OIDC login that satisfies the modified admin group claim.

Apply explicit authorization checks that reserve authentication and administrator-mapping changes for appropriately privileged users.

Treat identity and access-control settings as security-sensitive, test permissions for each API operation, and audit changes to those settings.

Find out what's already
exploitable in your codebase.