Cerbos
Cerbos is an open-source, language-agnostic authorization platform that lets you define context-aware access-control rules for your application resources in…
Platform availability
Available on 4 of 10 platforms
- Unraid (not listed)
- TrueNAS (not listed)
- Umbrel (not listed)
- ZimaOS (not listed)
- Proxmox (not listed)
- Helm
- Mac
- Windows (not listed)
- Linux
- Any server
Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.
85/100 Excellent
- Maintained
- 100last commit 1 day ago
- Popular
- 734,680 GitHub stars
- Easy to install
- 554 install platforms, install notes
- Light to run
- 10064 MB minimum RAM
- Security check
- 86no serious findings, 2 minor, CI, tests, OpenSSF Scorecard 8.2/10
Availability: platform listings confirmed today
- GitHub stars
- 4,680
- Open issues
- 59
- Last commit
- 2026-12-03
- Latest release
- v0.58.0
- License
- Apache-2.0
- Activity
- unknown
Checked today - source: GitHub (cerbos/cerbos)
Resources & Compatibility
Minimum requirements: 64 MB RAM.
Checked 15 days ago - source: Docker Hub image tags and published docs
First-install notes
- Create a policies folder before starting Docker Run 'mkdir -p cerbos-quickstart/policies' first, because the Docker command mounts that folder into the container. Without policies, every request gets denied (EFFECT_DENY) since Cerbos has no rules to check. source
- Run Cerbos with Docker and know your ports Start the server with 'docker run --rm --name cerbos -d -v $(pwd)/cerbos-quickstart/policies:/policies -p 3592:3592 -p 3593:3593 ghcr.io/cerbos/cerbos:0.57.0'. Port 3592 is the HTTP API your app talks to, and 3593 is gRPC — if these ports aren't published, your app can't reach Cerbos at all. source
- Point the server at your config file Cerbos needs a .cerbos.yaml config file, passed with '--config='. Without it the server doesn't know how to load policies or which settings to use, so it won't start correctly. source
Fetched today - each note links to its source
Variants
Alternatives (8)
- Aserto - Aserto is an application authorization as a service.
- Auth0 - You can connect any application (written in any language or on any stack) to Auth0 and define its Connection, the method used to authentica…
- Authelia - Authelia is an open-source authentication and authorization server that provides login, multi-factor authentication, and single sign-on for…
- Axiomatics
- GoRules - Model business logic in decision tables, visual flows, and natural-language rules.
- Keycloak - Keycloak is an open-source Identity and Access Management platform for adding authentication to self-hosted applications.
- Ory - Ory builds cloud-native authentication (login), authorization (permission), delegation (OAuth2, OpenID Connect), and user management softwa…
- authentik - Authentik is an open-source identity provider that adds flexible single sign-on, user management, and common sign-in protocol support to se…
Checked today - source: AlternativeTo
Common questions
Which ports does the Cerbos PDP container need published, and what are they for?
The Docker container should publish port 3592 for the HTTP API your application calls, and 3593 for gRPC. If these ports aren't published, your app can't reach Cerbos at all.
Why is Cerbos denying every request after I start it?
If no policies are loaded, every request gets denied (EFFECT_DENY) because Cerbos has no rules to check. Create a policies folder (e.g. mkdir -p cerbos-quickstart/policies) and mount it into the container before starting.
Where can policy files be stored besides local disk?
Policies can be stored on disk, in cloud object stores, in git repos, or dynamically in supported databases such as SQLite, and the PDP continually monitors the configured storage.
How can I distribute policy updates to multiple self-hosted PDPs?
Sign up for a free Cerbos Hub account, which lets you author and share policies in interactive playgrounds and quickly distribute policy updates to your whole PDP fleet.
How does Cerbos integrate with an identity provider like Keycloak?
Cerbos handles authorization while the IdP (such as Keycloak) handles authentication; documentation includes JWT-based authentication integrations for working with JWT claims, plus examples for Auth0, Okta, FusionAuth and AWS Cognito.
Answers sourced from docs.cerbos.dev, docs.cerbos.dev, github.com
Community
- We've been working on Cerbos PDP, an open source, scalable ... (forum)
- Show HN: Cerbos. Open source, horizontally scalable, stateless authorization (forum)
- A guide to using Cerbos authorization with Keycloak for Identity/AuthN (forum)
- Cerbos Hub: Simplifying Authorization for Developers (forum)
- Unlocking efficient authZ with Cerbos’ Query Plan (forum)
- Cerbos and FusionAuth [video] (forum)
Collected today - public community threads