Skip to main content

CKAN CVE-2025-64100

MEDIUM
Session Fixation (CWE-384)
2025-10-29 security-advisories@github.com
6.1
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain/plant known session id in victim browser
  2. Delivery
    Deliver fixed-session cookie to victim
  3. Exploit
    Victim authenticates reusing attacker's session id
  4. Execution
    Attacker replays fixed session as authenticated user
  5. Impact
    Access victim account and data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session fixation prevention
Exploitation Conditions

Exploitable ONLY when the CKAN site is reconfigured to use server-side session storage (e.g. SESSION_TYPE=redis, as shown in the fix's regression test) - the default cookie-based session storage is NOT affected. The attacker must additionally pre-establish a known session identifier in the victim's browser (set a cookie) OR steal the victim's currently-valid session, and the victim must then perform an interactive login (UI:R) for the fixed session to become authenticated. Limiting factors: the non-default configuration requirement, the dependency on a separate cookie-injection/MITM capability, and the required victim login materially shrink the exploitable population and raise attack complexity.

Impact

This is a genuine-but-conditional session fixation flaw (CWE-384) whose real-world risk is substantially lower than its 6.1 CVSS might suggest to a scanner. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N) already encodes the two biggest mitigating factors: AC:H reflects the non-default prerequisite (server-side session storage - CKAN ships with cookie-based storage by default, which is NOT affected), and UI:R reflects that the victim must actively log in for the fixed session to be elevated. PR:N confirms the attacker needs no account of their own, but the attacker must FIRST either set a cookie in the victim's browser or steal a currently-valid session, which itself presumes a prior foothold (XSS, MITM, or shared/subdomain cookie control). No EPSS score, no CISA KEV listing, and no public proof-of-concept were provided in the intelligence set - only a vendor GHSA advisory and the fix commit - so there is no public exploit identified at time of analysis and no evidence of active exploitation. Net: this is a defensible-priority patch for the subset of CKAN operators running server-side (e.g. Redis) session storage, but it is not a drop-everything issue and should be deprioritized relative to unauthenticated RCE or default-config flaws. Conflict to note: CVSS marks C:H via session/account takeover, yet the input Description frames impact narrowly as session fixation with no direct data-write claim - treat the C:H as account-compromise potential rather than confirmed mass data exposure.

Exploit ScenarioDerived

An attacker targets a CKAN portal that has been reconfigured for server-side (e.g. Redis) session storage rather than the default cookie storage. The attacker plants a known session identifier in the victim's browser (for example via a cookie-injection vector or a controlled subdomain) and waits for the victim to authenticate; because the pre-patch code did not regenerate the session id on login, the attacker's pre-set session becomes an authenticated session for the victim's account. No public exploit code was provided in the intelligence set.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 19, 2026

