Medium, CVSS 5.3PyPIAmendedPublished
OpenWISP Controller CA CRL REST API does not scope requests to managed organizations
CVE-2026-116677 · GHSA-9gh4-xw24-9xh5
- Affected
- PyPI openwisp-controller >= 1.0.0, < 1.3.2
- Fixed in
- 1.3.2· Vendor fix available
- Issue
- The authenticated REST API endpoint for downloading a CA Certificate Revocation List resolves the requested CA without applying the organization-scoped queryset used by the rest of the PKI API. An organization manager with CA view permission can request another organization's sequential CA ID and receive that CA's CRL. The endpoint is intended to be authenticated and organization-scoped, so it should use the same access-control path as `GET /api/v1/controller/ca/ /`. Affected endpoint ```text GET /api/v1/controller/ca/ /crl ``` `CrlDownloadView` inherits `ProtectedAPIMixin`, which requires an authenticated organization manager with the relevant model permission. However, `retrieve()` resolves the CA with `get_object_or_404(Ca, pk=kwargs["pk"])`. This bypasses `FilterByOrganizationManaged` and does not perform an object-level permission check. Consequently, a manager of organization A can enumerate CA integer IDs and retrieve the CRL for a CA belonging to organization B.…
Recommended action: Upgrade to 1.3.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.