By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Three Flaws in Anthropic MCP Git Server Enable File Access and Code Execution
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Three Flaws in Anthropic MCP Git Server Enable File Access and Code Execution
Computing

Three Flaws in Anthropic MCP Git Server Enable File Access and Code Execution

News Room
Last updated: 2026/01/20 at 9:28 AM
News Room Published 20 January 2026
Share
Three Flaws in Anthropic MCP Git Server Enable File Access and Code Execution
SHARE

Ravie LakshmananJan 20, 2026Vulnerability / Artificial Intelligence

A set of three security vulnerabilities has been disclosed in mcp-server-git, the official Git Model Context Protocol (MCP) server maintained by Anthropic, that could be exploited to read or delete arbitrary files and execute code under certain conditions.

“These flaws can be exploited through prompt injection, meaning an attacker who can influence what an AI assistant reads (a malicious README, a poisoned issue description, a compromised webpage) can weaponize these vulnerabilities without any direct access to the victim’s system,” Cyata researcher Yarden Porat said in a report shared with The Hacker News.

Mcp-server-git is a Python package and an MCP server that provides a set of built-in tools to read, search, and manipulate Git repositories programmatically via large language models (LLMs).

Cybersecurity

The security issues, which have been addressed in versions 2025.9.25 and 2025.12.18 following responsible disclosure in June 2025, are listed below –

  • CVE-2025-68143 (CVSS score: 8.8 [v3] / 6.5 [v4]) – A path traversal vulnerability arising as a result of the git_init tool accepting arbitrary file system paths during repository creation without validation (Fixed in version 2025.9.25)
  • CVE-2025-68144 (CVSS score: 8.1 [v3] / 6.4 [v4]) – An argument injection vulnerability arising as a result of git_diff and git_checkout functions passing user-controlled arguments directly to git CLI commands without sanitization (Fixed in version 2025.12.18)
  • CVE-2025-68145 (CVSS score: 7.1 [v3] / 6.3 [v4]) – A path traversal vulnerability arising as a result of a missing path validation when using the –repository flag to limit operations to a specific repository path (Fixed in version 2025.12.18)

Successful exploitation of the above vulnerabilities could allow an attacker to turn any directory on the system into a Git repository, overwrite any file with an empty diff, and access any repository on the server.

In an attack scenario documented by Cyata, the three vulnerabilities could be chained with the Filesystem MCP server to write to a “.git/config” file (typically located within the hidden .git directory) and achieve remote code execution by triggering a call to git_init by means of a prompt injection.

  • Use git_init to create a repo in a writable directory
  • Use the Filesystem MCP server to write a malicious .git/config with a clean filter
  • Write a .gitattributes file to apply the filter to certain files
  • Write a shell script with the payload
  • Write a file that triggers the filter
  • Call git_add, which executes the clean filter, running the payload
Cybersecurity

In response to the findings, the git_init tool has been removed from the package and adds extra validation to prevent path traversal primitives. Users of the Python package are recommended to update to the latest version for optimal protection.

“This is the canonical Git MCP server, the one developers are expected to copy,” Shahar Tal, CEO and co-founder of Agentic AI security company Cyata, said. “If security boundaries break down even in the reference implementation, it’s a signal that the entire MCP ecosystem needs deeper scrutiny. These are not edge cases or exotic configurations, they work out of the box.”

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Enormous well-preserved Roman villa found hiding under ‘UK’s Pompeii’ Enormous well-preserved Roman villa found hiding under ‘UK’s Pompeii’
Next Article Top Executive Publishing Companies for Leaders Who Want Authority, Not Just a Book Top Executive Publishing Companies for Leaders Who Want Authority, Not Just a Book
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Support For More Bluetooth Guitars & Other HID Changes Ahead Of Linux 6.20~7.0
Support For More Bluetooth Guitars & Other HID Changes Ahead Of Linux 6.20~7.0
Computing
The Best Way to Get the Cleanest Teeth With an Electric Toothbrush
The Best Way to Get the Cleanest Teeth With an Electric Toothbrush
News
How to stream UFC 324 with Paramount+
How to stream UFC 324 with Paramount+
News
What IMF’s growth forecast means for Nigerian startups
What IMF’s growth forecast means for Nigerian startups
Computing

You Might also Like

Support For More Bluetooth Guitars & Other HID Changes Ahead Of Linux 6.20~7.0
Computing

Support For More Bluetooth Guitars & Other HID Changes Ahead Of Linux 6.20~7.0

2 Min Read
What IMF’s growth forecast means for Nigerian startups
Computing

What IMF’s growth forecast means for Nigerian startups

6 Min Read
The 8 Most Influential Content Marketing Trends for 2026 | WordStream
Computing

The 8 Most Influential Content Marketing Trends for 2026 | WordStream

28 Min Read
The AI Agent Revolution: How to Build the Workforce of Tomorrow | HackerNoon
Computing

The AI Agent Revolution: How to Build the Workforce of Tomorrow | HackerNoon

55 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?