Why Decidim security hardening starts with the version you run
Hardening a Decidim deployment is a set of ongoing controls, and the first one is staying on a supported release line. Decidim supports only the last two minor versions with security updates until version 1.0, which means 0.32.x and 0.31.x at the time of the sources used for this page, while 0.30.x and earlier no longer receive security fixes. If your public participation platform runs on an older line, no amount of configuration work closes the known gaps in the framework itself. Confirm the exact branch you run, check it against the current Decidim SECURITY.md policy, and put a dated plan in place for moving to a supported line before you tune anything else.
Generic Rails hardening covers the application server, the framework and the database. A Decidim instance adds more moving parts. Background jobs run through ActiveJob, uploaded files sit in ActiveStorage, outgoing mail depends on SMTP, maps and geocoding call external services, and social login runs through OmniAuth providers. Each of these needs its own credentials, storage location and network rules. Many settings also vary per organization, so a control that looks correct at the global level can still leave one tenant exposed. Inventory these components and their configuration owners before you start, and record which ones your deployment actually enables.
Upgrades add a further constraint. Decidim's update guidance asks you to move one minor version at a time and to follow each release's instructions, because some releases change database structures. That means a security fix often arrives as a planned migration, not a quick patch, and the team needs a tested database backup and a staging copy ready before each step. Ask your team or partner who owns the upgrade calendar, how long a minor step takes in your environment, and who signs off when a patch and a schema change land in the same release.
Which parts of a Decidim deployment need hardening
A Decidim deployment is several services working together: a Rails application, a PostgreSQL database, file storage, background workers, outbound mail and mapping calls, and third-party login. Each one exposes a different surface, so hardening is a set of checks across the whole stack rather than a single setting.
Rails application and environment
The Rails application holds the secrets, session handling and public routes for every participatory space on the platform. Check that production runs in production mode, that secret keys and credentials are stored outside the code repository, and that the Ruby version matches the release you run: Ruby 3.4.7 for v0.32 and Ruby 3.3.4 for v0.31. Confirm the Node version (22.14.x) used to build assets is also pinned, so the build is repeatable.
Manual installation guidePostgreSQL database
The database stores accounts, proposals, votes and the audit trail of participation, so it is the record that matters most. Restrict network access to the application servers only, use separate credentials for the application and for administrative tasks, and keep the server on a supported major version. The manual guide uses PostgreSQL 17.4 or later on Ubuntu 24.04.3 LTS. Take a verified backup before any upgrade.
- PostgreSQL in manual guide
- 17.4+
ActiveStorage file uploads
Participants upload images and documents that Decidim serves back to the public and to admins. Review which content types are accepted, where files are stored (local disk, object storage or a private bucket), and whether stored files are reachable without authentication. Confirm how uploads are scanned or limited in size, and check that deleted files are removed from storage as well as from the database.
Installation docsActiveJob background workers
Background workers send notifications, process exports and run scheduled tasks, and they often run with database access and mail credentials. Run workers under a dedicated system account with the fewest permissions, keep the job queue backend off public networks, and check that job failures and payloads do not write personal data into general logs. Restarting workers after a configuration change is part of the same review.
SMTP, maps and geocoding
Outbound mail and map services send data to third parties and need credentials that can be abused for spam or leaked through configuration files. Use an SMTP account limited to sending, store its password as a secret, and confirm which personal data (addresses, locations) reaches the geocoding provider. Rotate these credentials on a schedule your team can name, and record which provider each integration uses.
OmniAuth social login providers
Each social login provider is an external identity source and a callback URL that must match your domain exactly. Enable only the providers your organization has approved, configure client secrets per organization where Decidim allows it, and review redirect URIs after every domain change. Custom OmniAuth strategies add code you must maintain, so treat them as part of your upgrade scope.
Social providers docsDecisions to make before hardening: hosting model, upgrade cadence and identity sources
This table compares the main decisions that set the scope of Decidim hardening: how the app is installed, who applies patches, how the database and workers are placed, and where login providers are enabled. Read each row as a question to settle before the hardening checklist starts, with the operational cost of each option. The main takeaway is that the patch owner and the supported version line matter more than the installation method.
| Decision | Option and when it fits | Operational cost to confirm |
|---|---|---|
| Installation method | Docker suits teams that want a packaged, repeatable image and already run container platforms. Manual Rails installation suits teams that need direct control over the Ruby, Node and system packages. | Docker shifts image rebuilds and base image patching to your team. Manual installs put OS, Ruby 3.4.7 or 3.3.4, and Node 22.14.x updates on your operators. |
| Patch ownership | In-house patching fits organizations with Rails and Linux operators who can track releases and apply fixes quickly. A retainer fits teams that want a named party to watch advisories and deliver updates. | Confirm who watches SECURITY.md and GitHub advisories, who tests the patch, and who approves production changes within the 2-month standard and 4-month critical grace periods. |
| Upgrade cadence | Staying on the 0.32.x or 0.31.x line requires one minor version at a time with each release's upgrade steps. Teams with a slow change process should plan for upgrades that take a full test cycle. | Each upgrade needs a database backup, a staging run and a change window. Ask who owns custom modules that may break during an upgrade. |
| Database and worker placement | Co-located PostgreSQL and background jobs suit a small single-organization instance with low traffic. Separate database and worker hosts suit larger instances or teams that need tighter network segmentation. | Separate hosts add network rules, credentials, backups and monitoring for each host. Confirm the PostgreSQL version your installer targets, such as 17.4 or later in the manual guide. |
| Global login providers | Enable a provider globally when every organization on the instance should accept the same identity source. Global settings suit single-tenant or uniform deployments. | A global provider applies to all organizations, so a misconfigured app secret affects every site. Confirm who holds provider credentials and rotation duties. |
| Per-organization login providers | Enable a provider per organization when different sites use different identity sources or must keep their user pools separate. This suits multi-organization instances. | Each organization needs its own configuration, testing and review. Ask who maintains these settings after launch and how changes are logged. |
| Identity verification sources | Use authorization handlers for actions such as voting or signing where the organization must verify participants. Skip them for open consultations that do not restrict actions. | Verification adds third-party or national eID dependencies, and their outages or policy changes affect participants. Confirm the handler owner and data retention rules. |
How to harden a Decidim instance step by step
This sequence moves a Decidim deployment from an unverified install to a supported, configured and monitored platform, with a check at each stage that shows the step is finished. Run in order, each step builds on the one before, so the database backup and version check come before any configuration change.
Confirm the running version is supported
Start by recording the exact Decidim version, Ruby version and Node version in production. Decidim supports only the last two minor versions with security updates until version 1.0, which currently means the 0.32.x and 0.31.x branches, while 0.30.x and earlier receive no security fixes. If the instance is on an older branch, plan the upgrade one minor version at a time before any further hardening, since each release can change the database structure. The step is done when the team can name the branch in production and confirm it appears in the project's supported list.
Take and test a database backup
Before any change, take a full PostgreSQL backup and store it outside the application server. The update guide asks for a backup first, and the same backup is your fallback if a hardening change breaks the site. Restore the backup into a separate environment and confirm that the instance boots, that participant accounts log in and that uploaded file references resolve. The step is done when a restore test has completed successfully and the result is written down.
Set production Rails and server configuration
Run the application in production mode with secrets held in environment variables or a secrets manager, not in committed files. Review the Rails configuration for forced SSL, secure cookie flags, host allow-listing, and error pages that do not expose stack traces. Put the application behind a TLS-terminating reverse proxy, limit the ports open to the public, and keep the Ruby and Node runtimes at the versions the release notes require. The step is done when a configuration review against this list is signed off and a request to a deliberately invalid path returns a generic error.
Move ActiveStorage uploads to a controlled store
Decidim stores attachments through ActiveStorage, so move them off the local disk of the web server into a dedicated object store or file service with private buckets and access limited to the application's service account. Enable encryption at rest where the platform supports it, confirm that direct public URLs are not exposed for private documents, and set a retention rule for temporary uploads. Confirm the store's exact configuration keys with your version's documentation. The step is done when an uploaded file can be downloaded through the app, an anonymous request for its raw storage address is refused and a restore of the bucket has been tested.
Restrict admin and console access
Limit the administration interface to named staff accounts, enforce strong authentication for them, and review which roles can change organization settings, authorization rules and social login providers. Restrict Rails console and server shell access to a short list of operators who connect through an audited bastion or equivalent path, and turn on logging for console sessions. Confirm which social providers and OAuth clients are actually needed, and remove the rest. The step is done when a role review lists every admin account against a named owner and a test account with lower privileges cannot reach administrative pages.
Separate ActiveJob workers from the web tier
Background jobs handle email, imports and other work that should not block requests. Run them in dedicated worker processes with their own service account and network rules, rather than inside the web process, so that a fault or compromise in one tier is contained. Confirm that the SMTP credentials and any geocoding or map API keys are available only to the workers that need them. The step is done when workers start from their own unit or container definition, a queued email job completes through the worker and the web process holds no credentials it does not use.
Lock down PostgreSQL network and role access
Accept database connections only from the application and worker hosts, and restrict them by network rule and by authentication method. Create a separate role for the application with the privileges the platform needs, keep migration rights in a separate role used only during upgrades, and keep superuser access away from application credentials. Confirm the supported PostgreSQL version against the installation guide, which uses PostgreSQL 17.4 or later on Ubuntu 24.04.3 LTS, and apply the vendor's patch updates. The step is done when a connection attempt from an unlisted host fails, and a query run with the application role cannot alter roles or schemas outside its scope.
Register for advisories and set a patch process
Subscribe the operations team to the project's security channels, including GitHub Security Advisories and the security reporting address listed in the project's SECURITY.md. Record who receives each notice, how it is triaged, and the internal deadline for applying patches. Decidim gives implementers a 2-month grace period for standard vulnerabilities and 4 months for critical ones before details are disclosed, so the internal process should be sized to meet those windows. Run a check at each release to confirm the production branch still receives fixes. The step is done when a named owner has tested receiving an alert and the patch runbook has been reviewed against the current supported branch list.
Why upgrade order is part of hardening
Upgrade order is a security control in Decidim, not only a maintenance task. The update guide requires moving one minor version at a time, for example from 0.29 to 0.30 before moving to 0.31. Each release's upgrade instructions must be followed in sequence because some releases change database structures, and the database must be backed up before each step. A team that skips a minor version because it looks faster on paper is trading a short-term saving for an untested migration path that may fail on production data.
The security exposure is concrete. Until version 1.0, Decidim supports only the last two minor versions with security updates, which are currently 0.32.x and 0.31.x according to the project's security policy. Installations on 0.30.x or earlier are outside that support, so vulnerabilities disclosed later will not receive patches for those branches. An instance that has fallen behind needs a planned path through the intermediate versions, not a single jump to the newest release. The starting point is an inventory of the exact installed version, the custom modules in use, and the Ruby, Node and PostgreSQL versions each target release requires, which the Decidim update guide lays out per release.
Plan the path before scheduling it. Confirm each step in a staging copy restored from a recent production backup, check custom modules and themes against each target release, and record the time each migration takes so the production window is based on measured data. Ask any partner for a written sequence of versions, the test evidence for each step, and the rollback procedure if a migration fails. Because the security patch grace periods only apply to supported branches, the decision on when to start the path should be made as soon as the installed version falls out of support.
How hardening differs by deployment model
On a single node, the Rails application, background workers, PostgreSQL and file storage share one host. Hardening focuses on isolating those services from each other and from the network, because a compromise of the web process can reach the database and uploaded files directly. Access to the host, its SSH keys and its service accounts becomes the main admin boundary, so those controls carry more weight than they would in a split design.
- Process separation: Run the web server, the ActiveJob workers and PostgreSQL under separate system users with only the file and socket permissions each one needs.
- Database exposure: Bind PostgreSQL to the local socket or loopback interface and confirm no firewall rule opens its port.
- Local file storage: Keep ActiveStorage directories outside the application code path, owned by the service user, and excluded from public web serving.
- Patch path: Schedule OS and Ruby patching on the same host, which means a kernel or library update can restart Decidim as well.
- Backups: Store database and file backups off the host, since a single-node failure removes all copies stored locally.
Confirm with your team which accounts can log in to the host, where backups are kept, and whether the single node has a documented recovery procedure.",
In a separated design, the application, background job and database tiers run on different hosts or managed services. Each tier gets its own network rules, service identity and patch cycle, so a compromise of one tier has a narrower path to the others. The trade-off is more configuration to keep consistent, particularly database credentials, secret keys and the storage backend that every application node must reach.
- Network segmentation: Allow the application tier to reach PostgreSQL and the job queue on specific ports only, and block direct access from users to the database and workers.
- Shared secrets: Distribute the Rails secret key base, database credentials and SMTP secrets through a secrets manager, and rotate them with a documented procedure.
- Worker isolation: Run background workers on their own hosts so that job processing cannot be used to reach the web tier by default.
- Storage access: Give each tier only the object storage or file share permissions it needs, and log access to uploaded documents.
- Upgrade coordination: Plan upgrades so that application and worker nodes run the same Decidim version during the change window, given that database structure changes apply to all tiers.
Confirm which team owns each tier, how credentials reach each node, and whether database access is logged and reviewed.",
A Docker-based deployment packages Decidim, its runtime and its dependencies into images, so hardening shifts toward image provenance, container configuration and the way secrets and volumes are mounted. Teams often treat the image as fixed, but a container inherits the base image's packages until it is rebuilt. Upgrades usually mean building a new image from the release you target, which makes the image pipeline part of the security control set.
- Image source and rebuilds: Build images from a pinned Decidim release and rebuild on a schedule so base image packages receive fixes.
- Runtime privileges: Run containers as a non-root user, drop unneeded Linux capabilities, and mount the root filesystem read-only where the configuration allows it.
- Secrets handling: Pass secrets through the container platform's secret mechanism rather than baking them into images or environment files committed to version control.
- Volume permissions: Restrict the host paths or named volumes that hold uploads and database data, and confirm backups cover them.
- Network exposure: Publish only the reverse proxy port, and keep the database and Redis-style services on an internal network if your compose or orchestration file defines them.
Confirm which base images your team uses, how image scanning is run, and who approves a new image before it reaches production.
In an air-gapped or restricted network, the server cannot reach public package registries, container registries or advisory feeds directly. Hardening then depends on mirroring everything the platform needs inside the network: operating system packages, Ruby gems, Node packages, container images and the release artifacts. Advisory information reaches the team through a controlled process, so the time between a disclosure and a patched build depends on how well that process works.
- Internal mirrors: Mirror OS repositories, RubyGems, npm and container images from the release you have approved, and record the versions you pulled.
- Advisory intake: Assign someone to watch Decidim's security reporting channels and GitHub Security Advisories, then carry approved fixes across the boundary through your transfer process.
- Offline verification: Verify checksums or signatures of transferred artifacts before they are installed, and keep a record of each transfer.
- Outbound services: Identify which features need outside access, such as SMTP, maps, geocoding or social login, and configure or disable each one with a documented reason.
- Grace period planning: Account for the transfer time in your patch plan, since Decidim's disclosure grace periods are short relative to a manual cross-boundary process.
Confirm how artifacts cross your boundary, who approves them, and which features your users depend on that require external connections.
Access control, secrets and upload safety in practice
Most Decidim exposure comes from who can reach the admin area, the Rails console and background job tools, and where credentials and uploads live. The cards below cover the controls to set and verify in your own version. Confirm each default against the release you run, because the settings that matter most are the ones your deployment changes.
Named admin and console accounts
Give every administrator and engineer a named account rather than sharing one login, so that changes to organizations, roles and settings can be traced to a person. Confirm that administrator sessions use your identity provider or strong, unique passwords, and that console access on the server is limited to a small group with its own logging. Ask your implementer which actions are written to logs and where those logs are shipped.
Secrets for database, SMTP and OAuth
Database passwords, SMTP credentials, and the client secrets for Facebook, Twitter, Google and any custom OmniAuth provider should be injected at runtime from a secrets manager or protected environment file, never committed to the repository or pasted into the admin interface. Plan a rotation procedure that covers each secret, and confirm that old credentials are revoked after a change.
Social providers docsUpload validation and storage isolation
ActiveStorage handles uploaded files in a Decidim production setup, so the storage backend, its bucket or directory permissions, and its access URLs need the same review as the application. Keep uploads on a separate storage location that the web process can write to but that is not served as executable content. Confirm which file types and sizes the components accept in your version, and test an upload of a disallowed type before launch.
Background job dashboards
Job monitoring interfaces show arguments, queue contents and retry state, which can include personal data from participants. Restrict the dashboard route to administrators on a private network or behind your SSO gateway, and do not expose it on the public domain. Confirm the exact route and authentication behavior in your installed version, since the path and default access rules depend on how the job system is configured.
Manual installation docsAuthorization handlers for restricted actions
Decidim's identity verification and authorization handlers decide who can vote, sign or submit in restricted spaces. Document which handler guards each action, which verification method it uses, and who can change its settings. Test with an unverified account and with an account from a different organization to confirm that the restriction holds, since a misconfigured handler is a common way participation results get challenged.
Handling a disclosed Decidim advisory
Start by knowing where vulnerability reports reach the project and how long the project expects implementers to act. Decidim's SECURITY.md asks reporters to send reports to security@decidim.org or through GitHub Security Advisories. For implementers, the policy gives a grace period of 2 months for standard vulnerabilities and 4 months for critical ones before details are disclosed. Those windows start before the public advisory, so a team that only learns of a fix from a public post has lost part of its time. Assign one person to watch the Decidim releases page and the security policy, and record who receives the notice and where it is logged. Confirm with your vendor or internal security team who holds the on-call duty during a patch window.
Triage each advisory against your own deployment, not against the headline severity. Check which minor branch you run, since only the last two minor versions receive security updates until version 1.0. Then map the advisory to the components you have enabled, such as meetings, proposals, participatory budgets, the authorization handlers, custom OmniAuth providers, and any custom modules your team maintains. An advisory in a component you do not use may still require a patch if it touches shared code, so confirm the affected code paths against the advisory text. Record the decision, the date and the owner, whether you patch, mitigate or accept the risk.
Schedule the patch so it lands well inside the window, with a test run on a staging copy that mirrors production data and configuration. Take a database backup before any change. A patch may not be a single step: the update guide asks teams to move one minor version at a time and to follow each release's upgrade instructions, because some releases change database structures. If you are several minor versions behind, the fix may require stepping through intermediate releases, which adds time. Ask your implementation partner or internal team to estimate that path before the window closes, and keep a dated record of the patch, the test results and the production rollout for your own audit trail.
Trust boundaries in a hardened Decidim deployment
The diagram starts with participants and administrators on the public internet, whose requests enter through a reverse proxy that is the only public-facing component. The proxy hands traffic to the Rails application, which talks to PostgreSQL and ActiveStorage object storage inside the internal network. ActiveJob workers and SMTP sit behind the same boundary, while OmniAuth identity providers are the only external services the application calls out to. Check that admin routes are reachable only from the admin network, that the database and job workers accept no inbound public traffic, and that every outbound path is limited to the providers you have configured.
Trust boundaries between public, edge and internal components in a Decidim deployment.
How to verify that the hardening holds and fails safely
Start by confirming what is actually running. Check the deployed Decidim version against the supported branches: at the time of the researched facts, 0.32.x and 0.31.x receive security updates, and 0.30.x and earlier do not. Confirm the Ruby and Node runtimes match what that release's installation documentation requires, since v0.32 requires Ruby 3.4.7 and v0.31 uses Ruby 3.3.4, with Node 22.14.x for both. Compare these values against the release notes for the exact patch level you deploy, not just the minor branch, and record the result with the date. Confirm the same for the PostgreSQL version on the database host. Repeat this check after every patch release, because the grace periods for disclosed fixes only help if you apply them.
Next, test the controls from the outside, as an unauthenticated user and as a logged-in participant with no admin role. Request every admin path directly and confirm the application refuses it with an authorization response, not a rendered page. Request a sample of uploaded file URLs without a session and confirm that private attachments are not served, while public ones are. Check the file storage configuration (the ActiveStorage service in use and its bucket or directory permissions) so you can state where uploads physically live. Confirm that the background job backend and the SMTP settings do not appear in any error page or response header. Then induce failures in a staging copy: stop the job worker, then stop the database for a short window, and check that the application shows a generic error, that queued work is retried or held rather than dropped into a public log, and that no stack trace with credentials or personal data reaches a browser.
Treat restore as a test, not a backup report. Restore the most recent database backup and the matching uploaded files into an isolated environment, run the application against it, and confirm that a participant can log in, that a published process and its attachments load, and that the admin area still enforces roles. Time the restore and record which steps were manual. Independent security testing of the application and its APIs is a separate step that should follow this internal work. Give the tester a staging environment that matches production, the exact version and configuration, a list of admin and participant test accounts with each role, the authorization handler and social login settings, and written scope covering the web interface and any API routes you expose. Confirm the scope, rules of engagement and retest terms in writing before testing begins.
What to monitor, back up, upgrade and document after go-live
This table lists the recurring operational items for a Decidim deployment, the owner who should hold each one, and the evidence to keep for a compliance review. Use it to assign responsibilities before go-live, then set frequencies in your own change process, since no fixed intervals are published here. The main takeaway is that every item needs a named owner and a written record, because an assessor will ask for proof that the work happened.
| Operational item | Owner | Evidence to keep |
|---|---|---|
| Version and advisory watch | Platform lead, with the security team reviewing | Dated record of the supported branch in use (0.31.x or 0.32.x), subscriptions to Decidim releases and security reports, and the decision and patch date for each advisory |
| Upgrade calendar | Platform lead and release manager | Written plan that moves one minor version at a time, with each release's upgrade notes, test results and the date each step reached production |
| Database and upload backups | Infrastructure or hosting team | Backup job configuration, retention settings, and logs showing that PostgreSQL and file storage backups completed before each upgrade |
| Restore tests | Infrastructure team, witnessed by the application owner | Dated restore test report showing a copy restored to a separate environment, the application starting, and uploaded files and public records checked |
| Admin and audit log review | Security team, with the organization's privacy officer for personal data questions | Review records listing who reviewed which admin actions, what was flagged, and how each item was closed |
| Background job queue health | Application operations team | Queue monitoring history, failed job records, and alerts sent and acknowledged for ActiveJob workers |
| Certificate and secret rotation | Infrastructure team, with the security team approving | Inventory of TLS certificates, SMTP credentials, OAuth client secrets and database passwords, with rotation dates and change tickets |
| Access and role review | Platform lead and organization sponsor | Signed list of administrator and moderator accounts, removals of departed staff, and confirmation of SSO and social login settings per organization |
Questions teams ask before hardening Decidim
How much effort does hardening a Decidim deployment take?
The effort depends mostly on how far the current deployment is from a supported, documented baseline. A team starting from a current supported release with managed hosting and clear configuration will need far less work than one running an older branch with custom modules, hand-edited Rails settings and an undocumented server. The main drivers are the Ruby and Node versions in use, the number of custom components or modules, how file storage and background jobs are set up, how many social login providers and SMTP or map services are connected, and whether backups and restore have ever been tested. Ask for a written scope that lists each of these areas and the deliverables for each before agreeing on a figure.
Can our internal team harden Decidim without a partner?
Yes, if the team has Rails and Linux administration skills, time for a structured review, and a clear owner for security decisions. The work is well defined: confirm the version is in the supported set, follow the update guide one minor version at a time, back up the database before each step, review Rails and server configuration, lock down admin access, protect uploads and background jobs, and set a process for disclosed advisories. Teams often need outside help for an independent test of the result, for evidence that a compliance reviewer will accept, or when the internal team has no capacity to keep up with upgrade windows. Decide which parts you will own before deciding whether to bring in a partner.
What do we need to provide for hardening work?
Expect to provide access to the hosting environment, including the application servers, database, object storage and mail relay, with change rights scoped to the agreed work. You will also need named administrator accounts for the Decidim admin area and the hosting platform, a current copy of your configuration and any custom modules, and a rough schedule of upgrade windows. Changes to a live participatory platform usually need agreed maintenance periods, because some minor version upgrades change database structures and require a backup first. Confirm early who approves production changes, who signs off on each deliverable, and how emergency patches will be handled during the engagement.
How long does hardening take, and what sets that length?
Duration is set by the gap between your current deployment and the target state, by how many minor version upgrades are needed to reach a supported release, and by your change approval cycle. Each upgrade step has its own instructions and its own testing, so a deployment several minor versions behind takes longer than one already on a supported branch. Patch grace periods also matter: Decidim gives implementers 2 months to apply patches for standard vulnerabilities and 4 months for critical ones before details are disclosed, so planning should keep those windows in view. Ask for a timeline with milestones tied to upgrade windows and a retest step, and do not accept a duration that does not reference these factors.
Which Decidim version should we be on before we start?
Decidim supports only the last two minor versions with security updates until version 1.0, which currently means the 0.32.x and 0.31.x branches. Versions 0.30.x and earlier are not supported, so a deployment on those branches should be upgraded one minor version at a time, following each release's upgrade instructions. The Decidim releases page lists the latest patch in each branch, and the SECURITY.md file explains the support policy and how to report a vulnerability. Confirm your exact version, Ruby version and Node version first, because v0.32 requires Ruby 3.4.7 and v0.31 uses Ruby 3.3.4, and both use Node 22.14.x.
Does DeployOpen issue security certifications or audit reports?
No. DeployOpen does not issue audit reports, attestations or certifications. DeployOpen plans and implements the hardening, prepares systems, controls and evidence for compliance assessments, and can run security testing against the result. Independent auditors and certification bodies perform the assessment and issue any report or certificate. Ask any partner, including DeployOpen, to state in writing which parts of the work produce evidence for your assessor and which parts are the assessor's own decisions.
Will hardening stop Decidim from being abused by bad actors?
Hardening reduces exposure, but it does not remove the need for ongoing operation. A hardened deployment still depends on applying supported patches within the grace periods, reviewing admin activity, testing backups, and retesting after significant changes. Security testing can show which weaknesses remain in your specific setup, and the findings should be tracked to fixes. Ask for a list of what the work covers and what it leaves to your operations team.
How DeployOpen scopes, hardens and hands over Decidim security work
DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure, and Decidim security work follows the same path. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we scope
- Confirm which Decidim minor version is running and whether it is within the two supported release lines
- Map hosting, Rails and server configuration, file storage, admin accounts and background job setup
- Agree in writing which deliverables, test coverage and handover documents are in and out of scope
How we build
- Apply hardening settings to the Rails application, web server, database and file storage in the client's environment
- Configure admin access with SSO, access control and audit logging where the client's identity setup supports it
- Test the deployment for exposed upload paths, weak admin settings and database and job queue exposure before handover
How we hand over
- Deliver a written record of configuration, versions, credentials locations and the upgrade path used
- Document a procedure for reviewing and applying disclosed advisories within the grace periods in Decidim's security policy
- Walk the client's operations and security staff through the changes and the evidence their compliance teams will ask for
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the initial engagement
- Retainers can cover moving the instance one minor version at a time with a database backup before each step
- Ask any partner to confirm in the written scope who performs patch review, testing and sign-off after handover

