/

CVE-2026-55228

Severity:

HIGH RISK

(8.1)

Authorization Bypass (CWE-639) in Weblate REST API

CVE-2026-55228

Deferred

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-639

Impact:

Unauthorized Project Access and Management

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

Weblate's REST API may fail to enforce the intended scope of project- and workspace-scoped teams, allowing invalid team configurations to be submitted. A user who can manipulate team assignments could gain access to private projects and perform translation, repository, or project-management operations beyond their authorized scope.

Affected context

The issue may occur in Weblate deployments where the REST API accepts team configuration changes without adequately verifying that project assignments are permitted by the requesting user's existing scope. Risk is higher when users can submit team-management requests and when projects or workspaces contain private resources.

Exploit preconditions

  • Attack surface: Weblate REST API endpoints that manage teams and project assignments
  • Required access: An authenticated user with permission to submit relevant team or configuration requests
  • Trigger point: Processing a request that assigns projects to a project- or workspace-scoped team
  • Why exploitation is possible: Server-side authorization checks may not consistently validate whether the requested team scope and project relationships are allowed

Why this happens

The underlying bug is an object-level authorization failure mapped to CWE-639: Authorization Bypass Through User-Controlled Key. The API appears to trust user-supplied project or team relationships without enforcing the complete authorization context for the affected objects. This insecure pattern allows a valid request from a lower-privileged user to influence resources outside the user's permitted scope.

Potential impact

  • Unauthorized users may view private projects
  • Attackers could modify translations or related project content
  • Repository-management operations may be performed outside the intended scope
  • Project settings or team relationships could be changed without proper authorization
  • Confidential localization data may be exposed

General mitigation guidance

Mitigation generally focuses on enforcing authorization at every object relationship boundary rather than relying on client-supplied scope information.

Common defensive patterns include:

  • Revalidating team scope, workspace membership, and project ownership on the server for every mutation
  • Deriving authorization context from trusted server-side records instead of request parameters
  • Applying deny-by-default object-level access controls
  • Separating permissions for viewing, translating, repository management, and project administration
  • Restricting team-management capabilities according to least privilege
  • Maintaining consistent authorization checks across REST endpoints and equivalent user interfaces

How teams detect issues like this

Organizations can look for this class of issue through:

  • Static analysis and code review checks for authorization decisions based only on user-controlled identifiers
  • Tests that attempt cross-workspace and cross-project object references using accounts with different privilege levels
  • Review of API handlers for missing checks on team scope, project ownership, and workspace membership
  • Runtime logging of team-assignment changes and unusual access to private projects
  • Policy enforcement requiring server-side authorization tests for every object-level mutation

Automated security review tools may help identify inconsistent access-control checks, but authorization behavior should also be validated with integration and permission-boundary tests.

Sources

SourceLink
github.comgithub.com/WeblateOrg/weblate/commit/19babc99b05f2cc299b5090f90f79d8181f25d79
github.comgithub.com/WeblateOrg/weblate/security/advisories/GHSA-2q2q-jr9g-v9rf

Frequently asked

questions

It may be exploitable through the Weblate REST API by an authenticated user who can submit relevant team or project-assignment requests.

Not necessarily. The key requirement is sufficient access to invoke the affected team-management functionality; the vulnerability could then allow actions beyond the user's intended project or workspace scope.

Enforce server-side, object-level authorization for every team, workspace, and project relationship, using trusted permission data rather than accepting scope from the request.

Use deny-by-default authorization, apply least privilege, and test API operations with users spanning multiple project and workspace permission boundaries.

Find out what's already
exploitable in your codebase.