CVE-2022-0944: GitHub sqlpad/sqlpad - Server-Side Template Injection
- Cve: CVE-2022-0944
- Name: GitHub sqlpad/sqlpad - Server-Side Template Injection
- Description: Template injection in connection test endpoint leads to RCE in GitHub repository sqlpad/sqlpad prior to 6.10.1.
- Impact: Attackers can execute arbitrary code remotely, potentially leading to full system compromise.
- Remediation: Update to version 6.10.1 or later.
- Vulnerability type: template_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.2
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.08507
- Epss percentile: 0.95172
- Assignee: [email protected]
- Published at: 2022-03-15T01:15:07Z
- Age in days: 1715
- Modified at: 2026-06-17T04:21:31Z
- Patch available: yes
- Public exploits total: 11
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-0944
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-1336 | Improper Neutralization of Special Elements Used in a Template Engine |
| CWE-94 | Improper Control of Generation of Code |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.dev/bounties/46630727-d923-4444-a421-537ecd63e7fb | nvd | 2022-03-15 |
| https://github.com/NeoArtemis37/OverlayFS-PrivEsc-CVE-2022-0944 | poc-in-github | 2026-03-25 |
| https://github.com/0xDTC/SQLPad-6.10.0-Exploit-CVE-2022-0944 | poc-in-github | 2024-10-27 |
| https://github.com/LipeOzyy/SQLPad-RCE-Exploit-CVE-2022-0944 | poc-in-github | 2024-10-25 |
| https://github.com/toneillcodes/CVE-2022-0944 | poc-in-github | 2024-10-13 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/sqlpad/sqlpad/commit/3f92be386c6cd3e5eba75d85f0700d3ef54daf73 | nvd | Patch, Third Party Advisory |
| https://huntr.dev/bounties/46630727-d923-4444-a421-537ecd63e7fb | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| sqlpad:sqlpad | < 6.10.1 | no | nvd | /v1/products/sqlpad/sqlpad |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| sqlpad/sqlpad | commit | yes | /v1/repositories/sqlpad/sqlpad |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 11
- Public exploit first date: 2022-03-15
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts