CVE-2026-45378: Decidim Verification Documents Can Be Downloaded Vulnerability

HIGH
Advisory Identifier: GHSA-3mvf-82qp-8qh5
CVSS 7.5
CWE-200
Published
Advisory Summary

CVE-2026-45378 is a HIGH (CVSS 7.5) verification documents can be downloaded vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Decidim libraries in the RubyGems ecosystem. The issue involves verification documents can be downloaded through reusable links. Remediation is available by upgrading affected packages to version 0.30.9, 0.31.5, 0.32.0.

CVE-2026-45378 at a Glance

CVE Identifier CVE-2026-45378
GHSA Identifier GHSA-3mvf-82qp-8qh5
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Decidim
Package Ecosystem RubyGems
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-45378

To remediate this vulnerability, upgrade all affected Decidim dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

decidim-verifications fixed: 0.30.9
Upgrade decidim-verifications to 0.30.9
decidim-verifications fixed: 0.31.5
Upgrade decidim-verifications to 0.31.5
decidim-verifications fixed: 0.32.0
Upgrade decidim-verifications to 0.32.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for decidim-verifications

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-45378, inspect your project dependencies for Decidim:

inspect dependencies for decidim-verifications

Analyze the terminal output to locate any version of Decidim in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.30.9), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Decidim, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## 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" verification - Any party that obtains one of these URLs can download the underlying scanned identity document for the lifetime of the signed link without needing to authenticate as the reviewing admin. - In the reproduced case, that replay window was about seven days, which is long enough for routine leakage channels such as copied links, screenshots, logs, browser history, and support workflows to become realistic exfiltration paths. - This raises the risk of leakage through browser history, screenshots, copy-paste, support tickets, logs, analytics tooling, malicious browser extensions, or any other channel that captures full URLs. - Because the affected files are identity-verification documents, the exposed data can include highly sensitive personal information. ### Patches See https://github.com/decidim/decidim/pull/16680 ### Workarounds Disable the "Identity documents" verification ### Reference OWASP A01:2021 Broken Access Control ### Credits This issue was discovered in a security audit organized by the [Decidim Association](https://decidim.org) and made by [Radically Open Security](https://www.radicallyopensecurity.com/) against Decidim financed by [NGI](https://ngi.eu/).

CVE-2026-45378 Affected Decidim Versions

3 component(s)
Fixed Versions:
0.30.90.31.50.32.0
Product / Package Ecosystem Affected Versions Fixed Version
decidim-verifications
RubyGems
< 0.30.9
0.30.9
decidim-verifications
RubyGems
≥ 0.31.0.rc1
< 0.31.5
0.31.5
decidim-verifications
RubyGems
≥ 0.32.0.rc1
< 0.32.0
0.32.0

References

Frequently Asked Questions

What is CVE-2026-45378?
CVE-2026-45378 is a security vulnerability in Decidim involving Verification documents can be downloaded through reusable links under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Decidim versions are affected?
Affected versions include releases prior to 0.30.9, 0.31.5, 0.32.0 across affected packages: decidim-verifications.
What version fixes CVE-2026-45378?
Upgrading to 0.30.9, 0.31.5, 0.32.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is decidim-verifications affected?
Yes, decidim-verifications is affected in releases prior to 0.30.9, 0.31.5, 0.32.0. Upgrade your dependency to 0.30.9, 0.31.5, 0.32.0 or later.
What is the CVSS score of CVE-2026-45378?
CVE-2026-45378 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2026-45378?
CVE-2026-45378 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check RubyGems dependencies for CVE-2026-45378?
Run the dependency tree command: 'inspect dependencies for decidim-verifications'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-3mvf-82qp-8qh5",
  "modified" : "2026-07-13T17:10:12Z",
  "published" : "2026-07-13T17:10:12Z",
  "aliases" : [ "CVE-2026-45378" ],
  "summary" : "Decidim: Verification documents can be downloaded through reusable links",
  "details" : "## Description\n\nScanned 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.\n\nAnyone who obtains one of those URLs can retrieve the document until the signature expires.\n\n## Technical description\n\nThis 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.\n\nThe 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.\n\nReproduction steps:\n\n1. Create a fresh verification document as a normal user.\n1.1. Open http://localhost:3001/users/sign_in.\n1.2. Open http://localhost:3001/id_documents/authorizations/new.\n1.3. Submit an id_documents verification request with an image attachment.\n\n2. Open the admin review page that renders the attachment.\n2.1. Sign out.\n2.2. Sign back in as admin@example.org.\n2.3. Try http://localhost:3001/admin/id_documents.\n\n3. Harvest the signed Active Storage URL.\n3.1. Open DevTools Network before loading the review page.\n3.2. Reload the page.\n3.3. Copy one request URL matching `http://localhost:3001/rails/active_storage/disk/<SIGNED_TOKEN>/<FILENAME>`.\n\n4. Replay the file URL without any Decidim session.\n4.1. Open a private window or a second browser where you are not signed in to Decidim.\n4.2. Paste the exact copied /rails/active_storage/disk/... URL.\n4.3. Confirm the verification image still loads.\n\n### Impact\n\n- This only applies to Organizations using the \"Identity documents\" verification\n- Any party that obtains one of these URLs can download the underlying scanned identity document for the lifetime of the signed link without needing to authenticate as the reviewing admin.\n- In the reproduced case, that replay window was about seven days, which is long enough for routine leakage channels such as copied links, screenshots, logs, browser history, and support workflows to become realistic exfiltration paths.\n- This raises the risk of leakage through browser history, screenshots, copy-paste, support tickets, logs, analytics tooling, malicious browser extensions, or any other channel that captures full URLs.\n- Because the affected files are identity-verification documents, the exposed data can include highly sensitive personal information.\n\n### Patches\n\nSee https://github.com/decidim/decidim/pull/16680\n\n### Workarounds\n\nDisable the \"Identity documents\" verification \n\n### Reference\n\nOWASP A01:2021 Broken Access Control\n\n### Credits\n\nThis issue was discovered in a security audit organized by the [Decidim Association](https://decidim.org) and made by [Radically Open Security](https://www.radicallyopensecurity.com/) against Decidim financed by [NGI](https://ngi.eu/).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "decidim-verifications"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.30.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "decidim-verifications"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.31.0.rc1"
      }, {
        "fixed" : "0.31.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "decidim-verifications"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.32.0.rc1"
      }, {
        "fixed" : "0.32.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/decidim/decidim/security/advisories/GHSA-3mvf-82qp-8qh5"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/decidim/decidim/pull/16680"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/decidim/decidim"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-13T17:10:12Z",
    "nvd_published_at" : null
  }
}