# CVE-2022-43685: CKAN contains Improper Authentication leading to account takeover

Source: https://junglewise.ai/threats/cve-2022-43685-ckan-contains-improper-authentication-leading-to-account-takeover  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-11-22  
License: CC BY 4.0 with a link back

CVE-2022-43685 · Severity: low · CVSS 3.1 · Published 2022-11-22

CKAN through 2.9.6 account takeovers by unauthenticated users when an existing user id is sent via an HTTP POST request. This allows a user to take over an existing account including superuser accounts.

Technologies: [ckan (PyPI)](https://junglewise.ai/threats/technologies/pypi-ckan). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2022-43685 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-43685 being exploited in the wild.

**How severe is CVE-2022-43685?** Low severity, with a CVSS score of 3.1, published 22 November 2022.

**Which products and versions are affected?** ckan (PyPI) ECOSYSTEM:introduced=0,fixed=2.9.7.

**Is there a fix for CVE-2022-43685?** Yes. ckan (PyPI): upgrade to 2.9.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-43685?** Check whether you run ckan (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- ckan (PyPI): upgrade to 2.9.7 or later

  ```sh
  pip install "ckan>=2.9.7"
  ```


## Affected products

- ckan (PyPI) ECOSYSTEM:introduced=0,fixed=2.9.7

## Identifiers

- CVE-2022-43685
- GHSA-m2xp-jxfg-qq6g
- PYSEC-2022-42987

## Related threats

- [PYSEC-2026-1250 - CKAN has an XSS vector in user uploaded images in group/org and user profiles](https://junglewise.ai/threats/cve-2025-24372-ckan-has-an-xss-vector-in-user-uploaded-images-in-group-org-and)
- [PYSEC-2026-1252 - Potential access to sensitive URLs via CKAN extensions (SSRF)](https://junglewise.ai/threats/cve-2024-43371-potential-access-to-sensitive-urls-via-ckan-extensions-ssrf)
- [PYSEC-2026-1253 - CKAN has Cross-site Scripting vector in the Datatables view plugin](https://junglewise.ai/threats/cve-2024-41675-ckan-has-cross-site-scripting-vector-in-the-datatables-view)
- [PYSEC-2026-1248 - CKAN may leak Solr credentials via error message in package_search action](https://junglewise.ai/threats/cve-2024-41674-ckan-solr-credentials-leak-in-package-search-error-message)
- [PYSEC-2026-1251 - Potential log injection in reset user endpoint in CKAN](https://junglewise.ai/threats/cve-2024-27097-potential-log-injection-in-reset-user-endpoint-in-ckan)
