# CVE-2024-27097: Potential log injection in reset user endpoint in ckan

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 39% of CVEs (2026-12-01)
- Published: 2024-03-13T15:30:03.000Z
- Modified: 2026-09-10T03:50:00.253Z
- Also known as: GHSA-8g38-3m6v-232j, PYSEC-2026-1251
- Weaknesses: CWE-117, CWE-532
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

A user endpoint didn't perform filtering on an incoming parameter, which was added directly to the application log. This could lead to an attacker injecting false log entries or corrupt the log file format. This has been fixed in the CKAN versions 2.9.11 and 2.10.4. Users are advised to upgrade. Users unable to upgrade should override the `/user/reset` endpoint to filter the `id` parameter in order to exclude newlines.

(As written by CVE List.)

## Affected

- ckan ckan: >= 2.0, < 2.9.11; >= 2.10.0, < 2.10.4
- ckan (PyPI): before 2.9.11; from 2.10.0 before 2.10.4
- okfn ckan: from 2.0 before 2.9.11; from 2.10.0 before 2.10.4

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`

## References

- <https://github.com/ckan/ckan/security/advisories/GHSA-8g38-3m6v-232j> (vendor-advisory, web)
- <https://github.com/ckan/ckan/commit/81b56c55e5e3651d7fcf9642cd5a489a9b62212c> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-27097> (advisory)
- <https://github.com/ckan/ckan/commit/5fa133e7e9019573066455b5d442e93c62b3fc93> (web)
- <https://github.com/ckan/ckan/commit/d81f411bff2da7347c343a83e17f5814475b5b64> (web)
- <https://docs.ckan.org/en/2.10/changelog.html#v-2-10-4-2024-03-13> (web)
- <https://github.com/ckan/ckan> (package)
- <https://pypi.org/project/ckan> (package)
- <https://github.com/advisories/GHSA-8g38-3m6v-232j> (advisory)

## Sources

- CVE List: [CVE-2024-27097](https://www.cve.org/CVERecord?id=CVE-2024-27097), CVE Terms of Use, modified 2024-08-21
- GitHub Advisory Database: [GHSA-8g38-3m6v-232j](https://github.com/advisories/GHSA-8g38-3m6v-232j), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-27097](https://nvd.nist.gov/vuln/detail/CVE-2024-27097), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1251](https://osv.dev/vulnerability/PYSEC-2026-1251), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-27097 · Whole record: https://cve.day/CVE-2024-27097.json · Rebuilt by cve.day 2026-11-25T22:58:37.552Z
