CVE-2026-22744

Improper Escaping of User Input in Spring AI RediSearch Filter Enables Injection

Published Mar 27, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
In RedisFilterExpressionConverter of spring-ai-redis-store, when a user-controlled string is passed as a filter value for a TAG field, stringValue() inserts the value directly into the @field:{VALUE} RediSearch TAG block without escaping characters.This issue affects Spring AI: from 1.0.0 before 1.0.5, from 1.1.0 before 1.1.4.

Analysis

AI-generated

Technical impact

Spring AI 1.x versions contain a flaw in the RedisFilterExpressionConverter where a user‑controlled string supplied as a FILTER value for a TAG field is inserted directly into the @field:{VALUE} RediSearch query without escaping. This improper input handling can be exploited to inject arbitrary search syntax, allowing an attacker to manipulate or expand the query logic. The result may be unauthorized data retrieval or manipulation of query results, impacting confidentiality and integrity of the stored data.

Affected Systems

The vulnerability affects Spring AI for all releases from 1.0.0 up to, but not including, 1.0.5 as well as from 1.1.0 up to, but not including, 1.1.4. Systems running these versions should be considered at risk.

Risk and Exploitability

The CVSS score of 7.5 indicates high severity, and the exploitability is further suggested by the lack of escaping. While EPSS score is < 1% and the vulnerability is not listed in CISA’s KEV, the absence of mitigation in earlier releases means the attack vector is likely via a user‑supplied filter expression, which can be invoked by any authenticated or potentially unauthenticated client depending on application configuration.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Spring AI to 1.0.5 or later, or to 1.1.4 or later if on the 1.1 series.
  • Restrict or disable user-supplied filter expressions for TAG fields until the patch is applied.
  • Implement input validation or escaping for filter values to prevent injection before the next vulnerability fix.

Generated by OpenCVE AI on April 17, 2026 at 11:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-44f4-gvwj-6qg3 Spring AI Redis Store has TAG Field Query Injection Through Improper Neutralization of Special Characters
References
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Improper Escaping of User Input in Spring AI RediSearch Filter Enables Injection
Weaknesses CWE-20
CWE-74
Type Values Removed Values Added
First Time appeared Vmware
Vmware spring Ai
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:*
Vendors & Products Vmware
Vmware spring Ai
Type Values Removed Values Added
First Time appeared Spring
Spring spring
Vendors & Products Spring
Spring spring
Type Values Removed Values Added
Description In RedisFilterExpressionConverter of spring-ai-redis-store, when a user-controlled string is passed as a filter value for a TAG field, stringValue() inserts the value directly into the @field:{VALUE} RediSearch TAG block without escaping characters.This issue affects Spring AI: from 1.0.0 before 1.0.5, from 1.1.0 before 1.1.4.
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • NVD-CWE-noinfo

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Jun 2, 2026, 4:05 PM
Reserved
Jan 9, 2026, 6:54 AM
Status
Modified
Published
Mar 27, 2026, 6:16 AM
Modified
Oct 26, 2026, 9:10 PM