Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. decidim
  4. ›
  5. CVE-2025-65017

CVE-2025-65017: Decidim's private data exports can lead to data leaks

February 3, 2026

Private data exports can lead to data leaks in cases where the UUID generation causes collisions for the generated UUIDs.

The bug was introduced by #13571 and affects Decidim versions 0.30.0 or newer (currently 2025-09-23).

This issue was discovered by running the following spec several times in a row, as it can randomly fail due to this bug:

$ cd decidim-core
$ for i in {1..10}; do bundle exec rspec spec/jobs/decidim/download_your_data_export_job_spec.rb -e "deletes the" || break ; done

Run the spec as many times as needed to hit a UUID that converts to 0 through .to_i.

The UUID to zero conversion does not cause a security issue but the security issue is demonstrated with the following example.

The following code regenerates the issue by assigning a predefined UUID that will generate a collision (example assumes there are already two existing users in the system):

References

  • github.com/advisories/GHSA-3cx6-j9j4-54mp
  • github.com/decidim/decidim
  • github.com/decidim/decidim/pull/13571
  • github.com/decidim/decidim/releases/tag/v0.30.4
  • github.com/decidim/decidim/releases/tag/v0.31.0
  • github.com/decidim/decidim/security/advisories/GHSA-3cx6-j9j4-54mp
  • nvd.nist.gov/vuln/detail/CVE-2025-65017

Code Behaviors & Features

Detect and mitigate CVE-2025-65017 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.30.0 before 0.30.4

Fixed versions

  • 0.30.4

Solution

Upgrade to version 0.30.4 or above.

Impact 6.8 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-703: Improper Check or Handling of Exceptional Conditions

Source file

gem/decidim/CVE-2025-65017.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:36:00 +0000.