Advisory

GHSA-q79h-67vx-m9xg

Also known as: CVE-2026-45415

Summary

Decidim: CSV census record endpoints improper authorization

Details

Description

A participant manager can access and modify the CSV census record admin forms.

Technical description

The CSV census admin record-management surface under /admin/csv_census/census_logs does not enforce admin-only authorization before rendering or mutating Decidim::Verifications::CsvDatum.

A participant manager (which can only manage participants) can therefore open the admin forms, create or update census rows, and delete rows directly.

Reproduction steps:

  1. Sign in a participant admin and open http://localhost:3000/admin/csv_census/census_logs/new_record in the browser. Confirm the create form loads even though the session is not a full admin.

<img width="1541" height="274" alt="decidim-census-01" src="https://github.com/user-attachments/assets/859ee101-746f-4acb-8051-27036689f1b3" />

<img width="1538" height="363" alt="decidim-census-02" src="https://github.com/user-attachments/assets/85bbb004-a999-46dc-856c-fd32b50ced2c" />

Note that normal participant accounts were not able to access the CSV census records which is good.

Impact

Any participant admin can create, alter, or remove CSV census rows, which can corrupt verification data relied on by authorization workflows.

Patches

See https://github.com/decidim/decidim/pull/16674 and https://github.com/decidim/decidim/pull/16703

Workarounds

Disable Organization Census verification method

Reference

OWASP A01:2021 Broken Access Control

Credits

This issue was discovered in a security audit organized by the Decidim Association and made by Radically Open Security against Decidim financed by NGI.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-07-13 17:17 UTC
Modified
2026-07-13 17:41 UTC

Affected packages and fixes

decidim-verifications

RubyGems · All systems

Affected

  • introduced 0, fixed 0.30.9 (ecosystem)

Fixed versions

0.30.9

Fix

The export has no generic command for this ecosystem.

decidim-verifications

RubyGems · All systems

Affected

  • introduced 0.31.0.rc1, fixed 0.31.5 (ecosystem)

Fixed versions

0.31.5

Fix

The export has no generic command for this ecosystem.

decidim-verifications

RubyGems · All systems

Affected

  • introduced 0.32.0.rc1, fixed 0.32.0 (ecosystem)

Fixed versions

0.32.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences