{"id":5141,"date":"2026-09-04T18:47:01","date_gmt":"2026-09-04T10:47:01","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-66838"},"modified":"2026-09-04T18:47:01","modified_gmt":"2026-09-04T10:47:01","slug":"cve-2026-66838","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-66838","title":{"rendered":"CVE-2026-66838 [HIGH] &#8211; Improper Neutralization of Special Elements used in an SQL Command (&#8216;SQL Injection&#8217;) vulne"},"content":{"rendered":"<p>Improper Neutralization of Special Elements used in an SQL Command (&#8216;SQL Injection&#8217;) vulnerability in elixir-ecto postgrex allows SQL Injection via the :comment option of Postgrex.stream\/4. An attacker who can influence that value can close the comment delimiter with *\/ and extend the streamed statement with their own clauses, which execute under the connection&#8217;s role. Ecto exposes the same option through Ecto.Repo.stream\/2.<\/p>\n<p>Postgrex appends the comment by concatenating it into the statement text sent in the Parse message, without escaping or rejecting *\/. The option is validated by comment_not_present!\/1 at every other execution point; stream\/4 never calls it. Because Parse accepts a single command, the injection is confined to the streamed statement and further statements cannot be chained.<\/p>\n<p>This issue affects postgrex: from 0.19.3 before 0.22.4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Improper Neutralization of Special Elements used in an SQL Command (&#8216;SQL Injection&#8217;) vulnerability in elixir-ecto postgrex allows SQL Injection via the :comment option of Postgrex.stream\/4. An attacke<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-5141","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/5141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}