CKAN Privilege Escalation Vulnerability via Malicious File Upload

Vulnerability

A vulnerability in CKAN versions prior to 2.11.1 allows registered users to upload files that can execute code, potentially sending arbitrary requests to the server. If such a file is opened by an administrator, it could escalate privileges for the original uploader or cause other malicious effects. This issue arises from insufficient validation of uploaded files, particularly those that could be executed as code.

Impact

Exploitation of this vulnerability could lead to unauthorized privilege escalation, allowing a user to gain elevated rights or access within the CKAN application.

Remediation

Users can upgrade to CKAN versions 2.10.7 or 2.11.2, where this vulnerability has been fixed. For versions prior to 2.10.7 and 2.11.2, site maintainers can restrict upload file types using the 'ckan.upload.user.mimetypes' and 'ckan.upload.user.types' options, or the 'ckan.upload.group.mimetypes' and 'ckan.upload.group.types' options. To completely disable file uploads, set 'ckan.upload.user.types' to 'none'.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
1.6
impact
5.0
exploitability
5.7
remediation
7.9
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.