Vulnerabilities in pkg:gem/decidim

PACKAGE
Advisory Identifier: GHSA-r3v7-5x4c-c69q
Advisory Summary

CVE-2026-45414 is a HIGH (CVSS 8.5) jwt-backed authentication can be replayed vulnerability (CWE-287: Improper Authentication) affecting Decidim libraries in the RubyGems ecosystem. The issue involves jwt-backed authentication can be replayed across organizations. Remediation is available by upgrading affected packages to version 0.31.5, 0.32.0.

13 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:gem/decidim

13 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:gem/decidim. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-r3v7-5x4c-c69q CVE-2026-45414 HIGH Decidim: JWT-backed authentication can be replayed across organizations
GHSA-3cx6-j9j4-54mp CVE-2025-65017 HIGH Decidim's private data exports can lead to data leaks
GHSA-r275-j57c-7mf2 CVE-2023-47634 LOW Race condition in Endorsements
GHSA-7cx8-44pc-xv3q CVE-2024-32469 MODERATE Decidim cross-site scripting (XSS) in the pagination
GHSA-cc4g-m3g7-xmw8 CVE-2024-41673 HIGH Decidim has a cross-site scripting vulnerability in the version control page
GHSA-vvqw-fqwx-mqmm CVE-2024-39910 MODERATE Decidim::Admin vulnerable to cross-site scripting (XSS) in the admin panel with QuillJS WYSWYG editor
GHSA-qcj6-vxwx-4rqv CVE-2024-27090 MODERATE Decidim vulnerable to data disclosure through the embed feature
GHSA-9w99-78rj-hmxq CVE-2023-51447 MODERATE Cross-site scripting (XSS) in the dynamic file uploads
GHSA-w3q8-m492-4pwp CVE-2023-48220 MODERATE Possibility to circumvent the invitation token expiry period
GHSA-639h-86hw-qcjq CVE-2023-36465 HIGH Decidim has broken access control in templates
GHSA-469h-mqg8-535r CVE-2023-32693 MODERATE Decidim Cross-site Scripting vulnerability in the external link redirections
GHSA-5652-92r9-3fx9 CVE-2023-34089 HIGH Decidim Cross-site Scripting vulnerability in the processes filter
GHSA-jm79-9pm4-vrw9 CVE-2023-34090 HIGH Decidim vulnerable to sensitive data disclosure

CVE-2026-45414 at a Glance

CVE Identifier CVE-2026-45414
GHSA Identifier GHSA-r3v7-5x4c-c69q
Severity HIGH
CVSS v3.1 Base Score 8.5
CWE Classification CWE-287: Improper Authentication
Affected Product Decidim
Package Ecosystem RubyGems
Published Date
Last Updated

Security Impact

CVSS: 8.5

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

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

How to Fix CVE-2026-45414

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

How to Check if You Are Affected

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

inspect dependencies for decidim

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.31.5), 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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. 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 A JWT issued to an Org 1 account is accepted on the Org 2 API and can read the admin-only GraphQL `participantDetails` field for an Org 2 participant. The same trust-boundary problem also affects API-user authentication: an Org 1 API user can use a JWT on the Org 1 host and replay that JWT to the Org 2 API to read Org 2 participant personal data and reach Org 2's `proposal.answer` mutation path. ## Technical description The current host selects the Decidim organization context, but JWT-backed API authentication is not sufficiently bound to that host organization. As a result, the API can process a request in Org 2's context while still trusting an authenticated principal from Org 1. Reproduction steps: 1. Use an API key provided by the system administrator that is assigned to organization 1 to create the JWT token or get the JWT token shown in the response when logged in as the organization admin. <img width="1080" height="1119" alt="decidim-jwt-01" src="https://github.com/user-attachments/assets/6195a250-faef-41d5-8f64-4d77d4077e96" /> 2. When using this JWT token it is possible to retrieve details from other organisations. Notice the change of the host header in the request below to that of another tenant `org2.localhost:3001` <img width="1085" height="1047" alt="decidim-jwt-02" src="https://github.com/user-attachments/assets/d40825e3-0d36-44f3-bede-86d247bbe6d0" /> Note that using a participant-generated JWT did not allow showing these results. ### Impact A JWT issued for one organization can be replayed successfully against another organization's API and used to retrieve sensitive details from that organization. ### Patches See https://github.com/decidim/decidim/pull/16673 and https://github.com/decidim/decidim/pull/16756 ### Workarounds Disable JWT credentials on system panel (`/system`) ### References 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-45414 Affected Decidim Versions

