GHSA-c8g3-x47w-8q7p: Duplicate Advisory SQL Injection Vulnerability

HIGH
CWE-89
Published
Advisory Summary

GHSA-c8g3-x47w-8q7p is a HIGH sql injection vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting Duplicate Advisory libraries in the Packagist ecosystem. The issue involves pimcore admin users can trigger sql injection. Remediation is available in the latest vendor maintenance releases.

GHSA-c8g3-x47w-8q7p at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-c8g3-x47w-8q7p
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected Product Duplicate Advisory
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-c8g3-x47w-8q7p

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

pimcore/pimcore fixed: Latest secure release
Upgrade pimcore/pimcore to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for pimcore/pimcore

How to Check if You Are Affected

To determine whether your application is affected by GHSA-c8g3-x47w-8q7p, inspect your project dependencies for Duplicate Advisory:

inspect dependencies for pimcore/pimcore

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'), where the product constructs all or part of an sql command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended sql command when it is sent to a downstream component. without sufficient removal or quoting of sql syntax in user-controllable inputs, the generated sql query can cause those inputs to be interpreted as sql instead of ordinary user data. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-r2f4-ff2p-xc64. This link is maintained to preserve external references. ### Original Description An authenticated administrative user who can import or save DataObject class definitions can inject attacker-controlled composite index metadata and trigger unintended SQL execution in the backend. This issue affects pimcore: 12.3.3.

GHSA-c8g3-x47w-8q7p Affected Duplicate Advisory Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
pimcore/pimcore
Packagist
12.3.3
All 1 versions
12.3.3
None specified

References

Frequently Asked Questions

What is GHSA-c8g3-x47w-8q7p?
GHSA-c8g3-x47w-8q7p is a security vulnerability in Duplicate Advisory involving Pimcore admin users can trigger SQL Injection under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection').
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to current release patches across affected packages: pimcore/pimcore.
What version fixes GHSA-c8g3-x47w-8q7p?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is pimcore/pimcore affected?
Yes, pimcore/pimcore is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-c8g3-x47w-8q7p?
GHSA-c8g3-x47w-8q7p is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.).
How can I check Packagist dependencies for GHSA-c8g3-x47w-8q7p?
Run the dependency tree command: 'inspect dependencies for pimcore/pimcore'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-c8g3-x47w-8q7p",
  "modified" : "2026-05-28T20:47:01Z",
  "published" : "2026-04-27T21:31:02Z",
  "withdrawn" : "2026-05-28T20:47:01Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Pimcore admin users can trigger SQL Injection",
  "details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-r2f4-ff2p-xc64. This link is maintained to preserve external references.\n\n### Original Description\nAn authenticated administrative user who can import or save DataObject class definitions can inject attacker-controlled composite index metadata and trigger unintended SQL execution in the backend.\n\nThis issue affects pimcore: 12.3.3.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "pimcore/pimcore"
    },
    "versions" : [ "12.3.3" ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-5394"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pimcore/pimcore/pull/19108"
  }, {
    "type" : "WEB",
    "url" : "https://fluidattacks.com/es/advisories/dragons"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/pimcore/pimcore"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-89" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-06T18:32:15Z",
    "nvd_published_at" : "2026-04-27T20:16:28Z"
  }
}