CVE-2006-2742 in Drupal
SQL injection vulnerability in Drupal 4.6.x before 4.6.7 and 4.7.0 allows remote attackers to execute arbitrary SQL commands via the (1) count and (2) from variables to (a) database.mysql.inc, (b) database.pgsql.inc, and (c) database.mysqli.inc.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Drupal | Drupal | 4.6 4.6.0 4.6.1 4.6.2 4.6.3 4.6.4+3 more4.6.5 4.6.6 4.7.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
SQL injection vulnerability in Drupal 4.6.x before 4.6.7 and 4.7.0 allows remote attackers to execute arbitrary SQL commands via the (1) count and (2) from variables to (a) database.mysql.inc, (b) database.pgsql.inc, and (c) database.mysqli.inc.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2006-2742 |
|---|---|
| BreachSpider ID | BS-2006-GLOBAL-341913-H |
| CVSS vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| Published | 2006-06-01 |
| Last modified | 2026-06-16 |
| Source | NVD |
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2006. A high severity vulnerability affects Drupal systems (CVE-2006-2742). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: SQL injection vulnerability in Drupal 4.6.x before 4.6.7 and 4.7.0 allows remote attackers to execute arbitrary SQL commands via the (1) count and (2) from variables to (a) database.mysql.inc, (b) database.pgsql.inc, and (c) database.mysqli.inc. CVSS vector: AV:N/AC:L/Au:N/C:P/I:P/A:P.
Questions
What is CVE-2006-2742?
This vulnerability was disclosed in 2006. A high severity vulnerability affects Drupal systems (CVE-2006-2742). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2006-2742?
CVE-2006-2742 has CVSS 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. EPSS: 1.5%.
Is CVE-2006-2742 actively exploited?
No confirmed active exploitation of CVE-2006-2742 as of 2026-09-25.
How do I remediate CVE-2006-2742?
Priority: MEDIUM. Advisory: http://drupal.org/node/65357 PSIRT: [email protected]
What systems are affected by CVE-2006-2742?
CVE-2006-2742 affects Drupal Drupal.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Drupal","product":"Drupal","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.