Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2023-22794

28
FAUCET Score

CVE-2023-22794 is a high-severity SQL injection vulnerability affecting ActiveRecord versions prior to 6.0.6.1, 6.1.7.1, and 7.0.4.1. Malicious user input passed to the annotate or optimizer_hints query methods, or via the QueryLogs interface, can bypass sanitization and inject SQL commands outside of intended comments. This vulnerability carries a CVSS score of 8.8, indicating a high potential for complete compromise of confidentiality, integrity, and availability with low attack complexity and no user interaction required. While no active exploits, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion have been observed, the high FAUCET Risk Score of 80/100 suggests a significant risk.

Impacted Technologies

VendorProductVersion(s)CPE
>= 6.0.0, < 6.0.6.1CPE matchmatch criteria
cpe:2.3:a:activerecord_project:activerecord:*:*:*:*:*:ruby:*:*
>= 6.1.0, < 6.1.7.1CPE matchmatch criteria
cpe:2.3:a:activerecord_project:activerecord:*:*:*:*:*:ruby:*:*
>= 7.0.0, < 7.0.4.1CPE matchmatch criteria
cpe:2.3:a:activerecord_project:activerecord:*:*:*:*:*:ruby:*:*

CVSS Data

CVSS version used by this source: 3.1

8.8HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
2.8
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
2.15%
Probability of exploitation in next 30 days
EPSS Percentile
80.3%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0215 is in the 79th percentile among its peer group of 17,829 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.3 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (4)

redhatpatch availablevia redhat_api
Product: Red Hat Satellite 6.14 for RHEL 8Fixed in: rubygem-activerecord-0:6.1.7.3-1.el8sat
View patch
rubygemspatch availablevia ghsa
Product: activerecordFixed in: 6.0.6.1
rubygemspatch availablevia ghsa
Product: activerecordFixed in: 6.1.7.1
rubygemspatch availablevia ghsa
Product: activerecordFixed in: 7.0.4.1

Vendor Advisories (2)

redhatCVE-2023-22794Important

rubygem-activerecord: SQL Injection

Jan 20, 2023
rubygemsGHSA-hq7p-j377-6v63high

SQL Injection Vulnerability via ActiveRecord comments

Jan 18, 2023

References

discuss.rubyonrails.org / t/cve-2023-22794-sql-injection-vulnerability-via-activerecord-comments/82117
ExploitPatchVendor Advisory
security.netapp.com / advisory/ntap-20240202-0008
debian.org / security/2023/dsa-5372