# CVE-2022-0944: Template injection in connection test endpoint leads to RCE in sqlpad/sqlpad

- Severity: Critical 9.1 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 8.51%, higher than 95% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-03-15T01:00:15.000Z
- Modified: 2026-06-17T04:21:31.610Z
- Weaknesses: CWE-94, CWE-1336
- Assigned by: @huntrdev

## Description

Template injection in connection test endpoint leads to RCE in GitHub repository sqlpad/sqlpad prior to 6.10.1.

(As written by CVE List.)

## Affected

- sqlpad sqlpad/sqlpad: from unspecified before 6.10.1
- sqlpad sqlpad: before 6.10.1

## Every score

- @huntrdev: CVSS:3.0 9.1 Critical `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://huntr.dev/bounties/46630727-d923-4444-a421-537ecd63e7fb> (exploit, third-party-advisory)
- <https://github.com/sqlpad/sqlpad/commit/3f92be386c6cd3e5eba75d85f0700d3ef54daf73> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-0944](https://www.cve.org/CVERecord?id=CVE-2022-0944), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2022-0944](https://nvd.nist.gov/vuln/detail/CVE-2022-0944), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-0944 · Whole record: https://cve.day/CVE-2022-0944.json · Rebuilt by cve.day 2026-11-25T22:58:10.100Z
