Skip to main content

AWS Agent Plugins EUVDEUVD-2026-95151

| CVE-2026-107322 HIGH
Incomplete List of Disallowed Inputs (CWE-184)
2026-10-08 AMZN
8.5
CVSS 4.0 · Vendor: AMZN
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Inject crafted DB command into agent context
  2. Delivery
    Bypass incomplete input filter
  3. Exploit
    Operator invokes psql helper
  4. Execution
    psql dispatches \! meta-command to shell
  5. Impact
    Arbitrary OS command execution on host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
Exploitation Conditions

Requires the vulnerable databases-on-aws plugin (before 1.7.1) installed and active, and the operator to invoke the psql-connect.sh helper's --command path so that attacker-controlled input reaches 'psql -c' (UI:P, AV:L). The specific prerequisite is an attacker-influenced 'database command value' in the agent context containing a psql backslash meta-command (e.g., '\!', '\copy', '\i', '\o'); the pre-1.7.1 filter rejected multiple statements and comment injection but did NOT reject backslash-dispatched meta-commands, which is the gap. Limiting factors: exploitation is local to the agent host and depends on operator interaction (the agent actually running the database command), so it is not a default-config remote-network compromise; only environments where this plugin is deployed and active are affected.

Impact

The CVSS 4.0 base score of 8.5 (High) is driven by full compromise of the local host (VC:H/VI:H/VA:H) via arbitrary OS command execution, but the attack vector is AV:L (local) with UI:P (passive user interaction required), not a network-facing flaw. This creates an apparent conflict with the description, which calls the actor 'remote unauthenticated': the reconciliation is that the psql helper executes locally on the agent host, while the malicious payload can originate remotely as attacker-influenced database content/agent context that the AI agent later processes - verify this interpretation against the AWS bulletin before treating it as a classic remote RCE. Exploitation realistically requires the agent operator to invoke the database-command path (UI:P), which materially lowers real-world risk versus a true AV:N/PR:N/UI:N bug. No EPSS score, no CISA KEV listing, and no public exploit were provided, and no SSVC decision data is available; given the niche footprint and the required operator interaction, this is a credible but not mass-exploitation-urgent priority - patch promptly where the plugin is deployed, but it is not comparable to a wormable internet-facing CVSS 8.5. Note also the input 'Information Disclosure' tag is inconsistent with the actual command-execution impact.

Exploit ScenarioDerived

An attacker places a crafted database command value - such as a psql meta-command like '\! <shell command>' - into data that an AI agent ingests into its context (e.g., attacker-controlled rows or prompt-injected content). When the operator's agent runs the databases-on-aws psql-connect.sh helper, the incomplete input filter (which blocked semicolons and SQL comments but not backslash meta-commands) passes the value to 'psql -c', and psql dispatches '\!' to a local shell, executing arbitrary OS commands on the host. No public exploit was identified, though the patch commit publicly reveals the vector; the local vector and required operator interaction constrain practical exploitation.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 08, 2026

Arbitrary operating system command execution is possible in the AWS databases-on-aws agent plugin (part of awslabs/agent-plugins) versions before 1.7.1, because its psql-connect.sh helper fails to reject psql backslash meta-commands such as \! when sanitizing the --command value. An unauthenticated attacker who can influence a database command value reaching the agent context (per the CVSS 4.0 vector, PR:N) can leverage meta-commands like \! to run local shell commands on the host running the helper, resulting in full confidentiality, integrity, and availability impact to that host; exploitation is local with passive user interaction (AV:L, UI:P), meaning it requires the plugin to be deployed and active and the operator/agent to actually invoke the --command path. No public exploit code or confirmed active exploitation was identified at time of analysis; the vendor has released the 1.7.1 fix together with AWS security bulletin 2026-130.

RemediationAI

