Description
knowns versions before 0.30.0 contain an authorization bypass vulnerability where mutating code actions are incorrectly classified as read-only operations. Attackers with read-restricted sessions can exploit code.replace to modify permission configurations and escalate privileges on subsequent calls.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| knowns-dev | knowns | < 0.30.0 | 0.30.0 |
References
- GitHub Security Advisory (GHSA-w323-3wpx-f7g5) vendor-advisory
- ActionRegistry omits the mutating code actions; ClassifyAction falls back to CapRead (v0.29.1) technical-description
- Guard middleware gates on that classification (v0.29.1) technical-description
- knowns fix commit a2c98fc5c313 patch
- knowns v0.30.0 Release Notes release-notes
- VulnCheck Advisory: knowns before 0.30.0 Authorization Bypass via Misclassified Code Actions third-party-advisory