Loading...
Skip to main content

CVE-2026-22742 — Vulnerability in...

HIGH

Spring AI: Insufficient Validation causes SSRF when processing multimodal messages with user-supplied URLs

Published March 27, 2026Updated March 29, 2026Source: osv

Summary

Spring AI's spring-ai-bedrock-converse contains a Server-Side Request Forgery (SSRF) vulnerability in BedrockProxyChatModel when processing multimodal messages that include user-supplied media URLs. Insufficient validation of those URLs allows an attacker to induce the server to issue HTTP requests to unintended internal or external destinations. This issue affects Spring AI: from 1.0.0 before 1.0.5, from 1.1.0 before 1.1.4.

Advisory Timeline

  • First published March 27, 2026 (199 days ago).
  • Last revised March 29, 2026 — 2 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.springframework.ai:spring-ai-bedrock-converse to 1.1.4 or later
<!-- Update pom.xml dependency version to 1.1.4 for org.springframework.ai:spring-ai-bedrock-converse -->
Maven
Update org.springframework.ai:spring-ai-bedrock-converse to 1.0.5 or later
<!-- Update pom.xml dependency version to 1.0.5 for org.springframework.ai:spring-ai-bedrock-converse -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.springframework.ai:spring-ai-bedrock-converse
maven
1.1.0, 1.1.0-M1, 1.1.0-M2, 1.1.0-M3 (+5 more)1.1.4
org.springframework.ai:spring-ai-bedrock-converse
maven
1.0.0, 1.0.0-M5, 1.0.0-M6, 1.0.0-M7 (+6 more)1.0.5

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-918
    Server-Side Request Forgery (SSRF)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.6 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Frequently Asked Questions

What is CVE-2026-22742?
Spring AI: Insufficient Validation causes SSRF when processing multimodal messages with user-supplied URLs This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.6/10).
How do I check if my project is affected by CVE-2026-22742?
CVE-2026-22742 affects org.springframework.ai:spring-ai-bedrock-converse. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-22742 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.6

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-mhrg-94vw-45c5

Related CVEs

  • CVE-2026-41713
    HIGH

    Spring AI: Prompt Injection via Memory Poisoning in PromptChatMemoryAdvisor

  • CVE-2026-40978
    HIGH

    Spring AI has SQL Injection in CosmosDBVectorStore.doDelete()

  • CVE-2026-22730
    HIGH

    SQL Injection in Spring AI MariaDBFilterExpressionConverter

  • CVE-2026-47835
    HIGH

    Spring AI vector store metadata filtering to handle special characters in Elasticsearch, OpenSearch, and GemFire Vector Stores

  • CVE-2026-41712
    HIGH

    Spring AI: ChatMemory DEFAULT_CONVERSATION_ID causes unintended cross-user data leakage

  • CVE-2026-40967
    HIGH

    Spring AI has a VectorStore FilterExpression Converter injection

  • CVE-2026-22729
    HIGH

    JSONPath Injection in Spring AI Vector Stores FilterExpressionConverter

  • CVE-2026-41705
    HIGH

    Spring AI's MilvusVectorStore#doDelete(List) implementation is vulnerable to filter-expression injection via unsanitized document IDs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies