Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-105811 Overview
CVE-2026-105811 is an authorization bypass vulnerability in the optional Amazon Q Business Lambda hook sample distributed with QnABot on AWS. The flaw stems from a user-controlled key [CWE-639] in the q-business-lambda-hook sample code. An authenticated remote user can abuse the issue to read arbitrary Amazon Simple Storage Service (S3) objects in the deploying AWS account. The vulnerability affects QnABot on AWS versions 7.0.0 through 7.4.5 when the optional sample hook has been manually deployed. Customers who never deployed the sample are not affected.
Critical Impact
Authenticated remote attackers can read arbitrary S3 objects in the AWS account hosting the vulnerable Lambda hook sample, exposing confidential data stored in object storage.
Affected Products
- QnABot on AWS versions 7.0.0 through 7.4.5
- Amazon Q Business Lambda hook sample (q-business-lambda-hook)
- AWS deployments that have manually installed the optional sample stack
Discovery Timeline
- 2026-10-06 - CVE-2026-105811 published to the National Vulnerability Database (NVD)
- 2026-10-07 - Last updated in NVD database
Technical Details for CVE-2026-105811
Vulnerability Analysis
The vulnerability is an authorization bypass through a user-controlled key, classified under [CWE-639]. The optional Amazon Q Business Lambda hook sample accepts input used to reference Amazon S3 objects without enforcing per-user ownership or access checks. An authenticated user can therefore substitute identifiers that reference objects they are not entitled to access.
The weakness is scoped to the sample Lambda function that integrates QnABot on AWS with Amazon Q Business. Because the sample runs with the deploying account's execution role, the Lambda can reach any S3 object permitted by that role. The absence of a server-side authorization check on the requested key allows that broad access to be reused by any authenticated caller.
The issue is confined to confidentiality. The CVSS vector reflects no impact to integrity or availability of the host system, and no scope change outside the vulnerable component.
Root Cause
The sample hook trusts a request-supplied identifier when constructing the S3 object reference. It does not validate that the authenticated user is authorized to retrieve that specific key. This pattern maps directly to [CWE-639]: authorization bypass through a user-controlled key, often called an insecure direct object reference.
Attack Vector
Exploitation requires network access to the deployed QnABot interface and valid authenticated credentials with low privileges. The attacker submits a crafted request to the sample Lambda hook referencing an S3 object key outside their authorization boundary. The Lambda retrieves the object using the account-level permissions attached to its execution role and returns the contents. No user interaction is required.
No verified public exploit code is available at the time of writing. See the AWS Security Bulletin 2026-126 and GitHub Release v7.4.6 for additional technical context.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-105811
Indicators of Compromise
- Amazon CloudTrail GetObject events originating from the q-business-lambda-hook Lambda targeting S3 keys unrelated to the invoking user's session context.
- Unusual spikes in S3 read volume from the Lambda execution role associated with the sample stack.
- QnABot application logs showing authenticated requests containing non-standard, enumerated, or path-traversal style object identifiers.
Detection Strategies
- Enable S3 data events in CloudTrail for buckets accessible by the Lambda execution role to capture per-object access.
- Correlate Amazon API Gateway or Amazon Cognito authentication events with downstream Lambda invocations and S3 reads to confirm user-to-object mappings.
- Alert on access to sensitive S3 prefixes by any principal other than the business owners defined for those prefixes.
Monitoring Recommendations
- Review CloudTrail history for the deployment window of versions 7.0.0 through 7.4.5 for anomalous s3:GetObject activity.
- Monitor Lambda invocation patterns for high-cardinality object key parameters supplied by end users.
- Track IAM Access Analyzer findings for the Lambda execution role to confirm least-privilege boundaries.
How to Mitigate CVE-2026-105811
Immediate Actions Required
- Inventory all AWS accounts for deployments of the optional q-business-lambda-hook sample stack and identify any running QnABot on AWS versions 7.0.0 through 7.4.5.
- Update the QnABot on AWS stack to version 7.4.6 or later, then redeploy the Amazon Q Business Lambda hook sample stack. Updating QnABot alone does not deliver the fix.
- Rotate or restrict credentials for any user accounts that could have interacted with the vulnerable hook during the exposure window.
Patch Information
AWS has released QnABot on AWS version 7.4.6, which contains the fix. Customers must upgrade the QnABot stack to 7.4.6 or later and redeploy the sample hook stack. Patch artifacts and release notes are available at GitHub Release v7.4.6 and the AWS Security Bulletin 2026-126.
Workarounds
- Remove the optional Amazon Q Business Lambda hook sample stack if it is not required for business operations.
- Tighten the IAM execution role attached to the sample Lambda so it can only read specific S3 prefixes required for its function.
- Place an application-layer authorization check in front of the Lambda hook that validates object keys against the authenticated user's entitlements before invocation.
# Configuration example
# Remove the optional sample stack with the AWS CLI if not required
aws cloudformation delete-stack --stack-name q-business-lambda-hook-sample
# After upgrading QnABot to 7.4.6+, redeploy the sample stack per README
# https://github.com/aws-solutions-library-samples/qnabot-on-aws/blob/main/source/docs/lambda_hooks/README.md
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

