CVE-2026-45377: Decidim Private Exports Can Be Downloaded Vulnerability

MODERATE
Advisory Identifier: GHSA-767h-63j4-5226
CVSS 6.5
CWE-200
Published
Advisory Summary

CVE-2026-45377 is a MODERATE (CVSS 6.5) private exports can be downloaded vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Decidim libraries in the RubyGems ecosystem. The issue involves private exports 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-45377 at a Glance

CVE Identifier CVE-2026-45377
GHSA Identifier GHSA-767h-63j4-5226
Severity MODERATE
CVSS v3.1 Base Score 6.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: 6.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:R/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 Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-45377

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-core fixed: 0.30.9
Upgrade decidim-core to 0.30.9
decidim-core fixed: 0.31.5
Upgrade decidim-core to 0.31.5
decidim-core fixed: 0.32.0
Upgrade decidim-core 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-core

How to Check if You Are Affected

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

inspect dependencies for decidim-core

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 The normal `download_your_data` flow requires the requester to be logged in as the export owner, but the resulting Active Storage blob redirect URL can be replayed without authentication by anyone who obtains it. ## Technical description This private export flow turns an authenticated, user-scoped download into a reusable bearer link because the protected Decidim endpoint redirects to the underlying Active Storage blob URL. `Decidim::DownloadYourDataController#download_file` correctly scopes the export record to `current_user`, so the wrapper route itself is not directly accessible to another user. However, once the owner performs that authenticated GET request, the response redirects to a signed Active Storage URL that is no longer bound to the user session. Anyone who learns that URL can replay it and retrieve the file without being logged in as the export owner. Because the blob redirect URL is delivered through a GET request and appears in the redirect chain, it is more likely to leak through browser history, logs, proxy tooling, screenshots, copied links, support transcripts, or other client-side handling of URLs. Reproduction steps: Step 1. Generate or locate a completed export in the Web UI. 1. Sign in as `user@example.org` at `http://localhost:3001/users/sign_in`. 2. Open `http://localhost:3001/download_your_data`. 3. Request a new export from the page and wait until the export becomes downloadable. 4. Open the completed export entry from the list and copy its wrapper URL, for example `http://localhost:3001/download_your_data/download?uuid=07286e61-932d-46d4-bd74-bcd1340c503f `. Step 2. Download through the authenticated wrapper route. 1. While still signed in as user@example.org, open the wrapper URL in the browser. 2. Confirm that this Decidim route requires the owner session and is not directly usable when logged out or when logged in as another user. Step 3. Capture the final bearer URL in the redirect chain. 1. In DevTools Network or Burp, inspect the redirect sequence for the wrapper request. 2. Copy the Active Storage redirect URL, typically matching `http://localhost:3001/rails/active_storage/blobs/redirect/<SIGNED_ID>/<FILENAME>`. 3. Note that the Active Storage redirect URL is no longer protected by the Decidim ownership check. Step 4. Replay the final file URL without authentication. 1. Open a private window or separate browser with no Decidim session. 2. Paste the copied `http://localhost:3001/rails/active_storage/blobs/redirect/<SIGNED_ID>/<FILENAME>` URL. 3. Confirm the export file still downloads even though you are not logged in as the export owner. ### Impact Personal data exports can be retrieved through leakage channels such as browser history, logs, referrers, screenshots, copied links, support transcripts, intercepted email content, or other client-side disclosure of the GET URL. ### Patches See https://github.com/decidim/decidim/pull/16680 ### Workarounds Disable Private Downloads URLs ### 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-45377 Affected Decidim Versions

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

References

Frequently Asked Questions

What is CVE-2026-45377?
CVE-2026-45377 is a security vulnerability in Decidim involving Private exports 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-core.
What version fixes CVE-2026-45377?
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-core affected?
Yes, decidim-core 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-45377?
CVE-2026-45377 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2026-45377?
CVE-2026-45377 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-45377?
Run the dependency tree command: 'inspect dependencies for decidim-core'. 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-767h-63j4-5226",
  "modified" : "2026-07-13T17:00:08Z",
  "published" : "2026-07-13T17:00:08Z",
  "aliases" : [ "CVE-2026-45377" ],
  "summary" : "Decidim: Private exports can be downloaded through reusable links",
  "details" : "## Description\n\nThe normal `download_your_data` flow requires the requester to be logged in as the export owner, but the resulting Active Storage blob redirect URL can be replayed without authentication by anyone who obtains it.\n\n## Technical description\n \nThis private export flow turns an authenticated, user-scoped download into a reusable bearer link because the protected Decidim endpoint redirects to the underlying Active Storage blob URL. `Decidim::DownloadYourDataController#download_file` correctly scopes the export record to `current_user`, so the wrapper route itself is not directly accessible to another user. However, once the owner\nperforms that authenticated GET request, the response redirects to a signed Active Storage URL that is no longer bound to the user session. Anyone who learns that URL can replay it and retrieve the file without being logged in as the export owner.\n\nBecause the blob redirect URL is delivered through a GET request and appears in the redirect chain, it is more likely to leak through browser history, logs, proxy tooling, screenshots, copied links, support transcripts, or other client-side handling of URLs.\n\nReproduction steps:\n\nStep 1. Generate or locate a completed export in the Web UI.\n1. Sign in as `user@example.org` at `http://localhost:3001/users/sign_in`.\n2. Open `http://localhost:3001/download_your_data`.\n3. Request a new export from the page and wait until the export becomes downloadable.\n4. Open the completed export entry from the list and copy its wrapper URL, for example `http://localhost:3001/download_your_data/download?uuid=07286e61-932d-46d4-bd74-bcd1340c503f `.\n\nStep 2. Download through the authenticated wrapper route.\n1. While still signed in as user@example.org, open the wrapper URL in the browser.\n2. Confirm that this Decidim route requires the owner session and is not directly usable when logged out or when logged in as another user.\n\nStep 3. Capture the final bearer URL in the redirect chain.\n\n1. In DevTools Network or Burp, inspect the redirect sequence for the wrapper request.\n2. Copy the Active Storage redirect URL, typically matching `http://localhost:3001/rails/active_storage/blobs/redirect/<SIGNED_ID>/<FILENAME>`.\n3. Note that the Active Storage redirect URL is no longer protected by the Decidim ownership check.\n\nStep 4. Replay the final file URL without authentication.\n1. Open a private window or separate browser with no Decidim session.\n2. Paste the copied `http://localhost:3001/rails/active_storage/blobs/redirect/<SIGNED_ID>/<FILENAME>` URL.\n3. Confirm the export file still downloads even though you are not logged in as the export owner.\n\n### Impact\n\nPersonal data exports can be retrieved through leakage channels such as browser history, logs, referrers, screenshots, copied links, support transcripts, intercepted email content, or other client-side disclosure of the GET URL.\n\n### Patches\n\nSee https://github.com/decidim/decidim/pull/16680 \n\n### Workarounds\n\nDisable Private Downloads URLs\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:R/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "decidim-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.30.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "decidim-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.31.0.rc1"
      }, {
        "fixed" : "0.31.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "decidim-core"
    },
    "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-767h-63j4-5226"
  }, {
    "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" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-13T17:00:08Z",
    "nvd_published_at" : null
  }
}