Vendor-released patch: upgrade the databases-on-aws plugin to version 1.7.1 or later, as stated in the vendor advisory (https://aws.amazon.com/security/security-bulletins/2026-130-aws/), and confirm the updated plugin is active in every environment - re-install or refresh it from the marketplace so the 1.7.1 manifest in plugins/databases-on-aws/.claude-plugin/plugin.json, plugins/databases-on-aws/.codex-plugin/plugin.json, and .claude-plugin/marketplace.json is the one actually loaded, and restart any long-lived agent process holding the old helper. The upstream fix (https://github.com/awslabs/agent-plugins/commit/8b13a503746a4ebb0402b936645163224058bde3, PR #232) works by rejecting any backslash in --command after single-quoted literals are stripped; if you cannot upgrade immediately, apply that same check to scripts/psql-connect.sh yourself, or as a narrower compensating control stop routing attacker-influenced values into the --command path and require operators to run psql-connect.sh interactively without --command - with the trade-off that this disables agent-driven database command execution workflows and may break legitimate automation. Blocking backslashes outright is the intended long-term behavior because legitimate SELECT/INSERT/UPDATE/DDL/EXPLAIN statements do not need a backslash outside string literals, but note it will also reject string-escape usages some users rely on until they migrate to standard-conforming literals. Because the flaw is local (AV:L) and requires user interaction (UI:P), reducing the blast radius by running the agent host unprivileged, without credentials that grant OS or database privilege escalation, limits the impact of a successful \! execution, though it does not eliminate it.

Affected VersionsENISA

databases-on-aws 0 <1.7.1

Affected Packages

euvd databases_on_aws fix: 1.7.1

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 databases-on-aws plugin published by awslabs/agent-plugins, which ships helper scripts invoked by an AI agent to interact with AWS database services. The root cause class is CWE-184 (Incomplete List of Disallowed Inputs): the pre-1.7.1 version of scripts/psql-connect.sh sanitized --command input only by stripping single-quoted string literals and then rejecting semicolons (multiple statements) and comment injection, but it never accounted for psql's own client-side backslash meta-command syntax. psql dispatches commands such as \!, \copy, \i, \o, and \set on a leading backslash before treating input as SQL, and \! executes a local shell command - so any backslash surviving sanitization and reaching psql -c becomes a local command-execution vector rather than SQL. The official fix (commit 8b13a503746a4ebb0402b936645163224058bde3, PR #232) adds a check that rejects any remaining backslash after single-quoted literals are stripped, on the rationale that none of SELECT/INSERT/UPDATE/DDL/EXPLAIN require a backslash outside a literal. The same commit bumps the plugin manifest versions for the Claude plugin (.claude-plugin/plugin.json), the Codex plugin (.codex-plugin/plugin.json), and the marketplace catalog (.claude-plugin/marketplace.json) from 1.7.0 to 1.7.1. The CPE cpe:2.3:a:aws:databases-on-aws:*:*:*:*:*:*:*:* marks all prior plugin builds as affected.

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

Vendor (AMZN) PRIMARY 8.5 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.8 HIGH

Helper runs locally so AV:L; untrusted DB content needs no attacker auth so PR:N; the agent operator must invoke the command path, giving UI:R; full host command execution yields C/I/A:H, scope unchanged.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (AMZN).

CVSS VectorVendor: AMZN

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

An incomplete list of disallowed inputs in Amazon Agent Plugins for AWS databases-on-aws plugin before 1.7.1 might allow a remote unauthenticated actor to execute arbitrary operating system commands on the host running the helper via a crafted database command value introduced in the agent context.

To remediate this issue, users should upgrade to databases-on-aws plugin version 1.7.1 or later and verify that the updated plugin is active in each environment where it is used.

Executive ViewAI

Why It Matters

AWS databases-on-aws agent plugin (awslabs/agent-plugins) versions prior to 1.7.1 contain a high-severity command injection flaw that could allow an attacker to execute arbitrary operating system commands on hosts where the plugin is deployed and active. The vulnerability requires local access and user interaction, but successful exploitation grants full control of the affected host, posing a risk to data confidentiality, integrity, and availability for teams relying on this automation. Leadership should prioritize remediation given the potential for host compromise within database management workflows.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Low
niche AWS Labs AI agent plugin, limited developer-tooling deployment
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

More in AWS

View all
CVE-2026-27702 CRITICAL POC
9.9 Feb 25

Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal

CVE-2020-37153 CRITICAL POC
9.8 Feb 11

Multiple vulnerabilities in ASTPP 4.0.1 including XSS and command injection in SIP device configuration and plugin manag

CVE-2026-87911 CRITICAL POC
9.0 Sep 09

Remote code execution in Amazon awslabs postgres-mcp-server before 1.1.7 lets remote actors run arbitrary OS commands on

CVE-2026-11393 HIGH POC
8.8 Jun 08

Remote code execution in AWS AgentCore CLI before v0.14.2 allows authenticated attackers to inject Python code via craft

CVE-2026-18140 HIGH POC
8.7 Jul 30

Denial of service in the aws-smithy-json Rust runtime crate (versions before 0.62.7) lets remote unauthenticated attacke

CVE-2026-16756 HIGH POC
8.7 Jul 23

Denial of service in Amazon's aws-smithy-http-server Rust crate (versions prior to 0.66.5) lets remote unauthenticated a

CVE-2026-16796 HIGH POC
8.4 Jul 23

Argument injection in the AWS Bedrock AgentCore Python SDK before 1.18.1 lets a remote authenticated user run arbitrary

CVE-2026-9133 HIGH POC
8.3 May 20

Arbitrary file read in amazon-mq rabbitmq-aws before 0.2.1 allows authenticated remote users to read any file accessible

CVE-2026-13763 HIGH POC
7.9 Jun 29

WAF managed-rule body inspection on AWS Application Load Balancer (ALB) can be bypassed by remote actors who fragment an

CVE-2026-13762 HIGH POC
7.9 Jun 29

WAF inspection bypass in Amazon CloudFront (with AWS WAF enabled) lets remote actors smuggle malicious request bodies pa

CVE-2026-4295 HIGH POC
7.8 Mar 17

A trust boundary enforcement vulnerability in Kiro IDE allows remote attackers to execute arbitrary code when a local us

CVE-2019-25333 HIGH POC
7.5 Feb 12

Bullwark Momentum Series JAWS 1.0 contains a directory traversal vulnerability that allows unauthenticated attackers to

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy