{"id":"CVE-2022-0944","published":"2022-03-15T01:00:15Z","modified":"2024-08-02T23:47:42Z","title":"Template injection in connection test endpoint leads to RCE in sqlpad/sqlpad","vendor":"sqlpad","product":"sqlpad/sqlpad","tier":"tail","description":{"text":"Template injection in connection test endpoint leads to RCE in GitHub repository sqlpad/sqlpad prior to 6.10.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.08507,"percentile":0.95166,"provenance":"source"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://huntr.dev/bounties/46630727-d923-4444-a421-537ecd63e7fb","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sqlpad/sqlpad/commit/3f92be386c6cd3e5eba75d85f0700d3ef54daf73","tags":["x_refsource_MISC"]}],"priority":{"score":30.4,"factors":[{"name":"EPSS percentile","points":19.03},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.37}]},"exploitSources":{"pocGithub":{"count":10,"skipped":0,"earliest":"2024-09-08","earliestUrl":"https://github.com/shhrew/CVE-2022-0944","repos":[{"name":"0xRoqeeb/sqlpad-rce-exploit-CVE-2022-0944","url":"https://github.com/0xRoqeeb/sqlpad-rce-exploit-CVE-2022-0944","stars":9,"created":"2024-09-10"},{"name":"shhrew/CVE-2022-0944","url":"https://github.com/shhrew/CVE-2022-0944","stars":7,"created":"2024-09-08"},{"name":"FlojBoj/CVE-2022-0944","url":"https://github.com/FlojBoj/CVE-2022-0944","stars":5,"created":"2024-09-09"},{"name":"Robocopsita/CVE-2022-0944_RCE_POC","url":"https://github.com/Robocopsita/CVE-2022-0944_RCE_POC","stars":2,"created":"2024-09-13"},{"name":"Artemisxxx37/OverlayFS-PrivEsc-CVE-2022-0944","url":"https://github.com/Artemisxxx37/OverlayFS-PrivEsc-CVE-2022-0944","stars":1,"created":"2024-09-10"}]},"first":{"date":"2024-09-08","source":"PoC-in-GitHub","url":"https://github.com/shhrew/CVE-2022-0944"},"provenance":"source"},"vendorSlug":"sqlpad","affectedVersions":[{"vendor":"sqlpad","product":"sqlpad/sqlpad","versions":[">= unspecified, < 6.10.1"]}],"summary":{"text":"A template injection flaw in the connection test endpoint of the sqlpad/sqlpad product (GitHub repository sqlpad/sqlpad, prior to 6.10.1) allows untrusted input to be interpreted by a template engine. An attacker with high-privilege authenticated access to the application, reaching the connection test endpoint over the network with no user interaction required, can achieve remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:33:11Z"},"euvd":{"id":"EUVD-2022-15960","exploited":false,"provenance":"source"}}