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

DRUPAL-CONTRIB-2021-029unknown

DRUPAL-CONTRIB-2021-029

Check your stack

The advisory, in context

This advisory addresses a similar issue to Drupal core - Moderately critical - Access bypass - SA-CORE-2021-008.

The GraphQL module allows file uploads through its HTTP API. The module does not correctly run all file validation, which causes an access bypass vulnerability. An attacker might be able to upload files that bypass the file validation process implemented by modules on the site.

This vulnerability is mitigated by four factors:

  1. The GraphQL module must be enabled on the site.
  2. The GraphQL schema must expose a file upload by using the helper "src/GraphQL/Utility/FileUpload.php" in the module.
  3. An attacker must have access to that file upload via the GraphQL API.
  4. The site must employ a file validation module.

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.

drupal/graphql Packagist:https://packages.drupal.org/8
Ecosystem versions

From 4.0.0 before 4.2.0

Fixed in 4.2.0

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "4.0.0"
        },
        {
          "fixed": "4.2.0"
        }
      ],
      "type": "ECOSYSTEM",
      "database_specific": {
        "constraint": ">=4.0.0 <4.2.0"
      }
    }
  ],
  "versions": []
}

References