Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid Athena credentials
-
DeliveryIdentify Synapse connector in data catalog
-
ExploitCraft table name with injected SQL payload
-
ExecutionSubmit federated query via Athena
-
PersistConnector passes unsanitized name to Synapse
-
ImpactRead unintended rows from Azure Synapse database
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) the attacker holds valid credentials with sufficient IAM permissions to execute federated queries through Amazon Athena (PR:H per the CVSS 4.0 vector); (2) the target environment has the Synapse connector configured and an Azure Synapse data source registered in the Athena Data Catalog; (3) the attacker can supply or influence table name parameters in their federated SQL queries. Exploitation is read-only - the injected SQL can only retrieve data, not modify or delete records in Synapse, and has no impact on Athena infrastructure itself. Environments that do not use the Athena Query Federation Synapse connector are not affected regardless of their Athena configuration. |
| Impact | The CVSS 4.0 score of 6.1 reflects a constrained but real threat. The vector CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N highlights that while the attack is network-reachable and requires no interaction, it demands high privileges (PR:H) - meaning the attacker must already be an authenticated, authorized Athena user. The impact is entirely on the subsequent system (SC:H): the Azure Synapse database. There is no impact on Athena itself (VC/VI/VA all N) and no integrity or availability impact on Synapse (SI:N/SA:N), making this a read-only data exfiltration risk rather than a destructive one. No EPSS data was provided, and neither KEV listing nor public exploit code has been identified, suggesting this is not yet being actively leveraged. The realistic priority is moderate: organizations using Athena Query Federation with the Synapse connector and where Synapse holds sensitive or regulated data should treat this urgently, but environments not using this specific connector are unaffected. |
| Exploit ScenarioDerived | An authenticated Athena user with access to a workgroup connected to an Azure Synapse data source submits a federated SQL query referencing a crafted table name containing injected SQL fragments, such as appending UNION SELECT statements. The Synapse connector incorporates the unsanitized table name into the backend SQL query sent to Azure Synapse, causing Synapse to return rows from tables or columns the user was not intended to access. No public exploit code has been identified, but the attack technique is well-understood given the standard nature of SQL injection. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 17, 2026
SQL injection in the Azure Synapse connector of Amazon aws-athena-query-federation allows authenticated remote users to exfiltrate unintended data from connected Azure Synapse databases by supplying crafted table names that are improperly neutralized before inclusion in SQL commands. Affected versions span v2022.20.1 through v2026.19.1, and the scope of data exposure extends beyond Athena itself into the downstream Synapse database. No public exploit code or CISA KEV listing has been identified at time of analysis; exploitation requires valid Athena credentials with sufficient privilege to invoke the Synapse connector.
RemediationAI
Upgrade aws-athena-query-federation to version v2026.21.1 or later, which contains the vendor-released patch per the GitHub release at https://github.com/awslabs/aws-athena-query-federation/releases/tag/v2026.21.1. The AWS security bulletin at https://aws.amazon.com/security/security-bulletins/2026-059-aws/ should be consulted for deployment-specific guidance. If an immediate upgrade is not feasible, organizations can restrict access to the Synapse connector by limiting IAM permissions so that only trusted, named identities can invoke federation queries against the Synapse data source - this reduces the pool of potential attackers but does not remediate the underlying injection flaw. A second compensating control is to audit and restrict which Athena workgroups have access to the Synapse data source catalog, minimizing blast radius. Both mitigations carry the trade-off of operational disruption for teams relying on Synapse federation for analytics workflows.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) describes a failure to sanitize user-controlled input before it is incorporated into a SQL statement. In this case, the Athena Query Federation framework - identified by CPE cpe:2.3:a:aws:aws-athena-query-federation:*:*:*:*:*:*:*:* - exposes connectors that translate federated SQL queries into native queries against external data sources. The Synapse connector bridges Amazon Athena and Azure Synapse Analytics, passing table name parameters into SQL constructs without adequate escaping or parameterization. Because Athena Federation is serverless and connector-based, the injection point lives in the connector's query-building logic rather than in a traditional application server, making it a supply-chain-style risk for organizations relying on the open-source federation library from awslabs.
Know when AWS gets its next vulnerability
- 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:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N
High privileges required to invoke the Synapse connector; scope changes to downstream Azure Synapse; read-only injection means no integrity or availability impact.
Primary rating from Vendor (AMZN).
CVSS VectorVendor: AMZN
DescriptionCVE.org
Amazon Athena is a serverless, interactive query service that lets you analyze data directly in Amazon S3 using standard SQL. Athena Query Federation is a feature that allows you to connect to data sources outside of Amazon S3 like DynamoDB, Azure Synapse, and custom connectors using standard SQL syntax.
Improper neutralization of special elements used in an SQL command in the Synapse connector in Amazon aws-athena-query-federation v2022.20.1 through v2026.19.1 might allow an authenticated remote user to execute injected read-only SQL queries that return unintended data from the connected database via a crafted table name.
To remediate this issue, users should upgrade to version v2026.21.1 or later.
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
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Loom for AWS deployments running a version before 1.6.1 with no identity provider configured expose an unauthenticated s
Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal
Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar
Multiple vulnerabilities in ASTPP 4.0.1 including XSS and command injection in SIP device configuration and plugin manag
Broken access control in the VitaFit cloud API before the 2026-10-30 fix lets any authenticated account holder call POST
Remote code execution in Amazon awslabs postgres-mcp-server before 1.1.7 lets remote actors run arbitrary OS commands on
Remote code execution in AWS AgentCore CLI before v0.14.2 allows authenticated attackers to inject Python code via craft
Denial of service in the aws-smithy-json Rust runtime crate (versions before 0.62.7) lets remote unauthenticated attacke
Denial of service in Amazon's aws-smithy-http-server Rust crate (versions prior to 0.66.5) lets remote unauthenticated a
Argument injection in the AWS Bedrock AgentCore Python SDK before 1.18.1 lets a remote authenticated user run arbitrary
Arbitrary file read in amazon-mq rabbitmq-aws before 0.2.1 allows authenticated remote users to read any file accessible
WAF managed-rule body inspection on AWS Application Load Balancer (ALB) can be bypassed by remote actors who fragment an
EUVD-2026-45271
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB