CVE•Published 2023-02-09•Modified 2026-10-23•1 article on news•5 live references•NVD data
CVE-2023-22794Activerecord_project · Activerecord
Vulnerability data via NVD (ingested)
CVSS v3.1
8.8
HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS percentile
82
Exploit Prediction Scoring System · top 18% of all CVEs
Weaknesses (CWE)
Description
A vulnerability in ActiveRecord <6.0.6.1, v6.1.7.1 and v7.0.4.1 related to the sanitization of comments. If malicious user input is passed to either the `annotate` query method, the `optimizer_hints` query method, or through the QueryLogs interface which automatically adds annotations, it may be sent to the database withinsufficient sanitization and be able to inject SQL outside of the comment.
Timeline
Published 2023-02-09
Modified 2026-10-23
External references
Search for exposed instances
Shodan + Censys queries derived from NVD's CPE data. The vuln tag catches assets Shodan has explicitly linked to this CVE; the product / banner fingerprints find exposed instances even when the vuln tag was never applied (which is common).
Shodan · vuln tag0 hosts
vuln:CVE-2023-22794Hosts Shodan has explicitly fingerprinted as vulnerable.
Shodan · product
product:"Activerecord Project Activerecord"All exposed Activerecord Project Activerecord instances — cross-reference with the CVE's affected-version range.
Shodan · banner/body mention
http.html:"Activerecord"HTTP body or banner mentions "Activerecord" — catches deploys Shodan didn't identify as a product.
More intel sources (5)
Shodan report
vuln:CVE-2023-22794Country / ASN / product breakdown for the vuln query.
Censys
vulnerabilities.cve_id: CVE-2023-22794Censys host search filtered to this CVE id.
grep.app
CVE-2023-22794Public source-code mentions — fast PoC discovery.
GitHub code
CVE-2023-22794GitHub code search for direct mentions.
Google dork
"CVE-2023-22794" exploit -site:nvd.nist.govWrite-ups and news, NVD excluded.