ActiveRecord-JDBC-Adapter (AR-JDBC) contains a flaw that may allow carrying out an SQL injection attack. The issue is due to the sql.gsub() function in lib/arjdbc/jdbc/adapter.rb not properly sanitizing user-supplied input before using it in SQL queries. This may allow a remote attacker to inject or manipulate SQL queries in the back-end database, allowing for the manipulation or disclosure of arbitrary data.
{
"cwe_ids": [
"CWE-89"
],
"github_reviewed_at": "2026-01-16T19:20:40Z",
"nvd_published_at": null,
"severity": "HIGH",
"github_reviewed": true
}