01 Record
CVE-2026-66838
SQL injection via the :comment option in Postgrex.stream/4
MediumPUBLISHEDCNA: EEF
CNA base score5.9 CVSS v4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
02 Description
SQL injection via the :comment option in Postgrex.stream/4
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 0.40% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 34.2% of scored records. A rank, not a probability.
- NVD base score
- 5.9 (CVSS v4.0), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-10-24.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2026-08-07 12:20Z2 MO AGO
- Last updated
- 2026-08-07 15:12Z2 MO AGO
- Reserved
- 2026-08-06
- Assigning CNA
- EEF
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 5.9)
- CNA CVSS vector
- CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
- Weaknesses
- CWE-89Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')Base
- Data version
- 5.2
- Document digest
- 852b304c17a947be86e1451f1fc41deb192806131bb05ad9a7027d60b4316ab1
05 Affected products
VendorProductVersionsPlatforms
06 References
- github.comhttps://github.com/elixir-ecto/ecto/security/advisories/GHSA-3gww-3f36-2388
- cna.erlef.orghttps://cna.erlef.org/cves/CVE-2026-66838.html
- osv.devhttps://osv.dev/vulnerability/EEF-CVE-2026-66838
- github.comhttps://github.com/elixir-ecto/postgrex/commit/e1ecba618ddea4cee2556bd6ad9b6285e05f9d3c
- github.comhttps://github.com/elixir-ecto/postgrex/commit/4011be852c99dc61ddb98cb01aa41e8775a0e3dd