CVE-2026-138047
Deferred Deferred - Pending Action

SQL Injection in Dcat-Admin via ScaffoldController

Vulnerability report for CVE-2026-138047, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-28

Last updated on: 2026-11-28

Assigner: VulDB

Description

A vulnerability was identified in dcatadmin Dcat-Admin 2.2.2-beta. Affected by this issue is the function getDatabaseColumns of the file src/Http/Controllers/ScaffoldController.php. Such manipulation of the argument tb leads to sql injection. The attack can be launched remotely. The exploit is publicly available and might be used.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-28
Last Modified
2026-11-28
Generated
2026-11-29
AI Q&A
2026-11-28
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
blue060 dcat_admin to 2.2.2-beta (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
CWE-89 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.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a SQL injection flaw in Dcat-Admin version 2.2.2-beta and earlier. It exists in the function getDatabaseColumns of the file src/Http/Controllers/ScaffoldController.php. The issue occurs because the tb parameter is directly concatenated into a SQL query without proper filtering or escaping. This allows an attacker to manipulate the parameter to inject malicious SQL code, enabling them to read arbitrary database data, including sensitive information like administrator password hashes.

Detection Guidance

To detect this SQL injection vulnerability in Dcat-Admin v2.2.2-beta or earlier, check if the application is running in debug mode (APP_DEBUG=true). Exploit attempts may target the POST /admin/helpers/scaffold/table endpoint with the tb parameter. Use tools like Burp Suite to send crafted requests with time-based blind SQL injection payloads and observe delayed responses.

Impact Analysis

If exploited, this vulnerability can allow an authenticated attacker to perform time-based blind SQL injection. This means they can read data from other databases and tables, potentially accessing sensitive information such as user credentials or personal data. The attack requires the application to be running in debug mode (APP_DEBUG=true) to be exploitable.

Compliance Impact

This vulnerability can lead to unauthorized access to sensitive data, which may result in non-compliance with regulations like GDPR or HIPAA. GDPR requires protection of personal data, while HIPAA mandates safeguards for protected health information. A breach could lead to legal penalties, fines, or reputational damage due to failure to meet these compliance requirements.

Mitigation Strategies

Immediately disable debug mode (set APP_DEBUG=false) to prevent exploitation. Update to a patched version of Dcat-Admin that uses parameter binding for the tb parameter and validates table names against a strict allowlist. If updating is not possible, restrict access to the /admin/helpers/scaffold/table endpoint and monitor for suspicious SQL query patterns.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-138047. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...