uptrace pgdriver v1.2.1 was discovered to contain a SQL injection vulnerability via the appendArg function in /pgdriver/format.go. The maintainer has stated that the issue is fixed in v1.2.15.
https://www.sonarsource.com/blog/double-dash-double-trouble-a-subtle-sql-injection-flaw/