CVE-2025-67733: CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') in valkey-io valkey
Valkey is a distributed key-value database. Prior to versions 9.0.2, 8.1.6, 8.0.7, and 7.2.12, a malicious user can use scripting commands to inject arbitrary information into the response stream for the given client, potentially corrupting or returning tampered data to other users on the same connection. The error handling code for lua scripts does not properly handle null characters. Versions 9.0.2, 8.1.6, 8.0.7, and 7.2.12 fix the issue.
AI Analysis
Technical Summary
Valkey versions prior to 9.0.2, 8.1.6, 8.0.7, and 7.2.12 contain an injection vulnerability (CWE-74) due to improper neutralization of special elements in output used by downstream components. Specifically, the Lua scripting error handling code fails to correctly handle null characters, enabling an attacker with scripting command access to inject arbitrary data into the response stream. This can lead to data tampering and denial of service conditions. The vulnerability has been addressed in the fixed versions mentioned.
Potential Impact
An attacker with the ability to execute Lua scripts can inject arbitrary information into the response stream, potentially causing data tampering or corruption for other users sharing the same connection. The vulnerability also has a denial of service impact. The CVSS v3.1 base score is 8.5 (high), reflecting network attack vector, low attack complexity, low privileges required, no user interaction, scope change, no confidentiality impact, integrity impact, and high availability impact.
Mitigation Recommendations
Official fixes are available in valkey versions 9.0.2, 8.1.6, 8.0.7, and 7.2.12. Users should upgrade to one of these versions or later to remediate this vulnerability. Refer to the Red Hat advisories (RHSA-2026:5445 and related) for detailed update instructions. No additional mitigations are indicated by the vendor advisory.
CVE-2025-67733: CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') in valkey-io valkey
Description
Valkey is a distributed key-value database. Prior to versions 9.0.2, 8.1.6, 8.0.7, and 7.2.12, a malicious user can use scripting commands to inject arbitrary information into the response stream for the given client, potentially corrupting or returning tampered data to other users on the same connection. The error handling code for lua scripts does not properly handle null characters. Versions 9.0.2, 8.1.6, 8.0.7, and 7.2.12 fix the issue.
CVSS v3.1
Score 8.5high
Affected software
pkg:github/valkey-io/valkeyRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Valkey versions prior to 9.0.2, 8.1.6, 8.0.7, and 7.2.12 contain an injection vulnerability (CWE-74) due to improper neutralization of special elements in output used by downstream components. Specifically, the Lua scripting error handling code fails to correctly handle null characters, enabling an attacker with scripting command access to inject arbitrary data into the response stream. This can lead to data tampering and denial of service conditions. The vulnerability has been addressed in the fixed versions mentioned.
Potential Impact
An attacker with the ability to execute Lua scripts can inject arbitrary information into the response stream, potentially causing data tampering or corruption for other users sharing the same connection. The vulnerability also has a denial of service impact. The CVSS v3.1 base score is 8.5 (high), reflecting network attack vector, low attack complexity, low privileges required, no user interaction, scope change, no confidentiality impact, integrity impact, and high availability impact.
Mitigation Recommendations
Official fixes are available in valkey versions 9.0.2, 8.1.6, 8.0.7, and 7.2.12. Users should upgrade to one of these versions or later to remediate this vulnerability. Refer to the Red Hat advisories (RHSA-2026:5445 and related) for detailed update instructions. No additional mitigations are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2025-12-11T00:45:45.790Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2025-67733","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:5445","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3443","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3507","vendor":"Red Hat"}]
Threat ID: 699cbd8cbe58cf853bc4b3d6
Added to database: 02/23/2026, 20:50:20 UTC
Last enriched: 07/15/2026, 08:22:11 UTC
Last updated: 07/31/2026, 19:22:56 UTC
Views: 193
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.