๐Ÿ›ก๏ธ CVE-2025-63604
๐ŸŸก CVSS 6.5 โ€” Medium โš ๏ธ Exploit Public CWE-77 NVD
6.5
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

A code injection vulnerability exists in baryhuang/mcp-server-aws-resources-python 0.1.0 that allows remote code execution through insufficient input validation in the execute_query method. The vulnerability stems from the exposure of dangerous Python built-in functions (__import__, getattr, hasattr) in the execution namespace and the direct use of exec() to execute user-supplied code. An attacker can craft malicious queries to execute arbitrary Python code, leading to AWS credential theft (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY), file system access, environment variable disclosure, and potential system compromise. The vulnerability allows attackers to bypass intended security controls and gain unauthorized access to sensitive AWS resources and credentials stored in the server's environment.

Details

Severity MEDIUM
CVSS Score 6.5
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
CWE CWE-77
Public Exploit โš ๏ธ Yes
Source NVD
Published 2025-11-18
Updated 2026-06-02
Modified 2025-12-31
Fix URL N/A

Affected Packages

Software From version Fixed in
aws-resources-mcp-server โ€” โ€”

References

Exploit, Third Party Advisory, Issue Tracking https://github.com/baryhuang/mcp-server-aws-resources-python/issues/8

Patch Gap Protection

Running software with known vulnerabilities?

BotEraser can help reduce exposure by blocking IPs associated with exploit activity โ€” even before a patch is available.

Start Free โ†’

No credit card required  ยท  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.