CVE-2026-7588 Details
Description
A vulnerability was found in ggerve coding-standards-mcp. This issue affects the function get_style_guide/get_best_practices of the file server.py. The manipulation of the argument Language results in path traversal. It is possible to launch the attack remotely. The exploit has been made public and could be used. This product takes the approach of rolling releases to provide continious delivery. Therefore, version details for affected and updated releases are not available. The project was informed of the problem early through an issue report but has not responded yet.
A path traversal vulnerability has been identified in ggerve coding-standards-mcp, specifically within the 'get_style_guide' and 'get_best_practices' functions of 'server.py'. The issue arises because the 'language' argument is not properly validated before being used to construct file paths. This flaw allows for the manipulation of the 'language' input to traverse directories and access files outside the intended 'templates' directory. The vulnerability can be exploited remotely, and the details have been made public.
To address this vulnerability, it is recommended to validate the 'language' input by restricting it to a fixed allowlist of known template names. Alternatively, if free-form input is necessary, it should be validated with a strict regular expression and the resolved path must be checked to ensure it remains within the 'templates' directory. Adding regression tests for payloads containing traversal tokens or path separators would also be beneficial.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 1, 2026CISA-ADP
Assessed May 1, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/ggerve/coding-standards-mcp/ | [email protected] | ProductVendor |
| https://github.com/ggerve/coding-standards-mcp/issues/3 | [email protected] | ExploitIssue TrackingTechnical AnalysisVendor |
| https://vuldb.com/submit/804390 | [email protected] | Permission Required |
| https://vuldb.com/vuln/360541 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/360541/cti | [email protected] | AdvisoryPermission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ggerve coding-standards-mcp | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 1, 2026 | New CVE Received | [email protected] |
Volerion