| Titolo | theonedev onedev 15.05 BOPLA |
|---|
| Descrizione | Issue 03 — Default Branch Modification Protected Only by WriteCode
Risk Summary
The REST API for changing project.defaultBranch currently appears to require only WriteCode permission.
However, the default branch acts as a project-level control-plane attribute influencing workflow automation, branch selection logic, and default execution targets.
The current Web UI already restricts this operation to project-management-level capability, resulting in inconsistent authorization semantics between UI and REST paths.
|
|---|
| Fonte | ⚠️ https://www.cnblogs.com/aibot/p/19994142 |
|---|
| Utente | Anonymous User |
|---|
| Sottomissione | 08/05/2026 08:30 (2 mesi fa) |
|---|
| Moderazione | 06/06/2026 00:21 (29 days later) |
|---|
| Stato | Accettato |
|---|
| Voce VulDB | 369020 [theonedev fino a 15.0.5 REST API default-branch project.defaultBranch escalationi di privilegi] |
|---|
| Punti | 20 |
|---|