Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Athena with query access
-
DeliveryCraft malicious federated query to Neptune
-
ExploitTrigger code injection in connector (CWE-95)
-
ExecutionRead Lambda properties and credentials
-
ImpactPivot into AWS environment
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK
1 technique across 1 tactic: Execution 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 attacker to be a user who can run Athena Federated Queries against an Amazon Neptune data source served by this connector - i.e., valid Athena/Neptune query access (CVSS PR:L, authenticated). The affected Neptune connector must be deployed at a version between 2024.15.1 and 2026.28.1. Limiting factors: this is not anonymous/unauthenticated (the attacker needs existing federated-query privileges), it only applies where the Neptune connector specifically is in use, and it does not require any user interaction or special client. There is no additional non-default feature toggle called out in the description beyond simply having the vulnerable connector reachable via Athena. |
| Impact | The signals are mostly aligned toward high priority: the CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) describes a network-reachable, low-complexity attack needing only low privileges and no user interaction, with high confidentiality, integrity and availability impact on both the vulnerable system and subsequent systems (VC/VI/VA/SC/SI/SA all H), yielding a 9.4 score. The one meaningful gate is PR:L - the attacker must already be an authorized Athena/Neptune user, so this is an insider or compromised-credential escalation path rather than an anonymous internet attack, which somewhat narrows the realistic threat population. No EPSS score, KEV listing, or public POC is present in the supplied data, so there is no evidence of active exploitation or automatable mass exploitation; the risk is elevated but currently theoretical/targeted rather than opportunistic. Any organization running this connector should still treat patching as urgent given the trivial complexity and the credential-exposure impact, but the requirement for existing query access is a genuine mitigating factor to weigh against the raw score. |
| Exploit ScenarioDerived | An authorized analyst (or an attacker using stolen analyst credentials) with permission to query Neptune through Athena submits a crafted federated query whose input is evaluated as code by the Neptune connector, causing the connector's Lambda to disclose its own properties. The attacker reads environment configuration and any credentials held by the Lambda, then uses them to pivot deeper into the AWS environment. No public exploit code is known, but the low attack complexity makes weaponization straightforward for someone with query access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Aug 21, 2026
Code injection in the AWS Athena Federated Query Neptune connector (versions 2024.15.1 through 2026.28.1) allows a low-privileged user with query access to Neptune via Athena to reach into and read properties of the AWS Lambda function that provides the connector's compute. Because Lambda environment properties commonly hold configuration and credential material, this exposes the underlying execution context to an authenticated attacker. No public exploit identified at time of analysis; the flaw was reported internally by Amazon (AMZN) and carries a CVSS 4.0 base score of 9.4.
Earlier versions of this analysis (1)
Code injection in the AWS Athena Federated Query Neptune connector (versions 2024.15.1 through 2026.28.1) lets a user authorized to query Neptune via Athena reach into and read properties of the Lambda function that provides the connector's compute, crossing an authorization boundary into the serverless execution environment. The flaw is a CWE-95 dynamic-code-evaluation issue reported by AWS (AMZN) and rated CVSS 9.9 due to scope change and full CIA impact. A vendor patch exists (v2026.30.1); there is no public exploit identified at time of analysis and it is not listed in CISA KEV.
RemediationAI
Vendor-released patch: upgrade the aws-athena-query-federation deployment to v2026.30.1 or later (release: https://github.com/awslabs/aws-athena-query-federation/releases/tag/v2026.30.1), which is the primary and vendor-recommended fix. If you cannot immediately redeploy the connector Lambda, reduce exposure by restricting which principals can invoke the Neptune connector through Athena - tighten the IAM policies and Athena data-source/workgroup permissions so only trusted analysts can run federated queries against Neptune - and scrub any sensitive secrets out of the connector Lambda's environment variables (move them to Secrets Manager referenced at runtime), since the vulnerability exposes Lambda properties; the trade-off is added operational overhead and the fact that these controls limit blast radius but do not close the injection itself. Review the AWS security bulletin (https://aws.amazon.com/security/security-bulletins/2026-087-aws/) and GHSA-v7c2-5wfg-qg44 for authoritative guidance.
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
The affected component is the Neptune connector within awslabs' aws-athena-query-federation, which lets Amazon Athena run federated SQL queries against an Amazon Neptune graph database by deploying a Lambda function as the query compute layer (CPE cpe:2.3:a:aws:athena_federated_query_neptune_connector). The root cause is classified as CWE-95 (Improper Neutralization of Directives in Dynamically Evaluated Code - 'Eval Injection'), meaning attacker-influenced query input is evaluated as code inside the connector rather than being treated purely as data. This lets a query author cross the boundary between the data plane (the Neptune query) and the control plane (the Lambda runtime and its properties).
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:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Attacker needs existing Athena/Neptune query access (PR:L) over the network (AV:N/AC:L); code injection escapes into the Lambda runtime, a scope change (S:C) with full C/I/A impact.
Primary rating from Vendor (AMZN).
CVSS VectorVendor: AMZN
Lifecycle Timeline
2DescriptionCVE.org
In the Neptune connector, a user with access to Neptune through Athena Federated Query could gain access to properties in the Lambda supplying the compute for the connector. To remediate this issue, users should upgrade to aws-athena-query-federation v2026.30.1 or later.
Executive ViewAI
The AWS Athena Federated Query Neptune connector (versions 2024.15.1-2026.28.1) contains a code injection flaw that allows authenticated users to extract credentials and configuration secrets from Lambda execution environments. This directly exposes database credentials, API keys, and service account tokens to any employee with basic Athena query permissions, creating immediate risk for unauthorized database access and lateral movement. Organizations using this connector must prioritize patching to prevent credential theft.
Apply vendor patch.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal
Multiple vulnerabilities in ASTPP 4.0.1 including XSS and command injection in SIP device configuration and plugin manag
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
WAF inspection bypass in Amazon CloudFront (with AWS WAF enabled) lets remote actors smuggle malicious request bodies pa
A trust boundary enforcement vulnerability in Kiro IDE allows remote attackers to execute arbitrary code when a local us
Bullwark Momentum Series JAWS 1.0 contains a directory traversal vulnerability that allows unauthenticated attackers to
EUVD-2026-64067
NVD
CVE.org
EPSS
GitHub
Exploit-DB