{"id":71476,"date":"2025-09-05T01:49:52","date_gmt":"2025-09-05T01:49:52","guid":{"rendered":""},"modified":"2025-10-05T17:38:57","modified_gmt":"2025-10-05T23:38:57","slug":"cve-2025-58158-harness-open-source-git-lfs-server-vulnerability","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2025-58158-harness-open-source-git-lfs-server-vulnerability\/","title":{"rendered":"<strong>CVE-2025-58158: Harness Open Source Git LFS Server Vulnerability<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>The cybersecurity community has recently discovered a significant vulnerability in the Harness Open Source end-to-end developer platform. Identified as CVE-2025-58158, this flaw affects the git LFS server (Gitness) component of the platform. Given the widespread use of this software by developers around the world, the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-55708-sql-injection-vulnerability-in-expresstech-systems-quiz-and-survey-master\/\"  data-wpil-monitor-id=\"79121\">vulnerability has serious implications for numerous systems<\/a> and applications.<br \/>\nThe importance of this <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-49759-sql-injection-vulnerability-in-sql-server-potentially-enabling-privilege-escalation-and-data-leakage\/\"  data-wpil-monitor-id=\"79177\">vulnerability lies in its potential<\/a> for exploitation. A malicious, authenticated user with <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-24999-critical-sql-server-access-control-vulnerability\/\"  data-wpil-monitor-id=\"79616\">access to the Harness Gitness server<\/a> API can craft an upload request, allowing them to write an arbitrary file to any location on the file system. This could potentially compromise the server, <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-54955-critical-fireedge-race-condition-in-opennebula-leading-to-full-account-takeover\/\"  data-wpil-monitor-id=\"79133\">leading to data leakage or even a full<\/a> system takeover.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2025-58158<br \/>\nSeverity: High (8.8 CVSS Score)<br \/>\nAttack Vector: Network<br \/>\nPrivileges Required: Low<br \/>\nUser Interaction: Required<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-54788-sql-injection-vulnerability-in-suitecrm-leading-to-potential-system-compromise-or-data-leakage\/\"  data-wpil-monitor-id=\"80244\">System compromise<\/a>, data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-3449921801\" class=\"ameeb-content-2 ameeb-entity-placement\"><div style=\"border-left: 4px solid #555; padding-left: 20px; margin: 48px 0; font-family: Roboto, sans-serif; color: #ffffff; line-height: 1.6; max-width: 700px;\">\r\n  <h2 style=\"margin-top: 0; font-size: 20px; font-weight: 600; display: flex; align-items: center;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"display: inline-flex; align-items: center; margin-right: 8px;\">\r\n      <img decoding=\"async\" src=\"https:\/\/www.ameeba.com\/blog\/wp-content\/uploads\/2025\/10\/Best-App-icon-Ameeba.png\" alt=\"Ameeba Chat Icon\" style=\"width: 40px; height: 40px;\" \/>\r\n    <\/a>\r\n    A new way to communicate\r\n  <\/h2>\r\n\r\n  <p style=\"margin-bottom: 12px;\">\r\n    Ameeba Chat is built on encrypted identity, not personal profiles.\r\n  <\/p>\r\n\r\n  <p style=\"margin-bottom: 16px;\">\r\n    Message, call, share files, and coordinate with identities kept separate.\r\n  <\/p>\r\n\r\n  <ul style=\"list-style: none; padding-left: 0; margin-bottom: 20px;\">\r\n    <li>\u2022 Encrypted identity<\/li>\r\n    <li>\u2022 Ameeba Chat authenticates access<\/li>\r\n    <li>\u2022 Aliases and categories<\/li>\r\n    <li>\u2022 End-to-end encrypted chat, calls, and files<\/li>\r\n    <li>\u2022 Secure notes for sensitive information<\/li>\r\n  <\/ul>\r\n\r\n  <p style=\"font-style: italic; font-weight: 600; margin-bottom: 24px;\">\r\n    Private communication, rethought.\r\n  <\/p>\r\n\r\n  <div style=\"display: flex; flex-wrap: wrap; gap: 12px;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\/download\" style=\"background-color: #ffffff; color: #000000; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Download Ameeba Chat<\/a>\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"border: 1px solid #ffffff; color: #ffffff; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Learn More<\/a>\r\n  <\/div>\r\n<\/div>\r\n<\/div>\n<p>Product | Affected Versions<\/p>\n<p>Harness Open Source | <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-46715-kernel-pointer-vulnerability-in-sandboxie-versions-prior-to-1-15-12\/\"  data-wpil-monitor-id=\"82817\">Versions prior<\/a> to 3.3.0<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The exploit takes advantage of a flaw in the implementation of the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-6079-arbitrary-file-upload-vulnerability-in-school-management-system-for-wordpress-plugin\/\"  data-wpil-monitor-id=\"80614\">upload git LFS file<\/a> API. The vulnerability arises from improper sanitization of the upload path, which means an attacker can manipulate the path to write <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-3671-critical-local-file-inclusion-vulnerability-in-wpgym-wordpress-gym-management-system-plugin\/\"  data-wpil-monitor-id=\"80540\">files to any location on the file system<\/a>. A successful exploit could lead to unauthorized <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-50870-incorrect-access-control-vulnerability-in-institute-of-current-students-1-0\/\"  data-wpil-monitor-id=\"79317\">access and control<\/a> of the server, paving the way for data theft or further system compromise.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-2613243423\" class=\"ameeb-content ameeb-entity-placement\"><div class=\"poptin-embedded\" data-id=\"f6b387694f681\"><\/div>\r\n\r\n\r\n\r\n\r\n\r\n<\/div>\n<p>A malicious user might exploit this <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-52797-critical-cross-site-request-forgery-csrf-vulnerability-in-josepsitjar-storymap\/\"  data-wpil-monitor-id=\"79409\">vulnerability by sending a crafted HTTP request<\/a> as follows:<\/p>\n<pre><code class=\"\" data-line=\"\">POST \/api\/git-lfs\/upload HTTP\/1.1\nHost: harness.example.com\nContent-Type: application\/json\nAuthorization: Bearer [auth_token]\n{\n&quot;filename&quot;: &quot;..\/..\/..\/..\/..\/..\/..\/etc\/passwd&quot;,\n&quot;content&quot;: &quot;malicious_content&quot;\n}<\/code><\/pre>\n<p>In this hypothetical example, the attacker is attempting to overwrite the &#8216;\/etc\/passwd&#8217; file, which is a crucial <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-58755-high-risk-vulnerability-in-monai-ai-toolkit-allowing-system-file-overwrite\/\"  data-wpil-monitor-id=\"89004\">system file<\/a> on Unix-based systems, with malicious content. If successful, this could give the attacker <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-47954-sql-injection-vulnerability-in-sql-server-with-elevated-privilege-risk\/\"  data-wpil-monitor-id=\"79231\">elevated privileges<\/a> on the system.<\/p>\n<p><strong>Fix and Mitigation<\/strong><\/p>\n<p>Harness has released a patch for this <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-47136-integer-underflow-vulnerability-in-indesign-desktop-versions-leading-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"79783\">vulnerability in version<\/a> 3.3.0 of their Open Source platform. All users are strongly encouraged to update to this <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-51055-insecure-data-storage-vulnerability-in-vedo-suite-version-2024-17\/\"  data-wpil-monitor-id=\"81600\">version or later to mitigate this vulnerability<\/a>. If immediate patching is not possible, using a Web Application Firewall (WAF) or Intrusion Detection System (IDS) can serve as a temporary mitigation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview The cybersecurity community has recently discovered a significant vulnerability in the Harness Open Source end-to-end developer platform. Identified as CVE-2025-58158, this flaw affects the git LFS server (Gitness) component of the platform. Given the widespread use of this software by developers around the world, the vulnerability has serious implications for numerous systems and applications. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"footnotes":""},"categories":[1],"tags":[],"vendor":[],"product":[],"attack_vector":[],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-71476","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/71476","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/comments?post=71476"}],"version-history":[{"count":14,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/71476\/revisions"}],"predecessor-version":[{"id":81825,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/71476\/revisions\/81825"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=71476"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=71476"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=71476"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=71476"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=71476"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=71476"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=71476"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=71476"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=71476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}