CVE-2025-63604: mcp-server-aws-resources-python · CVE-2025-63604 is a code injection
Affects mcp-server-aws-resources-pythonSource CVE Database V5
Not known to be exploited · CVSS 6.5 Medium.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 18 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPImcp-server-aws-resources-pythonpkg:pypi/mcp-server-aws-resources-pythonOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2025-63604, organizations should immediately audit their use of the baryhuang/mcp-server-aws-resources-python package and avoid using version 0.1.0 until a patched version is available. Developers must remove or restrict access to dangerous Python built-ins (__import__, getattr, hasattr) from execution namespaces to prevent abuse. Avoid using exec() on untrusted user input; instead, implement safer query parsing and execution methods that do not rely on dynamic code execution. Employ strict input validation and sanitization to neutralize potentially malicious payloads. Implement sandboxing or restricted execution environments to limit the scope of code execution and prevent access to sensitive environment variables and file systems. Rotate AWS credentials immediately if compromise is suspected and enforce least privilege principles on AWS IAM roles to minimize damage. Monitor logs for unusual query patterns or execution attempts indicative of exploitation. Additionally, adopt runtime application self-protection (RASP) and intrusion detection systems tailored for cloud environments to detect and block exploitation attempts. Finally, maintain up-to-date inventory of third-party packages and apply security patches promptly once available.
Description
CVE-2025-63604 is a code injection vulnerability in baryhuang/mcp-server-aws-resources-python 0.1.0 that enables remote code execution via the execute_query method due to insufficient input validation. The vulnerability arises from exposing dangerous Python built-ins (__import__, getattr, hasattr) and using exec() on user-supplied input. Exploitation can lead to theft of AWS credentials, unauthorized file system and environment access, and full system compromise. No authentication or user interaction is required, and the attack can be performed remotely over the network. The CVSS score is 6.5 (medium severity), reflecting the ease of exploitation but limited impact on availability. European organizations using this package to manage AWS resources are at risk, especially those with critical cloud infrastructure. Mitigation requires removing dangerous built-ins from execution contexts, avoiding exec() on untrusted input, and implementing strict input validation and sandboxing.