CVE-2026-29953 Details
Description
SQL Injection vulnerability in SchemaHero 0.23.0 via the column parameter to the columnAsInsert function in file plugins/postgres/lib/column.go.
A SQL injection vulnerability has been identified in SchemaHero version 0.23.0. This vulnerability arises in the PostgreSQL and MySQL plugins when processing column definitions in Table Custom Resource Definitions (CRDs). The issue stems from default values being directly concatenated into SQL statements without proper escaping, allowing for injection attacks. In PostgreSQL, this could lead to the execution of arbitrary functions, while in MySQL, it could allow the injection of additional columns with malicious default values. The vulnerability is automatically exploited when 'Database.spec.immediateDeploy' is set to true, as malicious Table CRDs are executed without manual approval.
Users are advised to update to a version of SchemaHero that addresses this vulnerability. Additionally, 'Database.spec.immediateDeploy' should be set to false to require manual approval for all migrations. Implementing RBAC restrictions to limit who can create Table CRDs and monitoring audit logs for CRD modifications can also help mitigate the risk.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 30, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/b0b0haha/fb59199fb1fdf9414e76442e0599bfed | [email protected] | ExploitThird Party Advisory |
| https://github.com/b0b0haha/SchemaHero--Sqlinjection/blob/main/README.md | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| schemahero schemahero | <= 0.23.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 2, 2026 | Initial Analysis | [email protected] |
| Mar 30, 2026 | CVE Modified | CISA-ADP |
| Mar 30, 2026 | CVE Modified | CISA-ADP |
| Mar 30, 2026 | New CVE Received | [email protected] |