GHSA-3mvf-82qp-8qh5: Decidim: Verification documents can be downloaded through reusable links
Description
Scanned identity-document images provided by participants and shown in the verification admin workflow are exposed through signed /rails/active_storage/disk/ URLs that can be fetched without any authenticated session.
Anyone who obtains one of those URLs can retrieve the document until the signature expires.
Technical description
This issue comes from the verification admin UI exposing scanned documents through reusable Active Storage disk links. Verification-document images are rendered with variant_url(...), which produces signed /rails/active_storage/disk/... links instead of routing the file through an authorization-checking controller. Because Decidim configures Active Storage service URLs to remain valid for seven days, the URL itself becomes the credential for that period.
The affected files are verification_attachment blobs on Decidim::Authorization, and the admin review pages embed those signed URLs directly into the HTML for pending and confirmation views.
Reproduction steps:
1. Create a fresh verification document as a normal user.
1.1. Open http://localhost:3001/users/sign_in.
1.2. Open http://localhost:3001/id_documents/authorizations/new.
1.3. Submit an id_documents verification request with an image attachment.
2. Open the admin review page that renders the attachment.
2.1. Sign out.
2.2. Sign back in as admin@example.org.
2.3. Try http://localhost:3001/admin/id_documents.
3. Harvest the signed Active Storage URL.
3.1. Open DevTools Network before loading the review page.
3.2. Reload the page.
3.3. Copy one request URL matching http://localhost:3001/rails/active_storage/disk/<SIGNED_TOKEN>/<FILENAME>.
4. Replay the file URL without any Decidim session.
4.1. Open a private window or a second browser where you are not signed in to Decidim.
4.2. Paste the exact copied /rails/active_storage/disk/... URL.
4.3. Confirm the verification image still loads.
Impact
- This only applies to Organizations using the "Identity documents" verif
Details
Original advisory: https://github.com/advisories/GHSA-3mvf-82qp-8qh5
Referenced CVEs
| CVE | CSIRTS overview | External |
|---|---|---|
| CVE-2026-45378 | coverage & exploitation status | NVD · CVE.org |
More from GitHub Security Advisories
- mediumGHSA-jr6p-8pjj-mfx6: Capsule has an incomplete fix of CVE-2026-22872: TenantResource RawItems and Generators s…2026-07-31
- mediumGHSA-68cj-mvg9-rgm2: Capsule: CapsuleConfiguration NodeMetadata regex fields lack webhook validation, allowing…2026-07-31
- mediumGHSA-ff84-5f28-78qj: re2: Out-of-bounds heap read in `exec`/`test`/`match` via attacker-influenced `lastIndex`…2026-07-31
- mediumGHSA-6hxr-mr5r-9836: re2: Global `String.prototype.match` with an empty-matchable pattern never advances → inf…2026-07-31
- mediumGHSA-x83g-979r-f5fh: Sylius Mollie Plugin has unauthenticated IDOR that leaks order token and customer PII2026-07-31