Advisory

PYSEC-2026-1249

Also known as: CVE-2023-50248, GHSA-7fgc-89cx-w8j5

Summary

Out of memory error when submitting the dataset form with a specially-crafted field

Details

Impact

When submitting a POST request to the /dataset/new endpoint (including either the auth cookie or the Authorization header) with a specially-crafted field, an attacker can create an out-of-memory error in the hosting server.

To trigger this error the user needs to have permissions to create or edit datasets.

Patches

This vulnerability has been patched in CKAN 2.10.3 and 2.9.10

Severity

Medium Basis: CVSS v3 score 4.5, vector CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H

Dates

Published
2026-07-07 11:45 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

ckan

PyPI · All systems

Affected

  • introduced 2.0, fixed 2.9.10, introduced 2.10.0, fixed 2.10.3 (ecosystem)

Fixed versions

2.9.10, 2.10.3

Fix

  • Fixed version 2.9.10
    pip install --upgrade ckan==2.9.10
  • Fixed version 2.10.3
    pip install --upgrade ckan==2.10.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences