Valkey
Valkey Affected by RESP Protocol Injection via Lua error_reply
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 7.2.12
- >= 8.0.0, < 8.0.7
- >= 8.1.0, < 8.1.6
- >= 9.0.0, < 9.0.2
Fixed in 7.2.12, 8.0.7, 8.1.6, 9.0.2
Mitigation
Upgrade valkey to 7.2.12 or 8.0.7 or 8.1.6 or 9.0.2 or later.
References
- Vendor advisory github.com/valkey-io/valkey/security/advisorie…
Timeline
Days relative to CVE publicationFirst public PoC 1 h after publication; not in CISA KEV. First PoC: JYlab/CVE-2025-67733 (created 23 Feb 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| JYlab/CVE-2025-67733 | 23 Feb 2026 +1 h | 1 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /api/user/role
- Query
username=user- Ports
- 5001
- Seen in
- 1 repo: JYlab/CVE-2025-67733
- Evidence
- JYlab/CVE-2025-67733/victim_client.py:27
POST /api/process
- Body markers
"script":"error(redis.error_reply("INJECTED\r\n$11\r\nhacked_user"))"inapplication/json- Ports
- 5001
- Seen in
- 1 repo: JYlab/CVE-2025-67733
- Evidence
- JYlab/CVE-2025-67733/attacker_client.py:10
POST /api/user/role
- Body markers
"username":"user""role":"normal_user"inapplication/json- Ports
- 5001
- Seen in
- 1 repo: JYlab/CVE-2025-67733
- Evidence
- JYlab/CVE-2025-67733/victim_client.py:9
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/user/role\?(?:.*&)?username=user
(?i)^/api/process(?:[?#].*)?$
(?i)^/api/user/role(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [5001] (msg:"GG PoC-Monitor CVE-2025-67733 valkey-io valkey exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/user/role"; http.uri; content:"username=user"; reference:url,poc.griffinguard.io/cve/CVE-2025-67733; classtype:web-application-attack; sid:9246966; rev:1;)
alert http any any -> $HOME_NET [5001] (msg:"GG PoC-Monitor CVE-2025-67733 valkey-io valkey exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/process"; http.request_body; content:"|22|script|22|:|22|error(redis.error_reply(|22|INJECTED|5c|r|5c|n$11|5c|r|5c|nhacked_user|22|))|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-67733; classtype:web-application-attack; sid:9405909; rev:1;)
alert http any any -> $HOME_NET [5001] (msg:"GG PoC-Monitor CVE-2025-67733 valkey-io valkey exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/user/role"; http.request_body; content:"|22|username|22|:|22|user|22|"; http.request_body; content:"|22|role|22|:|22|normal_user|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-67733; classtype:web-application-attack; sid:9178212; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: valkey-io valkey exploit attempt (CVE-2025-67733)
id: gg-pocmon-cve-2025-67733-9246966
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-67733. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-67733
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/user/role'
cs-uri-query|contains|all:
- 'username=user'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.67733
title: valkey-io valkey exploit attempt (CVE-2025-67733)
id: gg-pocmon-cve-2025-67733-9405909
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-67733. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-67733
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/process'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.67733
title: valkey-io valkey exploit attempt (CVE-2025-67733)
id: gg-pocmon-cve-2025-67733-9178212
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-67733. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-67733
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/user/role'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.67733