2 component(s)
Fixed Versions:
0.31.50.32.0
Product / Package Ecosystem Affected Versions Fixed Version
decidim
RubyGems
< 0.31.5
0.31.5
decidim
RubyGems
≥ 0.32.0.rc1
< 0.32.0
0.32.0

References

Frequently Asked Questions

What is CVE-2026-45414?
CVE-2026-45414 is a security vulnerability in Decidim involving JWT-backed authentication can be replayed across organizations under CWE-287: Improper Authentication.
Which Decidim versions are affected?
Affected versions include releases prior to 0.31.5, 0.32.0 across affected packages: decidim.
What version fixes CVE-2026-45414?
Upgrading to 0.31.5, 0.32.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is decidim affected?
Yes, decidim is affected in releases prior to 0.31.5, 0.32.0. Upgrade your dependency to 0.31.5, 0.32.0 or later.
What is the CVSS score of CVE-2026-45414?
CVE-2026-45414 has a CVSS v3.1 base score of 8.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N.
What CWE is associated with CVE-2026-45414?
CVE-2026-45414 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check RubyGems dependencies for CVE-2026-45414?
Run the dependency tree command: 'inspect dependencies for decidim'. 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-r3v7-5x4c-c69q",
  "modified" : "2026-07-13T17:16:57Z",
  "published" : "2026-07-13T17:16:56Z",
  "aliases" : [ "CVE-2026-45414" ],
  "summary" : "Decidim: JWT-backed authentication can be replayed across organizations",
  "details" : "## Description\n\nA JWT issued to an Org 1 account is accepted on the Org 2 API and can read the admin-only GraphQL `participantDetails` field for an Org 2 participant. The same trust-boundary problem also affects API-user authentication: an Org 1 API user can use a JWT on the Org 1 host and replay that JWT to the Org 2 API to read Org 2 participant personal data and reach Org 2's `proposal.answer` mutation path.\n\n##  Technical description\n\nThe current host selects the Decidim organization context, but JWT-backed API authentication is not sufficiently bound to\nthat host organization. As a result, the API can process a request in Org 2's context while still trusting an authenticated\nprincipal from Org 1.\n\nReproduction steps:\n\n1. Use an API key provided by the system administrator that is assigned to organization 1 to create the JWT token or\nget the JWT token shown in the response when logged in as the organization admin.\n\n<img width=\"1080\" height=\"1119\" alt=\"decidim-jwt-01\" src=\"https://github.com/user-attachments/assets/6195a250-faef-41d5-8f64-4d77d4077e96\" />\n\n\n2. When using this JWT token it is possible to retrieve details from other organisations. Notice the change of the host header in the request below to that of another tenant `org2.localhost:3001`\n \n<img width=\"1085\" height=\"1047\" alt=\"decidim-jwt-02\" src=\"https://github.com/user-attachments/assets/d40825e3-0d36-44f3-bede-86d247bbe6d0\" />\n\nNote that using a participant-generated JWT did not allow showing these results.\n\n### Impact\n\nA JWT issued for one organization can be replayed successfully against another organization's API and used to retrieve sensitive details from that organization.\n\n### Patches\n\nSee https://github.com/decidim/decidim/pull/16673 and https://github.com/decidim/decidim/pull/16756\n\n### Workarounds\n\nDisable JWT credentials on system panel (`/system`) \n\n### References\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:L/UI:N/S:C/C:H/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "decidim"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.31.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "decidim"
    },
    "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-r3v7-5x4c-c69q"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/decidim/decidim/pull/16673"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/decidim/decidim/pull/16756"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/decidim/decidim"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-13T17:16:56Z",
    "nvd_published_at" : null
  }
}