Session fixation in CKAN (CWE-384) allows an attacker to pre-plant a known session identifier that becomes authenticated after the victim logs in, because the application failed to regenerate session IDs on login. Only deployments reconfigured away from CKAN's default cookie-based sessions to server-side storage such as SESSION_TYPE=redis are exposed; the attacker must also be able to set a cookie in the victim's browser or steal an existing valid session, and the victim must then complete an interactive login. Fixed in CKAN 2.10.9 and 2.11.4, with no public exploit code or confirmed active exploitation identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade to CKAN 2.10.9 or 2.11.4, which regenerate the session identifier on login via current_app.session_interface.regenerate(session) in ckan/views/user.py (see https://github.com/ckan/ckan/commit/c2fe437f88be850a6edf7a32470772428819fab5 and advisory https://github.com/ckan/ckan/security/advisories/GHSA-2hvh-cw5c-8q8q). Where upgrading immediately is not possible, the highest-value compensating control is to confirm whether SESSION_TYPE is set to a server-side backend (e.g. redis); if so, switching back to the default cookie-based session storage removes the exposure entirely - the trade-off is that large session payloads return to the client cookie and server-side revocation/logout-invalidation capability is lost. If server-side sessions must be retained, terminate and re-issue sessions at the reverse proxy or WSGI layer on every successful login, and enforce TLS with HSTS plus a strict __Host- cookie prefix on the session cookie to make external cookie injection harder (trade-off: HSTS and prefix changes can break mixed-HTTP integrations and legacy subdomain flows, and neither substitutes for regeneration). Finally, invalidate all sessions and force re-authentication after applying the patch, since pre-fixation sessions created before the upgrade remain valid.

Affected Packages

pypi ckan fix: 2.10.9, 2.11.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CKAN is a Python/Flask open-source data management system (DMS) used to power data hubs and portals. Flask's default client-side session interface signs and stores session data in the 'ckan' cookie, which is not susceptible to classic session-ID fixation. When operators switch to a server-side session backend - the fix's regression test (ckan/tests/config/test_sessions.py::test_redis_session_fixation) demonstrates SESSION_TYPE=redis - a persistent session identifier is issued and reused across the authentication boundary. The root cause is CWE-384 (Session Fixation): ckan/views/user.py's login() view never called the backend's session regeneration hook, so a session ID known to the attacker prior to login remained valid and privileged after login. The upstream commit c2fe437f88be850a6edf7a32470772428819fab5 adds a call to current_app.session_interface.regenerate(session) guarded by hasattr(), regenerating the identifier whenever a session is established and thereby invalidating any pre-fixated value. Impact per the assessed vector is primarily confidentiality (C:H) with limited integrity effect (I:L) - an attacker holding a fixated session after victim login can read authenticated data as that user; scope is unchanged (S:U) and high attack complexity (AC:H) plus user interaction (UI:R) reflect the cookie-injection/steal and victim-login prerequisites.

Know when Ckan gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 6.1 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
vuln.today AI 5.9 MEDIUM

AC:H for the non-default server-side storage plus required cookie-planting precondition; PR:N since the attacker needs no account; UI:R as the victim must log in; C:H/I:L for account takeover with limited write capability.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

CKAN is an open-source DMS (data management system) for powering data hubs and data portals. Prior to 2.10.9 and 2.11.4, session ids could be fixed by an attacker if the site is configured with server-side session storage (CKAN uses cookie-based session storage by default). The attacker would need to either set a cookie on the victim's browser or steal the victim's currently valid session. Session identifiers are now regenerated after each login. This vulnerability has been fixed in CKAN 2.10.9 and 2.11.4

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Low
niche open-data portal software; modest, mostly government/research deployments
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Ckan

View all
CVE-2023-32321 CRITICAL
9.8 May 26

CKAN is an open-source data management system for powering data hubs and data portals. Rated critical severity (CVSS 9.8

CVE-2023-32696 HIGH
8.8 May 30

CKAN is an open-source data management system for powering data hubs and data portals. Rated high severity (CVSS 8.8), t

CVE-2022-43685 HIGH
8.8 Nov 22

CKAN through 2.9.6 account takeovers by unauthenticated users when an existing user id is sent via an HTTP POST request.

CVE-2023-22746 HIGH
7.5 Feb 03

CKAN is an open-source DMS (data management system) for powering data hubs and data portals. Rated high severity (CVSS 7

CVE-2024-43371 MEDIUM
6.5 Aug 21

CKAN is an open-source data management system for powering data hubs and data portals. Rated medium severity (CVSS 6.5),

CVE-2023-50248 MEDIUM
6.5 Dec 13

CKAN is an open-source data management system for powering data hubs and data portals. Rated medium severity (CVSS 6.5),

CVE-2024-41675 MEDIUM
6.1 Aug 21

CKAN is an open-source data management system for powering data hubs and data portals. Rated medium severity (CVSS 6.1),

CVE-2021-25967 MEDIUM
5.4 Dec 01

In CKAN, versions 2.9.0 to 2.9.3 are affected by a stored XSS vulnerability via SVG file upload of users’ profile pictur

CVE-2024-41674 MEDIUM
5.3 Aug 21

CKAN is an open-source data management system for powering data hubs and data portals. Rated medium severity (CVSS 5.3),

CVE-2024-27097 MEDIUM
5.3 Mar 13

A user endpoint didn't perform filtering on an incoming parameter, which was added directly to the application log. Rate

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy