Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDiscover unprotected /api/v1/get_upload_url endpoint
-
DeliveryRequest presigned S3 upload URL unauthenticated
-
ExploitPOST crafted file to /api/upload-binary with x-proxy-target-url
-
ExecutionServer proxies file to S3 without type check
-
PersistMalicious HTML/SVG served to application users
-
ImpactStored XSS executes in victim browsers
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the application to be reachable over the network and running an unpatched version (up to 1.0.11 or 2.0.0). No authentication, special configuration, or privileged account is needed - the /api/upload-binary endpoint accepted unauthenticated POST requests by design prior to the patch. The x-proxy-target-url header must resolve to a valid S3 presigned upload URL, which an attacker can obtain unauthenticated from the also-unguarded /api/v1/get_upload_url or /api/app/get_file_upload_url endpoints (both fixed in the same commit). Exploitation is limited to environments actively hosting this specific open-source application with S3 integration configured. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) scores 6.9, which accurately reflects the ease of exploitation - the endpoint requires no credentials and no special preconditions. Real-world impact is bounded by what damage arbitrary S3 writes can cause: storage exhaustion and associated cloud cost, and stored XSS via HTML/SVG uploads if bucket objects are served back to users. The fix explicitly calls out HTML and SVG as dangerous upload types, confirming this secondary impact vector. There is no indication of scope change to the underlying OS or data exfiltration at the application layer. Prevalence is very low - this is a niche open-source project with limited production deployments, substantially reducing fleet-wide risk. No KEV listing, no POC, and no EPSS score provided, so overall exploitation priority is low outside environments actually running this software. |
| Exploit ScenarioDerived | An unauthenticated remote attacker sends a multipart POST to /api/upload-binary, specifying a crafted x-proxy-target-url pointing to the application's S3 presigned URL endpoint and including an HTML or SVG file. The server proxies the upload without authentication or type validation, placing the attacker-controlled file in the S3 bucket; if bucket objects are served to users, the HTML/SVG executes in victims' browsers as stored XSS. No proof-of-concept code has been publicly identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 13, 2026
Unauthenticated file upload in Anil-matcha Open-Generative-AI (versions up to 1.0.11/2.0.0) allows any remote attacker to upload arbitrary files - including HTML, SVG, and executable types - to the application's S3 backend via the /api/upload-binary proxy endpoint. The endpoint accepted requests without any API key check and imposed no restrictions on file type or content, as confirmed by the patch commit f013270957f. No active exploitation or public proof-of-concept has been identified at time of analysis; EPSS data was not provided.
RemediationAI
Apply commit f013270957f75e439eaf97eb2a93decb32a4543e from the upstream repository at https://github.com/Anil-matcha/Open-Generative-AI/commit/f013270957f75e439eaf97eb2a93decb32a4543e. No tagged patched release version was identified in the available data - the fix exists as a commit on the main branch, so operators should verify a release incorporating this commit before upgrading. If an immediate code update is not possible, restrict network access to the /api/upload-binary and /api/v1/upload-binary routes at the reverse-proxy or WAF layer to authenticated, trusted IPs only. Additionally, audit the S3 bucket serving uploaded objects to ensure it does not serve HTML or SVG with permissive content-type headers, mitigating stored XSS even if unauthenticated uploads occurred historically.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Open-Generative-AI is a Next.js-based open-source generative AI chat application that proxies file uploads to Amazon S3 via a server-side route handler at /api/upload-binary (and /api/v1/upload-binary). The root cause is CWE-284 (Improper Access Control): the upload route forwarded multipart form data to the S3 presigned URL target specified by the caller-controlled x-proxy-target-url request header without first validating caller identity or file type. The patch adds an API key authentication check (getApiKeyFromRequest), a blocked-file-type list covering HTML, SVG, and executables (isBlockedFileType), and sanitizes the authorization header before proxying. The companion get_file_upload_url endpoint that generates presigned URLs was also missing its authentication gate, meaning the full upload workflow could be driven entirely unauthenticated.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
No authentication required (PR:N confirmed by patch), network-accessible endpoint; limited C/I/A reflecting S3 write abuse and stored XSS potential without full system compromise.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability was identified in Anil-matcha Open-Generative-AI up to 1.0.11/2.0.0. Affected by this issue is some unknown functionality of the file /api/upload-binary of the component S3 Upload. Such manipulation of the argument x-proxy-target-url leads to unrestricted upload. The attack may be launched remotely. The name of the patch is f013270957f75e439eaf97eb2a93decb32a4543e. Applying a patch is advised to resolve this issue.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
EUVD-2026-77138
GHSA-xxxm-jwv4-xmv7
NVD
CVE.org
EPSS
VulDB
Exploit-DB