Description
knowns through 0.33.0 exempts the project.set action from permission guard checks unconditionally, allowing read-only agent sessions to bypass restrictions. Attackers can invoke project.set to repoint the server at another project directory and obtain write access capabilities.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| knowns-dev | knowns | ≤ 0.33.0 | — |
References
- GitHub Security Advisory (GHSA-h73x-698r-qrvg) vendor-advisory
- https://github.com/knowns-dev/knowns/blob/v0.33.0/internal/permissions/guard.go#L104-L113 technical-description
- https://github.com/knowns-dev/knowns/blob/v0.33.0/internal/permissions/registry.go#L51-L54 technical-description
- VulnCheck Advisory: knowns through 0.33.0 Authorization Bypass via project.set Bootstrap Exemption third-party-advisory