/

CVE-2026-85712

Severity:

HIGH RISK

(8.8)

Authorization Bypass (CWE-639) in Chartbrew Projects

CVE-2026-85712

Deferred

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-639

Impact:

Cross-Tenant Project Takeover and Data Exposure

Severity:

HIGH RISK

(8.8)

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's project authorization check can trust a caller-supplied team ID instead of verifying that the requested project belongs to that team. An authenticated team owner or admin may use this mismatch to access or change another team's project, and the shared delete route may allow cross-tenant deletion.

Affected context

The issue affects project routes and related authorization checks that accept user-controlled project identifiers. It becomes risky when authorization relies on a caller-provided team ID without confirming the target project's actual team, and update handlers accept request fields without an appropriate allow-list.

Exploit preconditions

  • Attack surface: Authenticated project routes and the shared project delete route
  • Required access: A valid account with an owner or admin role on the caller's own team; default self-signup may provide this role
  • Required information: A victim project identifier
  • Trigger point: A request that pairs the victim project ID with the caller's own team ID in the request body
  • Why exploitation is possible: The permission check evaluates the caller-selected team rather than confirming the target project's team; requests without the body team ID are rejected

Why this happens

The authorization logic uses a caller-controlled team identifier as the basis for access decisions without binding that identifier to the requested project. This is a form of CWE-639: Authorization Bypass Through User-Controlled Key. The update path compounds the issue by mass-assigning request fields without a project field allow-list, allowing sensitive ownership and access settings to be changed.

Potential impact

  • An attacker may re-parent a victim project into their own team and gain read and write access.
  • Project data could be exposed, or a project could be made public or have its password protection removed.
  • The victim team may lose access to the project.
  • Cross-tenant deletion could cause loss of project data or availability.

General mitigation guidance

Defensive patterns include binding every authorization decision to the resource's server-verified tenant or team, rather than trusting identifiers supplied by the caller. Update operations can use explicit field allow-lists and reject changes to ownership or access-control fields unless separately authorized. Prefer deny-by-default resource checks, minimize privileged roles, and limit public sharing and deletion capabilities to explicitly authorized actions.

How teams detect issues like this

  • Review authorization code for checks based on caller-supplied team or tenant IDs without a server-side resource ownership check.
  • Use static analysis or code review to identify mass assignment and update handlers that accept unrestricted request bodies.
  • Add policy tests that verify cross-tenant reads, updates, re-parenting, sharing changes, and deletions are denied.
  • Monitor for project ownership changes, unexpected public exposure, password-protection changes, and deletion attempts across team boundaries.

Sources

SourceLink
github.comgithub.com/chartbrew/chartbrew/commit/9db1e57c95014256ef0a7a8a4d60af6e7ade42a5
github.comgithub.com/chartbrew/chartbrew/releases/tag/v5.2.3
github.comgithub.com/chartbrew/chartbrew/security/advisories/GHSA-6gv3-8wxh-6vfq

Frequently asked

questions

An authenticated user with an owner or admin role on their own team may be able to target another team's project if they know its identifier and submit their own team ID in the request body.

The described attack does not require a role on the victim's team. It relies on the authorization check evaluating the attacker-selected team instead of verifying the target project's team.

Resolve the project server-side and authorize access against its verified team ownership. Restrict updateable fields with an explicit allow-list.

Enforce deny-by-default, resource-bound authorization checks across read, update, and delete routes, and test that requests cannot cross tenant boundaries.

Find out what's already
exploitable in your codebase.