GIVE YOUR AGENT THE EVIDENCE

Set up in your agent.

One prompt to get started. Paste it into your coding agent to connect cve.new through MCP and bring vulnerability context into your workflow.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GIVE YOUR AGENT THE EVIDENCE

Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GHSA-vmwx-m75v-qvchmedium4.3

Sharp Missing Authorization Check in Quick Creation Command Endpoints

Check your stack

The advisory, in context

Impact

The create and store endpoints of the Quick Creation Command feature did not enforce any authorization check. An authenticated Sharp user without create permission on a given entity could bypass the authorization layer and either retrieve the creation form or submit new records for that entity, as long as it had a Quick Creation Command handler configured.

Patches

Yes. The fix is included in version 9.22.3. Users should upgrade to that version or later.

Workarounds

Remove or disable Quick Creation Command handlers (quickCreationCommandHandler()) on any entity list where unauthorized access is a concern, until an upgrade is possible.

Resources

PR #729

Affected packages

Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.

code16/sharp Packagist
Ecosystem versions

From 9.0.0 before 9.22.3

Fixed in 9.22.3

80 explicitly affected versions

v9.0.0, v9.0.1, v9.0.2, v9.0.3, v9.0.4, v9.0.5, v9.0.6, v9.0.7, v9.0.8, v9.0.9, v9.1.0, v9.1.1, v9.1.2, v9.10.0, v9.10.1, v9.10.2, v9.11.0, v9.11.1, v9.12.0, v9.13.0, v9.13.1, v9.14.0, v9.14.1, v9.14.2, v9.14.3, v9.14.4, v9.15.0, v9.15.1, v9.16.0, v9.16.1, v9.17.0, v9.17.1, v9.18.0, v9.19.0, v9.19.1, v9.19.2, v9.19.3, v9.2.0, v9.2.1, v9.2.2, v9.2.3, v9.2.4, v9.2.5, v9.2.6, v9.2.7, v9.2.8, v9.20.0, v9.21.0, v9.21.1, v9.21.2, v9.22.0, v9.22.1, v9.22.2, v9.3.0, v9.3.1, v9.3.2, v9.3.3, v9.3.4, v9.3.5, v9.3.6, v9.3.7, v9.4.0, v9.4.1, v9.5.0, v9.5.1, v9.5.2, v9.6.0, v9.6.1, v9.6.2, v9.6.3, v9.6.4, v9.6.5, v9.6.6, v9.7.0, v9.7.1, v9.7.2, v9.7.3, v9.8.0, v9.8.1, v9.9.0

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "9.0.0"
        },
        {
          "fixed": "9.22.3"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "v9.0.0",
    "v9.0.1",
    "v9.0.2",
    "v9.0.3",
    "v9.0.4",
    "v9.0.5",
    "v9.0.6",
    "v9.0.7",
    "v9.0.8",
    "v9.0.9",
    "v9.1.0",
    "v9.1.1",
    "v9.1.2",
    "v9.10.0",
    "v9.10.1",
    "v9.10.2",
    "v9.11.0",
    "v9.11.1",
    "v9.12.0",
    "v9.13.0",
    "v9.13.1",
    "v9.14.0",
    "v9.14.1",
    "v9.14.2",
    "v9.14.3",
    "v9.14.4",
    "v9.15.0",
    "v9.15.1",
    "v9.16.0",
    "v9.16.1",
    "v9.17.0",
    "v9.17.1",
    "v9.18.0",
    "v9.19.0",
    "v9.19.1",
    "v9.19.2",
    "v9.19.3",
    "v9.2.0",
    "v9.2.1",
    "v9.2.2",
    "v9.2.3",
    "v9.2.4",
    "v9.2.5",
    "v9.2.6",
    "v9.2.7",
    "v9.2.8",
    "v9.20.0",
    "v9.21.0",
    "v9.21.1",
    "v9.21.2",
    "v9.22.0",
    "v9.22.1",
    "v9.22.2",
    "v9.3.0",
    "v9.3.1",
    "v9.3.2",
    "v9.3.3",
    "v9.3.4",
    "v9.3.5",
    "v9.3.6",
    "v9.3.7",
    "v9.4.0",
    "v9.4.1",
    "v9.5.0",
    "v9.5.1",
    "v9.5.2",
    "v9.6.0",
    "v9.6.1",
    "v9.6.2",
    "v9.6.3",
    "v9.6.4",
    "v9.6.5",
    "v9.6.6",
    "v9.7.0",
    "v9.7.1",
    "v9.7.2",
    "v9.7.3",
    "v9.8.0",
    "v9.8.1",
    "v9.9.0"
  ]
}

References