Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege IAM credentials with connector deployment rights
-
DeliveryCraft malicious connector config targeting arbitrary secret ARN
-
ExploitDeploy or update ClickHouse connector via CloudFormation/SAM
-
ExecutionConnector Lambda fetches target Secrets Manager secret
-
ImpactSecret value transmitted to attacker-controlled ClickHouse endpoint
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Privilege assignment review
|
| Exploitation Conditions | The ClickHouse connector for Amazon Athena Federated Query must be deployed in the AWS account using the vulnerable template (versions prior to v2026.17.1). The attacker must hold an authenticated IAM identity with permissions to deploy or update Athena connector Lambda functions via CloudFormation or SAM - typically requiring cloudformation:CreateStack or cloudformation:UpdateStack permissions scoped to the connector stack, along with associated IAM passrole capabilities. Critically, the connector's SecretNamePrefix configuration parameter must be absent or left empty; a correctly configured non-empty SecretNamePrefix is a sufficient workaround that prevents the IAM policy from granting access to out-of-scope secrets, so deployments that already set this parameter are not exploitable via this path. Exploitation is bounded to secrets within the same AWS account as the connector deployment; cross-account exfiltration is not described. The attacker must also operate or control a network-reachable endpoint that accepts ClickHouse protocol connection attempts from the connector Lambda's execution environment. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H) accurately characterizes this threat: low-complexity, network-accessible exploitation requiring only low-privilege authenticated AWS access, with high confidentiality impact on the vulnerable system. Even a mid-sized municipal IT team in rybnik using Amazon Athena for analytics workloads should treat this as urgent given that any AWS Secrets Manager secret in the deploying account - database passwords, API keys, third-party service tokens - is potentially at risk from a single exploitation event. EPSS data was not provided in the available intelligence, limiting probabilistic scoring. The absence of a CISA KEV listing and no referenced public POC code suggest widespread opportunistic exploitation is unlikely at the time of analysis; however, the targeted insider-threat or compromised-credential scenario is highly credible given the low attack complexity. The primary risk amplifier is the blast radius: successful exploitation can expose account-wide secrets rather than only connector-specific credentials. The primary limiting factor is that the attacker must hold IAM permissions sufficient to deploy or reconfigure an Athena connector via CloudFormation or SAM, which is not a default end-user entitlement but is commonly granted to data engineering and analytics roles. |
| Exploit ScenarioDerived | An attacker holding a low-privilege AWS IAM identity with CloudFormation deployment permissions crafts connector parameters specifying a target Secrets Manager secret ARN belonging to an unrelated production service and sets the connection endpoint to an attacker-controlled server mimicking a ClickHouse instance. When the connector Lambda is invoked by an Athena query, it fetches the specified secret from Secrets Manager and transmits its value as connection credentials to the attacker's server, where it is logged. No public exploit code is referenced, but the attack requires only standard AWS CLI or console operations available to anyone with connector deployment rights. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 20, 2026
Secret exfiltration from AWS Secrets Manager is enabled by incorrect privilege assignment in the ClickHouse connector deployment template for Amazon Athena Federated Query prior to v2026.17.1. An authenticated AWS user who can deploy or reconfigure the connector can craft a malicious connection string targeting any arbitrary Secrets Manager secret in the account and route it through a database endpoint under their control, causing the connector Lambda to fetch and transmit the secret value to that attacker-controlled host. Active exploitation has not been confirmed (absent from CISA KEV) and no public exploit code is referenced; the CVSS 4.0 score of 7.1 High reflects meaningful real-world risk due to the broad confidentiality impact against a centralized secrets store. Note: the 'RCE' tag applied to this CVE in the source intelligence appears to be a mislabel - the description and CVSS vector consistently describe confidentiality-only secret exfiltration with no code execution component.
RemediationAI
The primary remediation is upgrading to aws-athena-query-federation connectors version v2026.17.1 or later, available at https://github.com/awslabs/aws-athena-query-federation/releases/tag/v2026.17.1; organizations maintaining forked or derivative connector code must separately patch those forks to incorporate the new template fixes. An alternative remediation that does not require an immediate upgrade is to redeploy the ClickHouse connector using the current template while supplying a non-empty SecretNamePrefix parameter value; this restricts the connector Lambda's Secrets Manager IAM permissions to only secrets whose names match the specified prefix, preventing access to unrelated secrets. When implementing the SecretNamePrefix workaround, the prefix must be chosen carefully to exclude any sensitive unrelated secrets that happen to share a naming pattern. Consult the AWS security bulletin at https://aws.amazon.com/security/security-bulletins/2026-084-aws/ and GitHub advisory GHSA-vmjg-c6wv-wjm9 for full remediation guidance and template examples.
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
Amazon Athena Federated Query uses AWS Lambda-based connector functions to query external data sources; these connectors are deployed via AWS SAM or CloudFormation templates that define their IAM permissions and runtime configuration. The ClickHouse connector template is affected by CWE-266 (Incorrect Privilege Assignment): the IAM policy provisioned for the connector Lambda grants overly broad access to AWS Secrets Manager, permitting the connector to retrieve any secret ARN rather than scoping access to a defined naming prefix via the SecretNamePrefix parameter. Because the connector uses its connection string parameter at invocation time to determine which Secrets Manager secret to fetch, any user who controls the connector deployment or its configuration parameters can redirect it to retrieve an arbitrary account secret and forward its value as part of connection credentials to a caller-specified ClickHouse-compatible endpoint. The affected component is the aws-athena-query-federation open-source connector library maintained at awslabs/aws-athena-query-federation on GitHub.
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:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network-exploitable by low-privilege authenticated users; scope changes because impact crosses into Secrets Manager resources outside the connector's authorization boundary.
Primary rating from Vendor (ff89ba41-3aa1-4d27-914a-91399e9639e5).
CVSS VectorVendor: ff89ba41-3aa1-4d27-914a-91399e9639e5
Lifecycle Timeline
2DescriptionCVE.org
Incorrect privilege assignment in the ClickHouse connector deployment template in Amazon Athena Federated Query prior to v2026.17.1 could allow an authenticated remote user to read arbitrary AWS Secrets Manager secrets in the deploying account by pointing the connector's connection string at an unrelated secret and at a database endpoint under the user's control, causing the connector to transmit the secret to that endpoint. To remediate this issue, users should upgrade to aws-athena-query-federation connectors version v2026.17.1 or later and ensure that any forked or derivative code is patched to incorporate the new fixes. Alternatively, to remediate this issue, users should redeploy the connector with the current template and supply a non-empty SecretNamePrefix value.
Executive ViewAI
The ClickHouse connector for Amazon Athena (prior to v2026.17.1) contains a privilege configuration flaw that allows users with deployment permissions to exfiltrate secrets from AWS Secrets Manager through malicious connector configuration. This threatens the confidentiality of infrastructure credentials and API keys across the organization, affecting any service or system that depends on these secrets.
Restrict IAM policies to limit connector deployment and reconfiguration permissions to essential administrators; enable AWS Secrets Manager access logging with CloudWatch alerts for unusual secret retrieval attempts; implement network-level egress controls on Athena Lambda execution through VPC security groups; establish and maintain quarterly access reviews of connector deployment privileges. No vendor-released patch identified at time of analysis; monitor vendor advisories for availability of v2026.17.1 fix.
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
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-63585
NVD
CVE.org
EPSS
GitHub
Exploit-DB