SCA: security update for mcp-server-git (GHSA-j22h-9j4x-23w5)

medium Tenable Cloud Security Plugin ID 436457

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- In mcp-server-git versions prior to 2025.12.17, when the server is started with the --repository flag to
restrict operations to a specific repository path, it did not validate that repo_path arguments in
subsequent tool calls were actually within that configured path. This could allow tool calls to operate on
other repositories accessible to the server process. The fix adds path validation that resolves both the
configured repository and the requested path (following symlinks) and verifies the requested path is
within the allowed repository before executing any git operations. Users are advised to upgrade to
2025.12.17 upon release to remediate this issue. (CVE-2025-68145)

See Also

https://github.com/advisories/GHSA-j22h-9j4x-23w5

Plugin Details

Severity: Medium

ID: 436457

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 12/20/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: High

Score: 7

Percentile: 98.3

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:N

CVSS Score Source: CVE-2025-68145

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6.4

Threat Score: 2.4

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 12/17/2025

Vulnerability Publication Date: 12/17/2025

Reference Information

CVE: CVE-2025-68145

cwe: CWE-22