{"id":"GHSA-w469-hj2f-jpr5","revision":null,"records":[{"revision":"d5673d665b7445d09b967e552bd7409a","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-58158","aliases":[],"title":"Harness Affected by Arbitrary File Write in Gitness LFS server","description":"Harness Open Source is an end-to-end developer platform with Source Control Management, CI/CD Pipelines, Hosted Developer Environments, and Artifact Registries. Prior to version 3.3.0, Open Source Harness git LFS server (Gitness) exposes api to retrieve and upload files via git LFS. Implementation of upload git LFS file api is vulnerable to arbitrary file write. Due to improper sanitization for upload path, a malicious authenticated user who has access to Harness Gitness server api can use a crafted upload request to write arbitrary file to any location on file system, may even compromise the server. Users using git LFS are vulnerable. This issue has been patched in version 3.3.0.","state":0,"publishedAt":"2025-08-29T17:44:31.852+00:00","modifiedAt":"2025-08-29T18:08:04.4+00:00","affected":[{"ecosystem":"Vendor product","name":"harness","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"harness\",\n                    \"product\": \"harness\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 3.3.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"references":["https://github.com/harness/harness/security/advisories/GHSA-w469-hj2f-jpr5","https://github.com/harness/harness/commit/21c5ce42ae13740b1cad47706c2ec85e72cc8c20"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-58158","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-58158","identifiers":["CVE-2025-58158"]},"retained":false,"historicalAffected":[]},{"revision":"a2a8827774314cf5a9f9e2cd513852f5","observedAt":"2026-11-07T02:42:12.787+00:00","statement":{"source":"euvd","id":"EUVD-2025-26231","aliases":["CVE-2025-58158","GHSA-w469-hj2f-jpr5"],"title":"Harness Open Source is an end-to-end developer platform with Source Control Management, CI/CD Pipelines, Hosted Developer Environments, and Artifact Registries. Prior to version 3.3.0, Open Source Harness git LFS server (Gitness) exposes ap…","description":"Harness Open Source is an end-to-end developer platform with Source Control Management, CI/CD Pipelines, Hosted Developer Environments, and Artifact Registries. Prior to version 3.3.0, Open Source Harness git LFS server (Gitness) exposes api to retrieve and upload files via git LFS. Implementation of upload git LFS file api is vulnerable to arbitrary file write. Due to improper sanitization for upload path, a malicious authenticated user who has access to Harness Gitness server api can use a crafted upload request to write arbitrary file to any location on file system, may even compromise the server. Users using git LFS are vulnerable. This issue has been patched in version 3.3.0.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":null}],"references":["https://github.com/harness/harness/security/advisories/GHSA-w469-hj2f-jpr5","https://github.com/harness/harness/commit/21c5ce42ae13740b1cad47706c2ec85e72cc8c20"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-26231","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Aug 29, 2025, 5:44:31 PM","dateUpdated":"Aug 29, 2025, 6:08:04 PM"},"relatedAdvisories":[{"id":"openSUSE-SU-2025:15564-1","title":"govulncheck-vulndb-0.0.20250917T170349-1.1 on GA media","vulnerabilityIds":["CVE-2025-4953","CVE-2025-54123","CVE-2025-54376","CVE-2025-58058","CVE-2025-58063","CVE-2025-58157","CVE-2025-58158","CVE-2025-58430","CVE-2025-58437","CVE-2025-58445","CVE-2025-58450","CVE-2025-59358","CVE-2025-59359","CVE-2025-59360","CVE-2025-59361","CVE-2025-7445","CVE-2025-8396","CVE-2025-9072","CVE-2025-9076","CVE-2025-9078","CVE-2025-9084"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2025-26231","identifiers":["EUVD-2025-26231","CVE-2025-58158","GHSA-w469-hj2f-jpr5"]},"retained":false,"historicalAffected":[]},{"revision":"911061e105a543cda6dae3ea86a6f322","observedAt":"2026-10-25T03:17:18.142+00:00","statement":{"source":"nvd","id":"CVE-2025-58158","aliases":[],"title":"Harness Open Source is an end-to-end developer platform with Source Control Management, CI/CD Pipelines, Hosted Developer Environments, and Artifact Registries. Prior to version 3.3.0, Open Source Harness git LFS server (Gitness) exposes ap…","description":"Harness Open Source is an end-to-end developer platform with Source Control Management, CI/CD Pipelines, Hosted Developer Environments, and Artifact Registries. Prior to version 3.3.0, Open Source Harness git LFS server (Gitness) exposes api to retrieve and upload files via git LFS. Implementation of upload git LFS file api is vulnerable to arbitrary file write. Due to improper sanitization for upload path, a malicious authenticated user who has access to Harness Gitness server api can use a crafted upload request to write arbitrary file to any location on file system, may even compromise the server. Users using git LFS are vulnerable. This issue has been patched in version 3.3.0.","state":0,"publishedAt":"2025-08-29T18:15:42.987+00:00","modifiedAt":"2026-10-19T17:10:00.173+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"references":["https://github.com/harness/harness/commit/21c5ce42ae13740b1cad47706c2ec85e72cc8c20","https://github.com/harness/harness/security/advisories/GHSA-w469-hj2f-jpr5"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-58158","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-22","CWE-73"],"productCriteria":[],"sourceDates":{"published":"2025-08-29T18:15:42.987","lastModified":"2026-10-19T17:10:00.173"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2025-58158","identifiers":["CVE-2025-58158"]},"retained":false,"historicalAffected":[]},{"revision":"25db4f9a31ce4b88a9524f33e1d51d1f","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-w469-hj2f-jpr5","aliases":["CVE-2025-58158","GO-2025-3926"],"title":"Harness Allows Arbitrary File Write in Gitness LFS server","description":"### Impact\nOpen Source Harness git LFS server (Gitness)  exposes api to retrieve and upload files via git LFS.  Implementation of upload git LFS file api is vulnerable to arbitrary file write.  Due to improper sanitization for upload path, a malicious authenticated user who has access to Harness Gitness server api can use a crafted upload request to write arbitrary file to any location on file system, may even compromise the server. \n\nUsers using git LFS are vulnerable.\n\n### Patches\nUsers have to upgrade to v3.3.0 . All previous versions are affected by this vulnerability.","state":0,"publishedAt":"2025-08-29T16:41:57+00:00","modifiedAt":"2025-09-17T17:27:12.391486+00:00","affected":[{"ecosystem":"Go","name":"github.com/harness/gitness","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.0.4"},{"kind":"fixed","version":"3.3.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/harness/gitness","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.0.4-gitspaces-beta.0.20250808064055-21c5ce42ae13"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/harness/harness/security/advisories/GHSA-w469-hj2f-jpr5","https://nvd.nist.gov/vuln/detail/CVE-2025-58158","https://github.com/harness/harness/commit/21c5ce42ae13740b1cad47706c2ec85e72cc8c20","https://github.com/harness/harness"],"sourceUrl":"https://github.com/advisories/GHSA-w469-hj2f-jpr5","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-w469-hj2f-jpr5","identifiers":["GHSA-w469-hj2f-jpr5","CVE-2025-58158","GO-2025-3926"]},"retained":false,"historicalAffected":[]},{"revision":"b2cdd55679f04a6aa0984242cf5b890b","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2025-3926","aliases":["CVE-2025-58158","GHSA-w469-hj2f-jpr5"],"title":"Harness Allows Arbitrary File Write in Gitness LFS server in github.com/harness/gitness","description":"Harness Allows Arbitrary File Write in Gitness LFS server in github.com/harness/gitness","state":0,"publishedAt":"2025-09-17T17:03:38+00:00","modifiedAt":"2025-09-17T17:27:12.391486+00:00","affected":[{"ecosystem":"Go","name":"github.com/harness/gitness","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.0.4-gitspaces-beta.0.20250808064055-21c5ce42ae13"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/harness/harness/security/advisories/GHSA-w469-hj2f-jpr5","https://github.com/harness/harness/commit/21c5ce42ae13740b1cad47706c2ec85e72cc8c20"],"sourceUrl":"https://osv.dev/vulnerability/GO-2025-3926","license":"OSV · upstream source license applies","key":"osv:GO-2025-3926","identifiers":["GO-2025-3926","CVE-2025-58158","GHSA-w469-hj2f-jpr5"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-08T22:02:16.0606753+00:00","complete":true,"records":1769,"lastAttemptAt":"2026-11-08T22:02:16.0606753+00:00","lastSuccessAt":"2026-11-08T22:02:16.2994172+00:00","error":null,"lastVerifiedAt":"2026-11-08T22:02:16.2994182+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-eaa64dac63caa79c8d4905619258c41c51b39e461b996124e1a21b5e85e7e738-5c1b3bec2d88ca854826c6481a0dc8d7444a0d42f1465638fb0ec19ea1213afc","complete":true,"records":421267,"lastAttemptAt":"2026-11-08T22:02:15.5779251+00:00","lastSuccessAt":"2026-11-08T22:02:15.4942534+00:00","error":null,"lastVerifiedAt":"2026-11-08T22:02:15.5779251+00:00","snapshotPublishedAt":"2026-11-08T21:27:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-fd9e659eac384b31b6b54c14a478a6b6","complete":true,"records":13654,"lastAttemptAt":"2026-11-08T22:02:46.9922536+00:00","lastSuccessAt":"2026-11-08T22:02:46.989+00:00","error":null,"lastVerifiedAt":"2026-11-08T22:02:46.989+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13706,"expectedIdentifiers":13706,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-08T22:02:16.0606753+00:00","complete":true,"records":1096,"lastAttemptAt":"2026-11-08T22:02:16.0606753+00:00","lastSuccessAt":"2026-11-08T22:02:16.3005264+00:00","error":null,"lastVerifiedAt":"2026-11-08T22:02:16.3005266+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-d44f9ddfc3b944cf9f918f0296ab9362","complete":true,"records":13666,"lastAttemptAt":"2026-11-08T22:02:41.4763214+00:00","lastSuccessAt":"2026-11-08T22:02:41.472+00:00","error":null,"lastVerifiedAt":"2026-11-08T22:02:41.472+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13706,"expectedIdentifiers":13706,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-980593e6977a6d1b4fb1eed5a1ffe88a468736f89f0a06f710924ad59132c023","complete":true,"records":9914,"lastAttemptAt":"2026-11-08T22:02:15.9240904+00:00","lastSuccessAt":"2026-11-08T11:07:07.068788+00:00","error":null,"lastVerifiedAt":"2026-11-08T22:02:15.9240904+00:00","snapshotPublishedAt":"2026-11-08T11:02:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-fde804134ecdda0ddd5ff5c26ee1fff5a6fa659311f7ef2e51c6ad54964db0e2","complete":true,"records":1971,"lastAttemptAt":"2026-11-08T22:02:15.7236649+00:00","lastSuccessAt":"2026-11-06T19:03:17.0399903+00:00","error":null,"lastVerifiedAt":"2026-11-08T22:02:15.7236649+00:00","snapshotPublishedAt":"2026-11-06T18:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-964c14035e6f0f6478b2870fad6a7ef9f6045876d4a12af2c2e514521e54b6af","complete":true,"records":3055,"lastAttemptAt":"2026-11-08T22:02:16.0280445+00:00","lastSuccessAt":"2026-11-08T11:07:12.1927025+00:00","error":null,"lastVerifiedAt":"2026-11-08T22:02:16.0280445+00:00","snapshotPublishedAt":"2026-11-08T11:02:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-f8647d7ba64b1ba0dfdc7130944766d5b36d5b77d18fff0c79e651a4cff3c2b9","complete":true,"records":231293,"lastAttemptAt":"2026-11-08T22:02:15.8267172+00:00","lastSuccessAt":"2026-11-08T11:06:56.2918717+00:00","error":null,"lastVerifiedAt":"2026-11-08T22:02:15.8267172+00:00","snapshotPublishedAt":"2026-11-08T11:02:50+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}